comparison audioio/AudioTargetFactory.cpp @ 114:ccdc5b30e54c

* Remove PAv18 support, change PORTAUDIO to PORTAUDIO_2_0 throughout as this is what comes from PAv19's pkgconfig module name
author Chris Cannam
date Fri, 09 May 2008 15:39:42 +0000
parents 3c5756fb6a68
children 2bc8bf6d016c
comparison
equal deleted inserted replaced
113:0c1ea5ff6518 114:ccdc5b30e54c
50 else { 50 else {
51 std::cerr << "WARNING: AudioTargetFactory::createCallbackTarget: Failed to open DirectSound target" << std::endl; 51 std::cerr << "WARNING: AudioTargetFactory::createCallbackTarget: Failed to open DirectSound target" << std::endl;
52 delete target; 52 delete target;
53 } 53 }
54 #endif 54 #endif
55 55
56 #ifdef HAVE_PORTAUDIO 56 #ifdef HAVE_PORTAUDIO_2_0
57 target = new AudioPortAudioTarget(source); 57 target = new AudioPortAudioTarget(source);
58 if (target->isOK()) return target; 58 if (target->isOK()) return target;
59 else { 59 else {
60 std::cerr << "WARNING: AudioTargetFactory::createCallbackTarget: Failed to open PortAudio target" << std::endl; 60 std::cerr << "WARNING: AudioTargetFactory::createCallbackTarget: Failed to open PortAudio target" << std::endl;
61 delete target; 61 delete target;