W3cubDocs

/Haxe Flash

Microphone

package flash.media

extends EventDispatcher

Available on flash

Static variables

staticread onlyisSupported:Bool

staticread onlynames:Array<Dynamic>

Static methods

staticgetEnhancedMicrophone(index:Int = -1):Microphone

staticgetMicrophone(index:Int = -1):Microphone

Constructor

new()

Variables

read onlyactivityLevel:Float

codec:SoundCodec

enableVAD:Bool

encodeQuality:Int

enhancedOptions:MicrophoneEnhancedOptions

framesPerPacket:Int

gain:Float

read onlyindex:Int

read onlymuted:Bool

read onlyname:String

noiseSuppressionLevel:Int

rate:Int

read onlysilenceLevel:Float

read onlysilenceTimeout:Int

soundTransform:SoundTransform

read onlyuseEchoSuppression:Bool

Methods

setLoopBack(state:Bool = true):Void

setSilenceLevel(silenceLevel:Float, timeout:Int = -1):Void

setUseEchoSuppression(useEchoSuppression:Bool):Void

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