comparison data/fileio/AudioFileReaderFactory.cpp @ 844:f5cd33909744

Drop toStdString, with debug header we can stream QStrings
author Chris Cannam
date Tue, 26 Nov 2013 13:43:31 +0000
parents e802e550a1f2
children f3cda3280398 59e7fe1b1003
comparison
equal deleted inserted replaced
843:e802e550a1f2 844:f5cd33909744
314 if (reader->isOK()) { 314 if (reader->isOK()) {
315 SVDEBUG << "AudioFileReaderFactory: Reader is OK" << endl; 315 SVDEBUG << "AudioFileReaderFactory: Reader is OK" << endl;
316 return reader; 316 return reader;
317 } 317 }
318 cerr << "AudioFileReaderFactory: Preferred reader for " 318 cerr << "AudioFileReaderFactory: Preferred reader for "
319 << "url \"" << source.getLocation().toStdString() 319 << "url \"" << source.getLocation()
320 << "\" (content type \"" 320 << "\" (content type \""
321 << source.getContentType() << "\") failed"; 321 << source.getContentType() << "\") failed";
322 322
323 if (reader->getError() != "") { 323 if (reader->getError() != "") {
324 cerr << ": \"" << reader->getError() << "\""; 324 cerr << ": \"" << reader->getError() << "\"";