Skip to content

Commit 9e46fef

Browse files
committed
fixup! callbackProcessDrift: in case of underruns, sleep before writing silence
1 parent d3ae082 commit 9e46fef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/soundio/sounddeviceportaudio.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ int SoundDevicePortAudio::callbackProcessDrift(
811811

812812
// In case of delayed engine calls we do not immediately write audible
813813
// silence. Instead we sleep a bit, but return always before the time
814-
// of a whole cunk expires. It turns out that a real hw underflow has a
814+
// of a whole chunk expires. It turns out that a real hw underflow has a
815815
// bigger impact than silence padding in Mixxx
816816
// sound API has its own measure to deal with the second.
817817
constexpr double kMaxSleepchunks = 0.5;

0 commit comments

Comments
 (0)