diff options
Diffstat (limited to 'Alc/mmdevapi.c')
-rw-r--r-- | Alc/mmdevapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mmdevapi.c b/Alc/mmdevapi.c index d7d85a20..ba5a36d6 100644 --- a/Alc/mmdevapi.c +++ b/Alc/mmdevapi.c @@ -431,7 +431,7 @@ static HRESULT DoReset(ALCdevice *device) device->NumUpdates = (device->NumUpdates*device->UpdateSize + min_len/2) / min_len; - device->NumUpdates = __max(device->NumUpdates, 2); + device->NumUpdates = maxu(device->NumUpdates, 2); device->UpdateSize = min_len; hr = IAudioClient_Initialize(data->client, AUDCLNT_SHAREMODE_SHARED, |