DecoderStream
Bounded decoder-to-output transfer on the application thread.
Constructor
function new(output:AudioOutput, decoder:AudioDecoder, sampleRate:UInt, channels:UInt, capacityFrames:UInt, options:PlayOptions)The caller retains ownership of the decoder and output.
Properties
final stream:AudioStreamvar transferredFrames(default, null):IntMethods
function pump(?maxBlocks:Int = 8):BoolTransfers at most maxBlocks decoded blocks; returns true after output drains.
function close():Void