1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-05 06:01:04 +01:00

Bug1829, more: check all errors flushing and closing export files...

... MP3 export already did this, the other five needed work.
This commit is contained in:
Paul Licameli
2018-01-22 14:52:27 -05:00
parent b3b4ace739
commit 38568f611d
11 changed files with 104 additions and 17 deletions

View File

@@ -32,7 +32,7 @@ class FileIO
bool IsOpened();
void Close();
bool Close();
wxInputStream & Read(void *buffer, size_t size);
wxOutputStream & Write(const void *buffer, size_t size);
@@ -41,7 +41,7 @@ class FileIO
wxString mName;
FileIOMode mMode;
std::unique_ptr<wxInputStream> mInputStream;
std::unique_ptr<wxOutputStream> mOutputStream;
std::unique_ptr<wxFFileOutputStream> mOutputStream;
bool mOpen;
};