summaryrefslogtreecommitdiff
path: root/RtMidi.cpp
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2013-10-11 14:49:10 +0200
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 14:49:10 +0200
commitca0e6a91d0c68ad51c8945f7b1c3a06274e90339 (patch)
tree0b01675c798257738c3b5558ee71eeb9159f3162 /RtMidi.cpp
parent2cdb58f8b2cd61f3aedb4e3bd9f65244f058d54b (diff)
Version 1.0.2
Diffstat (limited to 'RtMidi.cpp')
-rw-r--r--RtMidi.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/RtMidi.cpp b/RtMidi.cpp
index a61e3ab..6c0f9b2 100644
--- a/RtMidi.cpp
+++ b/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()