USBD_Audio_DrvCtrlSU_InPinManage

USBD_Audio_DrvCtrlSU_InPinManage

Description

Get or set the Input Pin of a particular Selector Unit.

Files

usbd_audio_drv_<codec-name>.h / usbd_audio_drv_<codec-name>.c

Prototype

static CPU_BOOLEAN USBD_Audio_DrvCtrlSU_InPinManage (USBD_AUDIO_DRV *p_audio_drv, CPU_INT08U unit_id, CPU_BOOLEAN set_en, CPU_INT08U *p_in_pin_nbr);



Arguments

p_audio_drv

Pointer to audio driver structure.

unit_id

Selector Unit ID.

set_en

Flag indicating to get or set the loudness.

p_in_pin_nbr

Pointer to the input number to get or set.

Returned Value

DEF_OK, if NO error(s) occurred and request is supported.

DEF_FAIL, otherwise.

Callers

Audio Class.

Implementation guidelines

None.