Lines Matching defs:NoiseSuppressor
29 * <p>An application creates a NoiseSuppressor object to instantiate and control an NS
31 * <p>To attach the NoiseSuppressor to a particular {@link android.media.AudioRecord},
32 * specify the audio session ID of this AudioRecord when creating the NoiseSuppressor.
37 * call NoiseSuppressor.getEnable() after creating the NS to check the default NS activation
43 public class NoiseSuppressor extends AudioEffect {
45 private final static String TAG = "NoiseSuppressor";
56 * Creates a NoiseSuppressor and attaches it to the AudioRecord on the audio
58 * @param audioSession system wide unique audio session identifier. The NoiseSuppressor
60 * @return NoiseSuppressor created or null if the device does not implement noise
63 public static NoiseSuppressor create(int audioSession) {
64 NoiseSuppressor ns = null;
66 ns = new NoiseSuppressor(audioSession);
88 * @param audioSession system wide unique audio session identifier. The NoiseSuppressor
95 private NoiseSuppressor(int audioSession)