AudioMetrics
Constructor
function new(state:AudioState, error:String, renderedFrames:Int64, activeVoices:UInt, starvedFrames:Int64, clippedSamples:Int64, peak:Float, device:String, deviceRate:UInt, deviceChannels:UInt, latencySeconds:Float, callbacks:Int64, xruns:Int64, event:AudioDeviceEvent)Parameter: latencySeconds Backend timestamp estimate plus queued renderer frames; zero until known.
Static methods
function hxnRead(input:BytesInput):AudioMetricsReads what the library wrote.
Properties
var state:AudioStatevar error:Stringvar renderedFrames:Int64var activeVoices:UIntvar starvedFrames:Int64var clippedSamples:Int64var peak:Floatvar device:Stringvar deviceRate:UIntvar deviceChannels:UIntvar latencySeconds:FloatBackend timestamp estimate plus queued renderer frames; zero until known.
var callbacks:Int64var xruns:Int64var event:AudioDeviceEventMethods
function hxnWrite(out:BytesBuffer):VoidWrites the fields in order, as the library reads them.