Mercurial > hg > sonic-visualiser
diff audioio/AudioTargetFactory.cpp @ 101:a82c9952e601
* Fix crash in short spectrogram paint
* Fix incorrect apparent end point for waveforms
author | Chris Cannam |
---|---|
date | Wed, 14 Feb 2007 17:52:06 +0000 |
parents | cd5d7ff8ef38 |
children | 00309c07f7a9 |
line wrap: on
line diff
--- a/audioio/AudioTargetFactory.cpp Fri Feb 09 11:32:34 2007 +0000 +++ b/audioio/AudioTargetFactory.cpp Wed Feb 14 17:52:06 2007 +0000 @@ -54,12 +54,12 @@ #endif #ifdef HAVE_PORTAUDIO - target = new AudioPortAudioTarget(source); - if (target->isOK()) return target; - else { - std::cerr << "WARNING: AudioTargetFactory::createCallbackTarget: Failed to open PortAudio target" << std::endl; - delete target; - } +// target = new AudioPortAudioTarget(source); +// if (target->isOK()) return target; +// else { +// std::cerr << "WARNING: AudioTargetFactory::createCallbackTarget: Failed to open PortAudio target" << std::endl; +// delete target; +// } #endif std::cerr << "WARNING: AudioTargetFactory::createCallbackTarget: No suitable targets available" << std::endl;