USBD_Audio_DrvCtrlOT_CopyProtSet

Description

Set the Copy Protection Level for a particular Output Terminal.

Files

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

Prototype

static  CPU_BOOLEAN  USBD_Audio_DrvCtrlOT_CopyProtSet (USBD_AUDIO_DRV  *p_audio_drv,
                                                       CPU_INT08U       terminal_id,
                                                       CPU_INT08U       copy_prot_level);


Arguments

p_audio_drv

Pointer to audio driver structure.

terminal_id

Output Terminal ID.

copy_prot_level    

Copy protection level to set.

Returned Value

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

DEF_FAIL, otherwise.

Callers

Audio Class.

Implementation guidelines

None.