Description
Add the AudioStreaming interface to the given configuration.
Files
usbd_audio.h / usbd_audio.c
Prototype
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.