State

class State(var running: Boolean, var enqueueEnabled: Boolean = true, val availableBuffers: Channel<AudioQueueBufferRef>)

Callback-visible state.

running is cleared only on stop/dispose (markNotRunning closes the pool). enqueueEnabled is the seek-quiesce flag: during seek, callbacks still return buffers to the open pool but must not refill/enqueue. Seek must NOT clear running or close availableBuffers (that starves re-prime after Stop).

Constructors

Link copied to clipboard
constructor(running: Boolean, enqueueEnabled: Boolean = true, availableBuffers: Channel<AudioQueueBufferRef>)

Properties

Link copied to clipboard
val availableBuffers: Channel<AudioQueueBufferRef>
Link copied to clipboard
Link copied to clipboard

Bytes enqueued via the transport sink that the queue has not played back yet.

Link copied to clipboard