Browse Source

Version 1.0.2

Gary Scavone 11 years ago
parent
commit
ca0e6a91d0
4 changed files with 14 additions and 3 deletions
  1. 9 1
      RtMidi.cpp
  2. 1 1
      RtMidi.h
  3. 1 1
      doc/doxygen/tutorial.txt
  4. 3 0
      doc/release.txt

+ 9 - 1
RtMidi.cpp

@@ -35,7 +35,7 @@
 */
 /**********************************************************************/
 
-// RtMidi: Version 1.0.1, 20 September 2004
+// RtMidi: Version 1.0.2, 21 September 2004
 
 #include "RtMidi.h"
 #include <sstream>
@@ -1409,6 +1409,8 @@ void RtMidiIn :: openPort( unsigned int portNumber )
 void RtMidiIn :: openVirtualPort()
 {
   // This function cannot be implemented for the Irix MIDI API.
+  errorString_ = "RtMidiIn::openVirtualPort: cannot be implemented in Irix MIDI API!";
+  error( RtError::WARNING );
 }
 
 void RtMidiIn :: closePort( void )
@@ -1540,6 +1542,8 @@ void RtMidiOut :: closePort( void )
 void RtMidiOut :: openVirtualPort()
 {
   // This function cannot be implemented for the Irix MIDI API.
+  errorString_ = "RtMidiOut::openVirtualPort: cannot be implemented in Irix MIDI API!";
+  error( RtError::WARNING );
 }
 
 RtMidiOut :: ~RtMidiOut()
@@ -1749,6 +1753,8 @@ void RtMidiIn :: openPort( unsigned int portNumber )
 void RtMidiIn :: openVirtualPort()
 {
   // This function cannot be implemented for the Windows MM MIDI API.
+  errorString_ = "RtMidiIn::openVirtualPort: cannot be implemented in Windows MM MIDI API!";
+  error( RtError::WARNING );
 }
 
 void RtMidiIn :: closePort( void )
@@ -1884,6 +1890,8 @@ void RtMidiOut :: closePort( void )
 void RtMidiOut :: openVirtualPort()
 {
   // This function cannot be implemented for the Windows MM MIDI API.
+  errorString_ = "RtMidiOut::openVirtualPort: cannot be implemented in Windows MM MIDI API!";
+  error( RtError::WARNING );
 }
 
 RtMidiOut :: ~RtMidiOut()

+ 1 - 1
RtMidi.h

@@ -35,7 +35,7 @@
 */
 /**********************************************************************/
 
-// RtMidi: Version 1.0.1, 20 September 2004
+// RtMidi: Version 1.0.2, 21 September 2004
 
 #ifndef RTMIDI_H
 #define RTMIDI_H

+ 1 - 1
doc/doxygen/tutorial.txt

@@ -19,7 +19,7 @@ MIDI input and output functionality are separated into two classes, RtMidiIn and
 
 \section download Download
 
-Latest Release (20 September 2004): <A href="http://music.mcgill.ca/~gary/rtmidi/release/rtmidi-1.0.1.tar.gz">Version 1.0.1 (111 kB tar/gzipped)</A>
+Latest Release (21 September 2004): <A href="http://music.mcgill.ca/~gary/rtmidi/release/rtmidi-1.0.2.tar.gz">Version 1.0.2 (111 kB tar/gzipped)</A>
 
 \section start Getting Started
 

+ 3 - 0
doc/release.txt

@@ -2,6 +2,9 @@ RtMidi - a set of C++ classes which provide a common API for realtime MIDI input
 
 By Gary P. Scavone, 2003-2004.
 
+v1.0.2: (21 September 2004)
+- added warning messages to openVirtualPort() functions in Windows and Irix (where it can't be implemented)
+
 v1.0.1: (20 September 2004)
 - changed ALSA preprocessor definition to __LINUX_ALSASEQ__