hi_mpi_ai_disable

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

The Atlas Training Series Product does not support this API.

Description

Disables an AI device.

Restrictions

  • If the AI device is disabled, a code indicating success is returned.
  • Before disabling an AI device, disable all the enabled AI channels under the device by calling hi_mpi_ai_disable_chn.

Prototype

hi_s32 hi_mpi_ai_disable(hi_audio_dev ai_dev);

Parameters

Parameter

Input/Output

Description

ai_dev

Input

Audio device ID. The value range is [0, 2].

Returns