USBD_Audio_OS_RingBufQLockCreate
Description
Create an OS resource to use as a stream ring buffer queue lock.
Files
usbd_audio_os.h / usbd_audio_os.c
Prototype
void USBD_Audio_OS_RingBufQLockCreate (CPU_INT08U as_if_settings_ix, USBD_ERR *p_err);
Arguments
as_if_settings_ix
AudioStreaming interface settings index.
p_err
Pointer to variable that will receive the return error code from this function.
USBD_ERR_NONE
USBD_ERR_OS_SIGNAL_CREATE
Returned Value
None.
Callers
Audio Class.
Implementation guidelines
- In case of errors,
USBD_ERR_OS_SIGNAL_CREATE
should be returned. Otherwise,USBD_ERR_NONE
should be used.