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