State

class State(var running: Boolean, val channel: Channel<ByteArray>)

Callback-visible state. running mirrors Apple's mIsRunning flag from the Audio Queue Services Programming Guide (Recording Audio, Listing 2-5 / 2-14): the input callback must return without enqueueing when the flag is clear.

Constructors

Link copied to clipboard
constructor(running: Boolean, channel: Channel<ByteArray>)

Properties

Link copied to clipboard
val channel: Channel<ByteArray>
Link copied to clipboard