mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-24 23:33:50 +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:
@@ -91,7 +91,7 @@ class AUDACITY_DLL_API Mixer {
|
||||
// Constructor / Destructor
|
||||
//
|
||||
|
||||
Mixer(const WaveTrackConstArray &inputTracks,
|
||||
Mixer(const WaveTrackConstArray &inputTracks, bool mayThrow,
|
||||
const WarpOptions &warpOptions,
|
||||
double startTime, double stopTime,
|
||||
unsigned numOutChannels, size_t outBufferSize, bool outInterleaved,
|
||||
@@ -183,6 +183,8 @@ class AUDACITY_DLL_API Mixer {
|
||||
double mRate;
|
||||
double mSpeed;
|
||||
bool mHighQuality;
|
||||
|
||||
bool mMayThrow;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user