LegacyAudioDeviceModule

tee3.webrtc.audio

## 类 LegacyAudioDeviceModule

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

- 所有已实现的接口:
    AudioDeviceModule

  已过时。

      @Deprecated
      public class LegacyAudioDeviceModule
      extends java.lang.Object
      implements AudioDeviceModule

  This class represents the legacy AudioDeviceModule that is currently hardcoded into C++ WebRTC. It will return a null native AudioDeviceModule pointer, leading to an internal object being created inside WebRTC that is controlled by static calls to the classes under the voiceengine package. Please use the new JavaAudioDeviceModule instead of this class.

- - ### 构造器概要

    构造器
    构造器和说明
    `LegacyAudioDeviceModule()` 已过时。

  - ### 方法概要

    所有方法 实例方法 具体方法 已过时的方法
    限定符和类型 | 方法和说明
    --- | ---
    `long` | `getNativeAudioDeviceModulePointer()` 已过时。 Returns a C++ pointer to a webrtc::AudioDeviceModule.
    `void` | `release()` 已过时。 Release resources for this AudioDeviceModule, including native resources.
    `void` | `setMicrophoneMute(boolean mute)` 已过时。 Control muting/unmuting the microphone.
    `void` | `setSpeakerMute(boolean mute)` 已过时。 Control muting/unmuting the speaker.

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

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

- - ### 构造器详细资料

    - #### LegacyAudioDeviceModule

          public LegacyAudioDeviceModule()

      已过时。

  - ### 方法详细资料

    - #### getNativeAudioDeviceModulePointer

          public long getNativeAudioDeviceModulePointer()

      已过时。
      从接口复制的说明: `AudioDeviceModule`
      Returns a C++ pointer to a webrtc::AudioDeviceModule. Caller does _not_ take ownership and lifetime is handled through the release() call.
      指定者:
        `getNativeAudioDeviceModulePointer` 在接口中 `AudioDeviceModule`

    - #### release

          public void release()

      已过时。
      从接口复制的说明: `AudioDeviceModule`
      Release resources for this AudioDeviceModule, including native resources. The object should not be used after this call.
      指定者:
        `release` 在接口中 `AudioDeviceModule`

    - #### setSpeakerMute

          public void setSpeakerMute(boolean mute)

      已过时。
      从接口复制的说明: `AudioDeviceModule`
      Control muting/unmuting the speaker.
      指定者:
        `setSpeakerMute` 在接口中 `AudioDeviceModule`

    - #### setMicrophoneMute

          public void setMicrophoneMute(boolean mute)

      已过时。
      从接口复制的说明: `AudioDeviceModule`
      Control muting/unmuting the microphone.
      指定者:
        `setMicrophoneMute` 在接口中 `AudioDeviceModule`