1
0
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:
Paul Licameli
2016-12-22 17:08:29 -05:00
parent 987b038fd8
commit 38b8e57e4e
7 changed files with 29 additions and 13 deletions

View File

@@ -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