Mercurial > hg > sonic-visualiser
comparison audioio/AudioTargetFactory.cpp @ 102:00309c07f7a9
...
author | Chris Cannam |
---|---|
date | Fri, 16 Feb 2007 13:00:17 +0000 |
parents | a82c9952e601 |
children |
comparison
equal
deleted
inserted
replaced
101:a82c9952e601 | 102:00309c07f7a9 |
---|---|
52 delete target; | 52 delete target; |
53 } | 53 } |
54 #endif | 54 #endif |
55 | 55 |
56 #ifdef HAVE_PORTAUDIO | 56 #ifdef HAVE_PORTAUDIO |
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; |
62 // } | 62 } |
63 #endif | 63 #endif |
64 | 64 |
65 std::cerr << "WARNING: AudioTargetFactory::createCallbackTarget: No suitable targets available" << std::endl; | 65 std::cerr << "WARNING: AudioTargetFactory::createCallbackTarget: No suitable targets available" << std::endl; |
66 return 0; | 66 return 0; |
67 } | 67 } |