Client-Side Communication ActionScript > Microphone.setUseEchoSuppression |
![]() ![]() ![]() |
Microphone.setUseEchoSuppression
Availability
![]() |
Flash Player 6. |
![]() |
Flash Communication Server MX (not required). |
Usage
activeMicrophone
.setUseEchoSuppression(suppress
)
Parameters
suppress
A Boolean value indicating whether echo suppression should be used (true
) or not (false
).
Returns
Nothing.
Description
Method; specifies whether to use the echo suppression feature of the audio codec. The default value is false
unless the user has selected Reduce Echo in the Flash Player Microphone Settings panel.
Echo suppression is an effort to reduce the effects of audio feedback, which is caused when sound going out the speaker is picked up by the microphone on the same computer. (This is different from echo cancellation, which completely removes the feedback.)
Generally, echo suppression is advisable when the sound being captured is played through speakersinstead of a headseton the same computer. If your movie allows users to specify the sound output device, you may want to call Microphone.setUseEchoSuppression
(true)
if they indicate they are using speakers and will be using the microphone as well.
Users can also adjust these settings in the Flash Player Microphone Settings panel.
Example
The following example turns on echo suppression.
_root.myMic.setUseEchoSuppression(true);
See also
Microphone.setGain
, Microphone.useEchoSuppression
![]() ![]() ![]() |