Hydrogen - Linux Drum Machine
Main Page | Class Hierarchy | Compound List | File List | Compound Members

AlsaMidiDriver Class Reference

#include <AlsaMidiDriver.h>

Inheritance diagram for AlsaMidiDriver:

Object List of all members.

Detailed Description

AlsaMidiDriver Based on Dr Matthias Nagorni alsa sequencer example.


Public Member Functions

virtual string getClassName ()
 Return the class name.

 AlsaMidiDriver ()
 Constructor.

 ~AlsaMidiDriver ()
 Destructor.

void open ()
void close ()
void setActive (bool isActive)
void midi_action (snd_seq_t *seq_handle)
vector< MidiPortInfo > listAlsaOutputPorts ()

Private Member Functions

void noteOnEvent (snd_seq_event_t *ev)
void noteOffEvent (snd_seq_event_t *ev)
void controllerEvent (snd_seq_event_t *ev)
void sysexEvent (unsigned char *midiBuffer, int nBytes)
void playEvent ()
void stopEvent ()
void midiDump (unsigned char *buffer, int bufSize)

Private Attributes

bool active


The documentation for this class was generated from the following files:
 
 
Hydrogen (c) 2002..2003 Comix