diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2014-03-26 10:20:12 -0400 |
|---|---|---|
| committer | Gary Scavone <gary@music.mcgill.ca> | 2014-03-26 10:20:12 -0400 |
| commit | 409bb15748e6a8762d81ad4a27741f486cbd4b97 (patch) | |
| tree | ede1efbaaac1e0c0ba071cd8d4252d0b2607f081 | |
| parent | 1f11f7496aa42edb7aa12f0ad7a5e2264583a818 (diff) | |
Small fix in ALSA openVirtualPort() to correctly save the port number.
| -rw-r--r-- | RtMidi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 ) { |
