hi_mpi_ai_disable_resample

Applicability

Product

Supported

Atlas A3 training products / Atlas A3 inference products

Atlas A2 training products / Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

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

See Also

For the API call sequence, see Voice Intercom (NVR Scenario).