1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 07:13:49 +01:00

Use wxPrintf not printf

This commit is contained in:
Paul Licameli
2017-10-09 00:37:10 -04:00
parent cd06c04fa0
commit 4d978bcefb
25 changed files with 134 additions and 132 deletions

View File

@@ -344,7 +344,7 @@ int ODDecodeBlockFile::WriteODDecodeBlockFile()
ret = mDecoder->Decode(sampleData, mFormat, mAliasStart, mLen, mAliasChannel);
if(ret < 0) {
printf("ODDecodeBlockFile Decode failure\n");
wxPrintf("ODDecodeBlockFile Decode failure\n");
return ret; //failure
}
}

View File

@@ -411,7 +411,7 @@ void ODPCMAliasBlockFile::WriteSummary()
// Never silence the Log w.r.t write errors; they always count
//however, this is going to be called from a non-main thread,
//and wxLog calls are not thread safe.
printf("Unable to write summary data to file: %s", fileNameChar.get());
wxPrintf("Unable to write summary data to file: %s", fileNameChar.get());
throw FileException{
FileException::Cause::Read, wxFileName{ fileNameChar.get() } };
@@ -426,7 +426,7 @@ void ODPCMAliasBlockFile::WriteSummary()
fclose(summaryFile);
// printf("write successful. filename: %s\n", fileNameChar);
// wxPrintf("write successful. filename: %s\n", fileNameChar);
mSummaryAvailableMutex.Lock();
mSummaryAvailable=true;