hi_mpi_ao_disable
The
The
Description
Disables an AO device.
Restrictions
- If the AO device is disabled, a code indicating success is returned.
- Before disabling an AO device, disable all the enabled AO channels under the device by calling hi_mpi_ao_disable_chn.
Prototype
hi_s32 hi_mpi_ao_disable(hi_audio_dev ao_dev);
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
ao_dev |
Input |
Audio device ID. The value range is [0, 4]. |
Returns
- 0: success
- Other values: failure. For details, see Audio Return Codes.
Parent topic: AI/AO