along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id$
*/
#ifndef __alsa_sequencer_midiport_h__
protected:
/* Direct I/O */
-
- int write (byte *msg, size_t msglen);
- int read (byte *buf, size_t max);
+ int write (byte *msg, size_t msglen, timestamp_t timestamp);
+ int read (byte *buf, size_t max, timestamp_t timestamp);
private:
- snd_seq_t *seq;
snd_midi_event_t *decoder, *encoder;
int port_id;
snd_seq_event_t SEv;
+
int CreatePorts(PortRequest &req);
+ static int init_client (std::string name);
+ static snd_seq_t* seq;
};
}; /* namespace MIDI */