From 86d1eb90edbf54789b82870bbd354220a222adff Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 7 Jun 2022 01:00:21 -0700 Subject: [PATCH] Use a proper literal type --- core/voice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/voice.cpp b/core/voice.cpp index 6001fcac..ed6c9bf8 100644 --- a/core/voice.cpp +++ b/core/voice.cpp @@ -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))