Use a proper literal type

This commit is contained in:
Chris Robinson 2022-06-07 01:00:21 -07:00
parent 862628966d
commit 86d1eb90ed

View File

@ -637,7 +637,7 @@ void Voice::mix(const State vstate, ContextBase *Context, const uint SamplesToDo
{
SrcBufferSize = SrcBufferSize - PostPadding + MaxResamplerEdge;
mDecoder->decode(MixingSamples, SrcBufferSize,
likely(vstate == Playing) ? srcOffset : 0.0f);
likely(vstate == Playing) ? srcOffset : 0);
}
/* Store the last source samples used for next time. */
if(likely(vstate == Playing))