Avoid a function call to get the frame step

This commit is contained in:
Chris Robinson 2020-04-13 23:36:05 -07:00
parent 02d7fbfa0c
commit 7f81eec1a6

View File

@ -111,7 +111,7 @@ int PortPlayback::writeCallback(const void*, void *outputBuffer, unsigned long f
const PaStreamCallbackTimeInfo*, const PaStreamCallbackFlags) noexcept
{
aluMixData(mDevice, outputBuffer, static_cast<ALuint>(framesPerBuffer),
mDevice->channelsFromFmt());
static_cast<ALuint>(mParams.channelCount));
return 0;
}