AudioVoice
Static methods
function hxnAdopt(hxnRaw:Handle):AudioVoiceAn object for a value the library returned.
Properties
var hxnRaw:HandleMethods
function stop():Voidfunction setGain(gain:Float):Voidfunction setPan(pan:Float):Voidfunction setRate(rate:Float):Voidfunction finished():Boolfunction setBus(bus:AudioBus):Voidfunction positionSeconds():Floatfunction same(other:Null<AudioVoice>):BoolWhether other holds the value this does. Two objects can: each time the library returns the value, a new object gets a share of it.
function weak():AudioVoiceWeakA reference to the value that does not keep it alive.
function close():VoidGives up this object's share of the value now. The collector does it otherwise. The value lives while anything else holds a share. Using this object afterwards throws.