PageRenderTime 11ms CodeModel.GetById 1ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/bin/std/flash9/media/Microphone.hx

http://github.com/Yoomee/clippy
Haxe | 26 lines | 24 code | 2 blank | 0 comment | 0 complexity | c73e972b12f9936a919c28876442a94d MD5 | raw file
 1package flash.media;
 2
 3extern class Microphone extends flash.events.EventDispatcher {
 4	var activityLevel(default,null) : Float;
 5	var gain : Float;
 6	var index(default,null) : Int;
 7	var muted(default,null) : Bool;
 8	var name(default,null) : String;
 9	var rate : Int;
10	var silenceLevel(default,null) : Float;
11	var silenceTimeout(default,null) : Int;
12	var soundTransform : SoundTransform;
13	var useEchoSuppression(default,null) : Bool;
14	#if flash10
15	var codec : SoundCodec;
16	var encodeQuality : Int;
17	var framesPerPacket : Int;
18	#end
19
20	function new() : Void;
21	function setLoopBack(?state : Bool) : Void;
22	function setSilenceLevel(silenceLevel : Float, ?timeout : Int) : Void;
23	function setUseEchoSuppression(useEchoSuppression : Bool) : Void;
24	static var names(default,null) : Array<Dynamic>;
25	static function getMicrophone(?index : Int) : Microphone;
26}