W3cubDocs

/Haxe Flash

Microphone

package flash.media

extends EventDispatcher

@:final Available on flash

Constructor

new ()

Variables

read only activityLevel:Float

@:require(flash10) codec:SoundCodec

@:require(flash10_1) enableVAD:Bool

@:require(flash10) encodeQuality:Int

@:require(flash10_2) enhancedOptions:MicrophoneEnhancedOptions

@:require(flash10) framesPerPacket:Int

gain:Float

read only index:Int

read only muted:Bool

read only name:String

@:require(flash10_1) noiseSuppressionLevel:Int

rate:Int

read only silenceLevel:Float

read only silenceTimeout:Int

soundTransform:SoundTransform

read only useEchoSuppression:Bool

Methods

@:value({ state : true }) setLoopBack (state:Bool = true):Void

@:value({ timeout : -1 }) setSilenceLevel (silenceLevel:Float, timeout:Int = -1):Void

setUseEchoSuppression (useEchoSuppression:Bool):Void

Static variables

@:require(flash10_1) static read only isSupported:Bool

static read only names:Array<Dynamic>

Static methods

@:value({ index : -1 }) @:require(flash10_2) static getEnhancedMicrophone (index:Int = -1):Microphone

@:value({ index : -1 }) static getMicrophone (index:Int = -1):Microphone

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/media/Microphone.html