hxn

Av

Copies decoder PCM on the application thread, outside the render callback.

Static methods

function copy(data:AudioData):Bytes

Converts through hxn-av's existing sample-format and planar conversion.

function buffer(data:AudioData):AudioBuffer
function stream(output:AudioOutput, data:AudioData, capacityFrames:UInt, options:PlayOptions):AudioStream

Creates a stream matching the first decoded block; callers retain EOF.