182 |
Ports.clear(); |
Ports.clear(); |
183 |
|
|
184 |
JackClient::ReleaseMidi(((DeviceCreationParameterString*)Parameters["NAME"])->ValueAsString()); |
JackClient::ReleaseMidi(((DeviceCreationParameterString*)Parameters["NAME"])->ValueAsString()); |
185 |
existingJackDevices--; |
existingJackDevices--; //FIXME: this is too simple, can lead to multiple clients with the same name |
186 |
} |
} |
187 |
|
|
188 |
MidiInputDeviceJack::MidiInputPortJack* MidiInputDeviceJack::CreateMidiPort() { |
MidiInputDeviceJack::MidiInputPortJack* MidiInputDeviceJack::CreateMidiPort() { |
210 |
} |
} |
211 |
|
|
212 |
String MidiInputDeviceJack::Version() { |
String MidiInputDeviceJack::Version() { |
213 |
String s = "$Revision: 1.3 $"; |
String s = "$Revision: 1.4 $"; |
214 |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
215 |
} |
} |
216 |
|
|