diff options
author | Chris Robinson <[email protected]> | 2018-09-30 12:08:01 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-09-30 12:08:01 -0700 |
commit | 1860b2ec8a1927ce98e516f498dbdf19419ae0a6 (patch) | |
tree | 85dab3bee6298b9c20cd6f1ca003b43fd56801cb /Alc/ALc.c | |
parent | 7ad4f753a42a4ff9c4ce2be0a848f8aaccb86454 (diff) |
Make the Compressor struct opaque
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2254,8 +2254,8 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) al_free(device->Limiter); device->Limiter = CreateDeviceLimiter(device, log10f(thrshld) * 20.0f); - device->FixedLatency += (ALuint)(device->Limiter->LookAhead * DEVICE_CLOCK_RES / - device->Frequency); + device->FixedLatency += (ALuint)(GetCompressorLookAhead(device->Limiter) * + DEVICE_CLOCK_RES / device->Frequency); } else { |