mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +01:00
Zero and return false for all failures to read block file summary...
... Though in the only place where these summaries are used, which is Sequence::GetWaveDisplay, we ignore the correctly reported error code anyway. Also RAII in management of relevant memory buffers and mutexes.
This commit is contained in:
@@ -63,7 +63,7 @@ class PROFILE_DLL_API SimpleBlockFile /* not final */ : public BlockFile {
|
||||
// Reading
|
||||
|
||||
/// Read the summary section of the disk file
|
||||
bool ReadSummary(void *data) override;
|
||||
bool ReadSummary(ArrayOf<char> &data) override;
|
||||
/// Read the data section of the disk file
|
||||
size_t ReadData(samplePtr data, sampleFormat format,
|
||||
size_t start, size_t len) const override;
|
||||
|
||||
Reference in New Issue
Block a user