Avoid a function call to get the frame step
This commit is contained in:
parent
02d7fbfa0c
commit
7f81eec1a6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user