diff options
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/backends/coreaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/coreaudio.c b/Alc/backends/coreaudio.c index cde3d505..24aeabd4 100644 --- a/Alc/backends/coreaudio.c +++ b/Alc/backends/coreaudio.c @@ -238,7 +238,7 @@ static ALCboolean ca_reset_playback(ALCdevice *device) if(device->Frequency != streamFormat.mSampleRate) { - device->UpdateSize = (ALuint)((ALuint64)device->UpdateSize * + device->NumUpdates = (ALuint)((ALuint64)device->NumUpdates * streamFormat.mSampleRate / device->Frequency); device->Frequency = streamFormat.mSampleRate; |