mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 16:16:33 +01:00
As in commit r11447, put a wxASSERT on result of SimpleBlockFile::WriteSimpleBlockFile() in ODDecodeBlockFile::WriteODDecodeBlockFile.
This commit is contained in:
@@ -330,11 +330,13 @@ int ODDecodeBlockFile::WriteODDecodeBlockFile()
|
|||||||
//the summary is also calculated here.
|
//the summary is also calculated here.
|
||||||
mFileNameMutex.Lock();
|
mFileNameMutex.Lock();
|
||||||
//TODO: we may need to write a version of WriteSimpleBlockFile that uses threadsafe FILE vs wxFile
|
//TODO: we may need to write a version of WriteSimpleBlockFile that uses threadsafe FILE vs wxFile
|
||||||
WriteSimpleBlockFile(
|
bool bSuccess =
|
||||||
sampleData,
|
WriteSimpleBlockFile(
|
||||||
mLen,
|
sampleData,
|
||||||
mFormat,
|
mLen,
|
||||||
NULL);//summaryData);
|
mFormat,
|
||||||
|
NULL);//summaryData);
|
||||||
|
wxASSERT(bSuccess); // TO-DO: Handle failure here by alert to user and undo partial op.
|
||||||
|
|
||||||
mFileNameMutex.Unlock();
|
mFileNameMutex.Unlock();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user