Mercurial > hg > svapp
comparison audioio/AudioTargetFactory.cpp @ 228:67cea66bd588 debug-output
Remove most toStdString calls (no longer needed, with debug header)
author | Chris Cannam |
---|---|
date | Thu, 12 May 2011 17:31:56 +0100 |
parents | b774a451b093 |
children | 068235cf5bf7 |
comparison
equal
deleted
inserted
replaced
219:85e59c901de9 | 228:67cea66bd588 |
---|---|
133 #ifdef HAVE_PORTAUDIO_2_0 | 133 #ifdef HAVE_PORTAUDIO_2_0 |
134 if (m_default == "port") target = new AudioPortAudioTarget(source); | 134 if (m_default == "port") target = new AudioPortAudioTarget(source); |
135 #endif | 135 #endif |
136 | 136 |
137 if (!target || !target->isOK()) { | 137 if (!target || !target->isOK()) { |
138 std::cerr << "WARNING: AudioTargetFactory::createCallbackTarget: Failed to open the requested target (\"" << m_default.toStdString() << "\")" << std::endl; | 138 std::cerr << "WARNING: AudioTargetFactory::createCallbackTarget: Failed to open the requested target (\"" << m_default << "\")" << std::endl; |
139 delete target; | 139 delete target; |
140 return 0; | 140 return 0; |
141 } else { | 141 } else { |
142 return target; | 142 return target; |
143 } | 143 } |