diff options
Diffstat (limited to 'libs/backends/wavesaudio/waves_midi_device.cc')
-rw-r--r-- | libs/backends/wavesaudio/waves_midi_device.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/backends/wavesaudio/waves_midi_device.cc b/libs/backends/wavesaudio/waves_midi_device.cc index 47f69da794..e9f0065abf 100644 --- a/libs/backends/wavesaudio/waves_midi_device.cc +++ b/libs/backends/wavesaudio/waves_midi_device.cc @@ -47,11 +47,11 @@ WavesMidiDevice::WavesMidiDevice (const std::string& device_name) { _pm_input_id = _pm_output_id = pmNoDevice; int count = Pm_CountDevices (); - + for (int i = 0; i < count; i++) { - + const PmDeviceInfo* pm_device_info = Pm_GetDeviceInfo (i); - + if (pm_device_info == NULL) { continue; } @@ -79,7 +79,7 @@ WavesMidiDevice::open (PmTimeProcPtr time_proc, void* time_info) if (is_input () ) { // COMMENTED DBG LOGS */ std::cout << "WavesMidiDevice::open (): INPUT" << _pm_input_id << "-[" << name () << "]" << std::endl; - + if (!_input_pm_stream) { // create queue if (!_input_queue) { @@ -181,7 +181,7 @@ WavesMidiDevice::close () _input_queue = NULL; } - // output + // output if ( output_pm_stream ) { // close stream PmError err = Pm_Close (output_pm_stream); |