native_audio_manager.h
Overview
The native_audio_manager.h file declares the functions related to an audio manager.
Library: libohaudio.so
File to include: <ohaudio/native_audio_manager.h>
System capability: SystemCapability.Multimedia.Audio.Core
Since: 12
Related module: OHAudio
Summary
Types
| Name | Description |
|---|---|
| typedef struct OH_AudioManager OH_AudioManager | Defines a struct for the audio manager. |
Functions
| Name | Description |
|---|---|
| OH_AudioCommon_Result OH_GetAudioManager(OH_AudioManager **audioManager) | Obtains an OH_AudioManager instance. |
| OH_AudioCommon_Result OH_GetAudioScene(OH_AudioManager *manager, OH_AudioScene *scene) | Obtains the audio scene. |