SamplePlayHandle: increment the right buffer

This commit is contained in:
Hannu Haahti
2014-07-15 11:12:04 +03:00
parent 86c8fc55e1
commit 37a90cabcf

View File

@@ -111,7 +111,7 @@ void SamplePlayHandle::play( sampleFrame * buffer )
// apply offset for the first period
if( framesDone() == 0 )
{
buffer += offset();
workingBuffer += offset();
frames -= offset();
}