hi_mpi_ai_disable_resample

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

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