WebRtcAudioRecord

tee3.webrtc.audio

## 类 WebRtcAudioRecord

- java.lang.Object
- - tee3.webrtc.audio.WebRtcAudioRecord

-     public class WebRtcAudioRecord
      extends java.lang.Object

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static int` | `DEFAULT_AUDIO_SOURCE`

  - ### 构造器概要

    构造器
    构造器和说明
    `WebRtcAudioRecord(android.content.Context context, android.media.AudioManager audioManager, int audioSource, JavaAudioDeviceModule.AudioRecordErrorCallback errorCallback, JavaAudioDeviceModule.SamplesReadyCallback audioSamplesReadyCallback, boolean isAcousticEchoCancelerSupported, boolean isNoiseSuppressorSupported)`

  - ### 方法概要

    所有方法 静态方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `static int` | `getDefaultAudioSource()`
    `static void` | `setDefaultAudioSource(int defaultAudioSource)`
    `void` | `setMicrophoneMute(boolean mute)`
    `void` | `setNativeAudioRecord(long nativeAudioRecord)`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### DEFAULT_AUDIO_SOURCE

          public static int DEFAULT_AUDIO_SOURCE

  - ### 构造器详细资料

    - #### WebRtcAudioRecord

          public WebRtcAudioRecord(android.content.Context context,
                                   android.media.AudioManager audioManager,
                                   int audioSource,
                                   @Nullable
                                   JavaAudioDeviceModule.AudioRecordErrorCallback errorCallback,
                                   @Nullable
                                   JavaAudioDeviceModule.SamplesReadyCallback audioSamplesReadyCallback,
                                   boolean isAcousticEchoCancelerSupported,
                                   boolean isNoiseSuppressorSupported)

  - ### 方法详细资料

    - #### setNativeAudioRecord

          public void setNativeAudioRecord(long nativeAudioRecord)

    - #### setMicrophoneMute

          public void setMicrophoneMute(boolean mute)

    - #### getDefaultAudioSource

          public static int getDefaultAudioSource()

    - #### setDefaultAudioSource

          public static void setDefaultAudioSource(int defaultAudioSource)