summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 15:08:22 +0200
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 15:08:22 +0200
commitd560182630ca9ba4f97b04e85bca963283e047d0 (patch)
tree25c69dfe47c23d0cb811581db60c61f2dd223646
parent629f7701612fa78272ba8d5ad0b6c9582ed8b831 (diff)
parentca0e6a91d0c68ad51c8945f7b1c3a06274e90339 (diff)
Merge 1.0.2 into releases
-rw-r--r--RtMidi.cpp10
-rw-r--r--RtMidi.h2
-rw-r--r--doc/doxygen/tutorial.txt2
-rw-r--r--doc/release.txt3
4 files changed, 14 insertions, 3 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()
diff --git a/RtMidi.h b/RtMidi.h
index 519213d..c33bd40 100644
--- a/RtMidi.h
+++ b/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
diff --git a/doc/doxygen/tutorial.txt b/doc/doxygen/tutorial.txt
index 3e11eaa..ca88fa7 100644
--- a/doc/doxygen/tutorial.txt
+++ b/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
diff --git a/doc/release.txt b/doc/release.txt
index d5a1139..028a2bd 100644
--- a/doc/release.txt
+++ b/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__