diff --git a/src/core/SamplePlayHandle.cpp b/src/core/SamplePlayHandle.cpp index 14958904b..c29552d09 100644 --- a/src/core/SamplePlayHandle.cpp +++ b/src/core/SamplePlayHandle.cpp @@ -111,6 +111,7 @@ void SamplePlayHandle::play( sampleFrame * buffer ) // apply offset for the first period if( framesDone() == 0 ) { + memset( buffer, 0, sizeof( sampleFrame ) * offset() ); workingBuffer += offset(); frames -= offset(); }