| 接口 | 说明 |
|---|---|
| AudioDeviceChangeObserver |
Provides a callback to listen for device state changes caused by disconnection and connection.
|
| AudioInterrupt.InterruptListener |
Listens for an audio interruption message.
|
| AudioWaver.FrequencyDataObserver |
Provides an observer to listen for frequency-domain audio data.
|
| AudioWaver.WaveDataObserver |
Provides an observer to listen for time-domain audio data.
|
| FrameIntervalObserver |
Provides an observer to listen for the playback or recording of audio frames at intervals.
|
| FramePositionObserver |
Provides an observer to listen for the playback or recording of audio frames at specific positions.
|
| SoundPlayer.OnCreateCompleteListener |
Listener used to monitor the successful creation of sound resources,
using in
setOnCreateCompleteListener. |
| 类 | 说明 |
|---|---|
| AudioCapturer |
Provides interfaces for applications to implement PCM audio recording and pausing functions.
|
| AudioCapturerCallback |
Provides notifications about capturer configuration updates.
|
| AudioCapturerConfig |
Provides audio capturer configuration.
|
| AudioCapturerInfo |
Provides the parameter structure required for audio recording, such as the audio stream information, session ID,
buffer size, input source, and distributed device ID.
|
| AudioCapturerInfo.Builder |
A builder of
AudioCapturerInfo objects. |
| AudioDeviceChangeType |
Defines state changes of audio devices.
|
| AudioDeviceDescriptor |
Provides audio device details.
|
| AudioEqualizer |
Represents an audio equalizer, which is used to adjust the frequency response of a specific music source or main
output mix sound.
|
| AudioInterrupt |
An audio interruption management mechanism used to resolve audio playback conflicts among multiple applications.
|
| AudioManager |
Manages audio information, controls audio devices, adjusts the volume, and manages the audio focus.
|
| AudioRenderer |
Provides interfaces for applications to play, pause, and stop pulse-code modulation (PCM) audio.
|
| AudioRenderer.ChannelVolume |
Specifies the volume of audio channels.
|
| AudioRenderer.SpeedPara |
Provides parameters related to the playback speed and pitch.
|
| AudioRenderer.SpeedPara.Builder |
Builder class for
AudioRenderer.SpeedPara objects. |
| AudioRendererCallback |
Provides callbacks for audio playback information or state changes.
|
| AudioRendererInfo |
Provides the parameter structure required for audio playback, such as audio stream information, session ID,
buffer size, offload mode flag, output flag, and distributed device ID.
|
| AudioRendererInfo.Builder |
A builder of
AudioRendererInfo objects. |
| AudioStreamInfo |
Provides audio stream information.
|
| AudioStreamInfo.Builder |
Provides builders for
AudioStreamInfo objects. |
| AudioWaver |
Provides the audio visualization feature.
|
| EchoCancelerEffect |
The EchoCancelerEffect class provides echo cancel effect attach to AudioCapturer.
|
| GainControlEffect |
The GainControlEffect class provides gain control effect attach to AudioCapturer.
|
| NoiseSuppressorEffect |
The NoiseSuppressorEffect class provides noise suppress effect attach to AudioCapturer.
|
| SoundEffect |
Manages sound effects.
|
| SoundEffect.SoundEffectInfo |
Provides sound effect information.
|
| SoundPlayer |
Manages and plays audio resources of an application.
|
| SoundPlayer.AudioVolumes |
Sets the volume of audio channels.
|
| SoundPlayer.SoundPlayerParameters |
Provides
SoundPlayer parameters for a playback task. |
| Timestamp |
Represents the timestamp information, including the system time used for audio stream playback
and recording, and the timestamp position of the frame that is being played or recorded.
|
| ToneDescriptor |
Describes a tone.
|
| 枚举 | 说明 |
|---|---|
| AudioCapturer.State |
Describes recording states.
|
| AudioCapturerInfo.AudioInputSource |
Describes audio input sources.
|
| AudioDeviceDescriptor.DeviceFlag |
Describes audio device flags.
|
| AudioDeviceDescriptor.DeviceRole |
Describes audio device roles.
|
| AudioDeviceDescriptor.DeviceType |
Describes audio device types.
|
| AudioManager.AudioRingMode |
Describes ringer modes.
|
| AudioManager.AudioVolumeType |
Describes audio stream types.
|
| AudioManager.CallState |
Describes call states.
|
| AudioManager.RingtoneType |
Describes ringtone types.
|
| AudioRenderer.PlayMode |
Describes playback modes.
|
| AudioRenderer.State |
Describes player status.
|
| AudioRendererInfo.AudioStreamOutputFlag |
Defines audio stream output flags.
|
| AudioRendererInfo.PrivilegedMode |
Enumerates the privileged modes used for audio stream playback.
|
| AudioStreamInfo.AudioStreamFlag |
Describes audio stream flags.
|
| AudioStreamInfo.ChannelMask |
Describes the channel mask.
|
| AudioStreamInfo.ContentType |
Describes types of audio stream content.
|
| AudioStreamInfo.EncodingFormat |
Describes the stream encoding format.
|
| AudioStreamInfo.StreamType |
Describes audio stream type.
|
| AudioStreamInfo.StreamUsage |
Indicates the audio stream usage type.
|
| SoundPlayer.SoundType |
Indicates the system sound type.
|
| Timestamp.Timebase |
Enumerates the time base of this
Timestamp. |
| ToneDescriptor.ToneType |
The ToneType define different dtmf type.
|
| 异常错误 | 说明 |
|---|---|
| AudioRemoteException |
Provides audio management exception information.
|