diff options
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r-- | Alc/alc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp index eb6269ec..6d09b118 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -1937,7 +1937,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) num_chans*sizeof(device->MixBuffer[0])); device->MixBuffer.resize(num_chans); - device->Dry.Buffer = &reinterpret_cast<ALfloat(&)[BUFFERSIZE]>(device->MixBuffer[0]); + device->Dry.Buffer = device->MixBuffer.data(); if(device->RealOut.NumChannels != 0) device->RealOut.Buffer = device->Dry.Buffer + device->Dry.NumChannels; else |