diff data/midi/rtmidi/RtMidi.h @ 562:ecce042cc374

* Wire up MIDI input port (as far as printing a message when an event comes in, anyway)
author Chris Cannam
date Mon, 23 Feb 2009 17:50:17 +0000
parents 32d156c75df7
children 3086876472dc
line wrap: on
line diff
--- a/data/midi/rtmidi/RtMidi.h	Mon Feb 23 14:40:17 2009 +0000
+++ b/data/midi/rtmidi/RtMidi.h	Mon Feb 23 17:50:17 2009 +0000
@@ -109,7 +109,7 @@
   /*!
       An exception will be thrown if a MIDI system initialization error occurs.
   */
-  RtMidiIn();
+  RtMidiIn(std::string inputName = std::string("RtMidi Input Client"));
 
   //! If a MIDI connection is still open, it will be closed by the destructor.
   ~RtMidiIn();
@@ -217,7 +217,7 @@
 
  private:
 
-  void initialize( void );
+  void initialize(std::string name);
   RtMidiInData inputData_;
 
 };
@@ -244,7 +244,7 @@
   /*!
       An exception will be thrown if a MIDI system initialization error occurs.
   */
-  RtMidiOut();
+  RtMidiOut(std::string outputName = "RtMidi Output Client");
 
   //! The destructor closes any open MIDI connections.
   ~RtMidiOut();
@@ -290,7 +290,7 @@
 
  private:
 
-  void initialize( void );
+  void initialize(std::string name);
 };
 
 #endif