1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-10 06:36:24 +01:00

Fix infinite loop of error messages trying to draw corrupt project...

... As reported by Steve.

Don't throw exceptions when trying only to display a track and the samples
can't be found in the database.
This commit is contained in:
Paul Licameli
2020-08-26 21:39:57 -04:00
parent 2389b191f6
commit 70175acaf4
2 changed files with 13 additions and 2 deletions

View File

@@ -58,8 +58,10 @@ public:
virtual size_t GetSampleCount() const = 0;
//! Non-throwing, should fill with zeroes on failure
virtual bool
GetSummary256(float *dest, size_t frameoffset, size_t numframes) = 0;
//! Non-throwing, should fill with zeroes on failure
virtual bool
GetSummary64k(float *dest, size_t frameoffset, size_t numframes) = 0;