瀏覽代碼

Merge pull request #5 from drewish/jack-error-messages

Correct some error messages in the Jack code
garyscavone 11 年之前
父節點
當前提交
f62b96feed
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      RtMidi.cpp

+ 2 - 2
RtMidi.cpp

@@ -3509,7 +3509,7 @@ void MidiInJack :: openPort( unsigned int portNumber, const std::string portName
                                      JACK_DEFAULT_MIDI_TYPE, JackPortIsInput, 0 );
 
   if ( data->port == NULL) {
-    errorString_ = "MidiInJack::openVirtualPort: JACK error creating virtual port";
+    errorString_ = "MidiInJack::openPort: JACK error creating port";
     RtMidi::error( RtError::DRIVER_ERROR, errorString_ );
   }
 
@@ -3664,7 +3664,7 @@ void MidiOutJack :: openPort( unsigned int portNumber, const std::string portNam
       JACK_DEFAULT_MIDI_TYPE, JackPortIsOutput, 0 );
 
   if ( data->port == NULL ) {
-    errorString_ = "MidiOutJack::openVirtualPort: JACK error creating virtual port";
+    errorString_ = "MidiOutJack::openPort: JACK error creating port";
     RtMidi::error( RtError::DRIVER_ERROR, errorString_ );
   }