mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 00:29:41 +02:00
Insert zeroes only if dropout detection is enabled
This commit is contained in:
parent
130e55cdf5
commit
e066c4f38d
@ -5240,7 +5240,8 @@ int audacityAudioCallback(const void *inputBuffer, void *outputBuffer,
|
||||
}
|
||||
}
|
||||
|
||||
if (len < framesPerBuffer) {
|
||||
if (gAudioIO->mDetectDropouts &&
|
||||
len < framesPerBuffer) {
|
||||
for(unsigned t = 0; t < numCaptureChannels; t++) {
|
||||
// Get here probably because of failure to keep up with real
|
||||
// time, causing loss of input samples.
|
||||
|
Loading…
x
Reference in New Issue
Block a user