New issue 82 by sekati: MicrophoneDevice SoundCodec Support
http://code.google.com/p/sekati/issues/detail?id=82
Purpose of the enhancement request:
Include getter/setter support for microphone codecs.
Would this request break the existing API, add new functionality or both?
Add new functionality
Please use labels, example code and attachments to provide additional info:
currently to switch codecs you must do something like:
var mic : MicrophoneDevice = new MicrophoneDevice( );
mic.microphone.codec = SoundCodec.SPEEX;
but it would be much nicer to simple do:
mic.codec = SoundCodec.SPEEX;
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Comment #1 on issue 82 by sekati: MicrophoneDevice SoundCodec Support
http://code.google.com/p/sekati/issues/detail?id=82
To maintain Flash9 compatibility the codec, encodeQuality and
framesPerPacket property wrappers will not be
built in to the MicrophoneDevice class (as these were only introduced in
F10).
You may still access these in flash10 compiled API SWF's by using:
var mic : MicrophoneDevice = new MicrophoneDevice();
mic.microphone.codec = SoundCodec.SPEEX;
mic.microphone. encodeQuality = 6;
mic.microphone.framesPerPacket = 1;