Flash Media Server |
|||
| Client-Side ActionScript Language Reference for Flash Media Server 2 > Client-Side ActionScript Language Reference > Microphone class > Microphone.rate | |||
public rate : Number [read-only]
Property (read-only); the rate at which the microphone is capturing sound, in kHz. The default value is 8 kHz if your sound capture device supports this value. Otherwise, the default value is the next available capture level above 8 kHz that your sound capture device supports, usually 11 kHz.
To set this value, use Microphone.setRate().
The following example saves the current rate to the variable original:
var active_mic:Microphone = Microphone.get(); var original:Number = active_mic.rate;
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/fms/2/docs/00000560.html