aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/voice.cpp2
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))