hi_mpi_ao_enable
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
☓ |
|
|
☓ |
|
|
☓ |
|
|
√ |
|
|
☓ |
|
|
☓ |
Function Description
Enables an AO device.
Prototype
hi_s32 hi_mpi_ao_enable(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.
Restrictions
- Before enabling the AO device, you must set the attributes of the AO device by calling hi_mpi_ao_set_pub_attr. Otherwise, the error code indicating that the attributes are not set is returned.
- If the AO device is enabled, a code indicating success is returned.
Parent topic: AI/AO