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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user