mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 09:14:04 +02:00
Merge branch 'dev' into dev-0.12
This commit is contained in:
@@ -19244,6 +19244,11 @@ static void ma_device__handle_data_callback(ma_device* pDevice, void* pFramesOut
|
||||
}
|
||||
}
|
||||
ma_device_restore_denormals(pDevice, prevDenormalState);
|
||||
} else {
|
||||
/* No data callback. Just silence the output. */
|
||||
if (pFramesOut != NULL) {
|
||||
ma_silence_pcm_frames(pFramesOut, frameCount, pDevice->playback.format, pDevice->playback.channels);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user