We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0af14c7 commit ef2f237Copy full SHA for ef2f237
Alc/backends/mmdevapi.c
@@ -535,8 +535,9 @@ static HRESULT DoReset(ALCdevice *device)
535
device->NumUpdates = buffer_len / device->UpdateSize;
536
if(device->NumUpdates <= 1)
537
{
538
- device->NumUpdates = 1;
539
ERR("Audio client returned buffer_len < period*2; expect break up\n");
+ device->NumUpdates = 2;
540
+ device->UpdateSize = buffer_len / device->NumUpdates;
541
}
542
543
return hr;
0 commit comments