diff options
author | Chris Robinson <[email protected]> | 2022-06-07 01:00:21 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-06-07 01:00:21 -0700 |
commit | 86d1eb90edbf54789b82870bbd354220a222adff (patch) | |
tree | 9629255c51487406266dc05cb537a19732e5458a | |
parent | 862628966dc3fd61efb04baa9ac285719af107d2 (diff) |
Use a proper literal type
-rw-r--r-- | core/voice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |