changeset 102:00309c07f7a9

...
author Chris Cannam
date Fri, 16 Feb 2007 13:00:17 +0000
parents a82c9952e601
children 99d44871334b
files audioio/AudioTargetFactory.cpp
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/audioio/AudioTargetFactory.cpp	Wed Feb 14 17:52:06 2007 +0000
+++ b/audioio/AudioTargetFactory.cpp	Fri Feb 16 13:00:17 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;