diff data/midi/rtmidi/RtMidi.cpp @ 609:1a30913e26bc

* use dummy driver only for RtMidi on Solaris
author Chris Cannam
date Thu, 10 Sep 2009 19:19:21 +0000
parents 3086876472dc
children 06f13a3b9e9e
line wrap: on
line diff
--- a/data/midi/rtmidi/RtMidi.cpp	Thu Sep 10 18:44:45 2009 +0000
+++ b/data/midi/rtmidi/RtMidi.cpp	Thu Sep 10 19:19:21 2009 +0000
@@ -2193,3 +2193,72 @@
 }
 
 #endif  // __WINDOWS_MM__
+
+#ifdef __RTMIDI_DUMMY_ONLY__
+
+void RtMidiIn :: initialize( const std::string& /*clientName*/ )
+{
+}
+
+void RtMidiIn :: openPort( unsigned int portNumber, const std::string /*portName*/ )
+{
+}
+
+void RtMidiIn :: openVirtualPort( std::string portName )
+{
+}
+
+void RtMidiIn :: closePort( void )
+{
+}
+
+RtMidiIn :: ~RtMidiIn()
+{
+}
+
+unsigned int RtMidiIn :: getPortCount()
+{
+    return 0;
+}
+
+std::string RtMidiIn :: getPortName( unsigned int portNumber )
+{
+    return "";
+}
+
+unsigned int RtMidiOut :: getPortCount()
+{
+    return 0;
+}
+
+std::string RtMidiOut :: getPortName( unsigned int portNumber )
+{
+    return "";
+}
+
+void RtMidiOut :: initialize( const std::string& /*clientName*/ )
+{
+}
+
+void RtMidiOut :: openPort( unsigned int portNumber, const std::string /*portName*/ )
+{
+}
+
+void RtMidiOut :: closePort( void )
+{
+}
+
+void RtMidiOut :: openVirtualPort( std::string portName )
+{
+}
+
+RtMidiOut :: ~RtMidiOut()
+{
+}
+
+void RtMidiOut :: sendMessage( std::vector<unsigned char> *message )
+{
+}
+
+#endif __RTMIDI_DUMMY_ONLY__
+