X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fmidi%2B%2B2%2Fmidi%2B%2B%2Falsa_sequencer.h;h=7fe880fe636e025a76e6c83b143c5c7525725117;hb=5183f9b77296d567e36007ef6ae0f3d9bd66bbff;hp=8ddb2a7dd7539011962a6e8df475b741d700a9db;hpb=d09f6b3016bacbc2871a8946cbb24ad705076509;p=ardour.git diff --git a/libs/midi++2/midi++/alsa_sequencer.h b/libs/midi++2/midi++/alsa_sequencer.h index 8ddb2a7dd7..7fe880fe63 100644 --- a/libs/midi++2/midi++/alsa_sequencer.h +++ b/libs/midi++2/midi++/alsa_sequencer.h @@ -14,7 +14,6 @@ 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__ @@ -44,17 +43,18 @@ class ALSA_SequencerMidiPort : public Port 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 */