USBD_Audio_AS_IF_Add
Description
Add the AudioStreaming interface to the given configuration.
Files
usbd_audio.h / usbd_audio.c
Prototype
void USBD_Audio_AS_IF_Add ( CPU_INT08U class_nbr, CPU_INT08U cfg_nbr, USBD_AUDIO_AS_IF_HANDLE as_if_handle, const USBD_AUDIO_AS_IF_CFG *p_as_if_cfg, const CPU_CHAR *p_as_cfg_name, USBD_ERR *p_err);
Arguments
class_nbr
Class instance number.
cfg_nbr
Configuration number.
as_if_handle
Handle to AudioStreaming interface.
p_as_if_cfg
Pointer to AudioStreaming interface configuration.
p_as_cfg_name
Pointer to AudioStreaming interface name.
p_err
Pointer to variable that will receive the return error code from this function.
USBD_ERR_NONE
USBD_ERR_CLASS_INVALID_NBR
USBD_ERR_NULL_PTR
USBD_ERR_INVALID_ARG
USBD_ERR_AUDIO_AS_IF_ALLOC
Returned Value
None.
Callers
Application.
Notes / Warnings
None.