USBD_Audio_DrvAS_PitchManage

Description

Get or set pitch state for a particular Terminal (i.e. endpoint).

Files

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

Prototype

static  CPU_BOOLEAN  USBD_Audio_DrvAS_PitchManage (USBD_AUDIO_DRV  *p_audio_drv,
                                                   CPU_INT08U       terminal_id_link,
                                                   CPU_BOOLEAN      set_en,
                                                   CPU_BOOLEAN     *p_pitch);


Arguments

p_audio_drv

Pointer to audio driver structure.

terminal_id_link

AudioStreaming terminal link.

set_en

Flag indicating to get or set the pitch.

p_pitch

Pointer to current pitch control state.

Returned Value

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

DEF_FAIL, otherwise.

Callers

Audio Class.

Implementation guidelines

None.