Quellcode durchsuchen

Small fix in ALSA openVirtualPort() to correctly save the port number.

Gary Scavone vor 11 Jahren
Ursprung
Commit
409bb15748
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      RtMidi.cpp

+ 1 - 0
RtMidi.cpp

@@ -1606,6 +1606,7 @@ void MidiInAlsa :: openVirtualPort( std::string portName )
       error( RtMidiError::DRIVER_ERROR, errorString_ );
       return;
     }
+    data->vport = snd_seq_port_info_get_port(pinfo);
   }
 
   if ( inputData_.doInput == false ) {