mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 15:53:52 +02:00
Specify whether to throw on bad read in Mixer and WaveTrackCache...
... Do throw when exporting or mixing-and-rendering; don't if playing back or drawing a spectrogram, but then just use zeroes.
This commit is contained in:
@@ -648,7 +648,8 @@ public:
|
||||
// Returns null on failure
|
||||
// Returned pointer may be invalidated if Get is called again
|
||||
// Do not DELETE[] the pointer
|
||||
constSamplePtr Get(sampleFormat format, sampleCount start, size_t len);
|
||||
constSamplePtr Get(
|
||||
sampleFormat format, sampleCount start, size_t len, bool mayThrow);
|
||||
|
||||
private:
|
||||
void Free();
|
||||
|
||||
Reference in New Issue
Block a user