fixes for recent waves tracks => ardour cherry-picks of the wavesaudio backend

This commit is contained in:
Paul Davis 2015-03-31 18:03:51 -04:00
parent a5fc4dc614
commit c89f24e207

View file

@ -68,8 +68,6 @@ WavesMidiDevice::~WavesMidiDevice ()
int int
WavesMidiDevice::open (PmTimeProcPtr time_proc, void* time_info) WavesMidiDevice::open (PmTimeProcPtr time_proc, void* time_info)
{ {
DEBUG_TRACE (DEBUG::WavesMIDI, string_compose ("WavesMidiDevice::open (): %1", name ()));
if (is_input () ) { if (is_input () ) {
// COMMENTED DBG LOGS */ std::cout << "WavesMidiDevice::open (): INPUT" << _pm_input_id << "-[" << name () << "]" << std::endl; // COMMENTED DBG LOGS */ std::cout << "WavesMidiDevice::open (): INPUT" << _pm_input_id << "-[" << name () << "]" << std::endl;
@ -141,9 +139,9 @@ WavesMidiDevice::open (PmTimeProcPtr time_proc, void* time_info)
return 0; return 0;
} }
void
WavesMidiDevice::close () WavesMidiDevice::close ()
{ {
DEBUG_TRACE (DEBUG::WavesMIDI, string_compose ("WavesMidiDevice::close (): %1\n", name ()));
WavesMidiEvent *waves_midi_event; WavesMidiEvent *waves_midi_event;
// save _input_pm_stream and _output_pm_stream to local buf // save _input_pm_stream and _output_pm_stream to local buf