1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 07:43:54 +02:00

Consume equal amounts from play ring buffers in each callback pass...

... which should be the whole framesPerBuffer normally.

Also rename another function used in producing the samples.
This commit is contained in:
Paul Licameli
2018-08-17 08:47:36 -04:00
parent 8a6351d9cd
commit 45231b8f6a
2 changed files with 35 additions and 6 deletions

View File

@@ -538,7 +538,14 @@ private:
*
* Returns the smallest of the buffer free space values in the event that
* they are different. */
size_t GetCommonlyAvailPlayback();
size_t GetCommonlyFreePlayback();
/** \brief Get the number of audio samples ready in all of the playback
* buffers.
*
* Returns the smallest of the buffer ready space values in the event that
* they are different. */
size_t GetCommonlyReadyPlayback();
/** \brief Get the number of audio samples ready in all of the recording
* buffers.