Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Prototype

Code Block
languagecpp
static  CPU_BOOLEAN  USBD_Audio_DrvCtrlFU_DlyManage (USBD_AUDIO_DRV  *p_audio_drv,
                                                     CPU_INT08U       req,
                                                     CPU_INT08U       unit_id,
                                                     CPU_INT08U       log_ch_nbr,
                                                     CPU_INT16U      *p_dly);


Arguments

p_audio_drv

Pointer to audio driver structure.

...

  1. The Delay Control values range allowed for Feature Unit is:
    1. From 0 (0x0000) to 1023.9844ms (0xFFFF) for CUR, MIN, MAX and RES attributes.
  2. log_ch_nbr allows you to get or set the delay for a specific channel. When log_ch_nbr is 0, you get or set the delay for all channels. Indeed, the logical channel #0 represents the master channel and encompasses all channels.

...