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