require new JACK API; fix inheritance bug in AudioRegion::verify_*()
[ardour.git] / libs / midi++2 / midi++ / alsa_sequencer.h
index 8ddb2a7dd7539011962a6e8df475b741d700a9db..7fe880fe636e025a76e6c83b143c5c7525725117 100644 (file)
@@ -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 */