tweak b7e645ec6, use session start/end position
[ardour.git] / libs / midi++2 / midi++ / port.h
index 1f85b53cd4c823e54a811548f96efe349bb00410..02cc340194b89f3a81be9dff8a85013b595c9816 100644 (file)
@@ -46,7 +46,7 @@ class LIBMIDIPP_API Port {
                IsInput = 0x1,  /* MUST MATCH JACK's JackPortIsInput */
                IsOutput = 0x2, /* MUST MATCH JACK's JackPortIsOutput */
        };
-       
+
        Port (std::string const &, Flags);
        Port (const XMLNode&);
        virtual ~Port ();
@@ -75,7 +75,7 @@ class LIBMIDIPP_API Port {
         * executes any part of a JACK process callback (will
         * simply return immediately in that situation).
         */
-       virtual void drain (int /* check_interval_usecs */) {}
+       virtual void drain (int /* check_interval_usecs */, int /* total_usecs_to_wait */) {}
 
        /** Write a message to port.
         * @return true on success.
@@ -99,11 +99,11 @@ class LIBMIDIPP_API Port {
        Channel *channel (channel_t chn) {
                return _channel[chn&0x7F];
        }
-       
+
        Parser* parser () {
                return _parser;
        }
-       
+
        const char *name () const   { return _tagname.c_str(); }
        bool   ok ()   const        { return _ok; }