Mercurial > hg > svapp
diff audio/AudioCallbackPlaySource.h @ 473:c6094bca34f4 bqaudioio
Avoid playing repeated buffer while re-seeking
author | Chris Cannam |
---|---|
date | Wed, 05 Aug 2015 09:42:25 +0100 |
parents | 56acd9368532 |
children | f93820d36cb0 |
line wrap: on
line diff
--- a/audio/AudioCallbackPlaySource.h Tue Aug 04 13:27:42 2015 +0100 +++ b/audio/AudioCallbackPlaySource.h Wed Aug 05 09:42:25 2015 +0100 @@ -219,7 +219,7 @@ * audio data, in all channels. This may safely be called from a * realtime thread. */ - virtual void getSourceSamples(int count, float **buffer); + virtual int getSourceSamples(int count, float **buffer); /** * Set the time stretcher factor (i.e. playback speed).