mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 07:43:54 +02:00
Split out AudioIO::AllocateBuffers
This commit is contained in:
@@ -581,6 +581,16 @@ private:
|
||||
/** \brief How many sample rates to try */
|
||||
static const int NumRatesToTry;
|
||||
|
||||
/** \brief Allocate RingBuffer structures, and others, needed for playback
|
||||
* and recording.
|
||||
*
|
||||
* Returns true iff successful.
|
||||
*/
|
||||
bool AllocateBuffers(
|
||||
const AudioIOStartStreamOptions &options,
|
||||
const TransportTracks &tracks, double t0, double t1, double sampleRate,
|
||||
bool scrubbing );
|
||||
|
||||
/** \brief Clean up after StartStream if it fails.
|
||||
*
|
||||
* If bOnlyBuffers is specified, it only cleans up the buffers. */
|
||||
|
||||
Reference in New Issue
Block a user