hi_mpi_ai_disable_resample
The
The
Description
Disables AI resampling.
Prototype
hi_s32 hi_mpi_ai_disable_resample(hi_audio_dev ai_dev, hi_ai_chn ai_chn);
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
ai_dev |
Input |
Audio device ID. The value range is [0, 2]. In the network video recorder (NVR) scenario, only dev2 is involved. |
ai_chn |
Input |
AI channel ID. Only the mono audio channel (audio-left channel) is supported. The value of ai_chn is fixed at 0. |
Returns
- 0: success
- Other values: failure. For details, see Audio Return Codes.
Parent topic: AI/AO