hi_mpi_ai_disable_resample

Applicable Products

Product

Supported

Ascend 950PR&950DT products

☓

Atlas A3 products

☓

Atlas A2 products

☓

Atlas 200I/500 A2 inference products

√

Atlas inference products

☓

Atlas training products

☓

Function

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