/
USBD_Audio_OS_PlaybackReqPost

USBD_Audio_OS_PlaybackReqPost

Description

Post a request to the playback's task queue.

Files

usbd_audio_os.h / usbd_audio_os.c

Prototype

void   USBD_Audio_OS_PlaybackReqPost (void      *p_msg,
                                      USBD_ERR  *p_err);


Arguments

p_msg

Pointer to the message which is a playback event.

p_err

Pointer to variable that will receive the return error code from this function.

USBD_ERR_NONE
USBD_ERR_OS_FAIL                  

Returned Value

None.

Callers

Audio Class.

Implementation guidelines

  1. A call to this function should post an event into the queue associated to the playback task. 
  2. In case of errors, USBD_ERR_OS_FAIL should be returned. Otherwise, USBD_ERR_NONE should be used.

Related content

USBD_Audio_OS_PlaybackReqPend
USBD_Audio_OS_PlaybackReqPend
More like this
USBD_Audio_OS_RecordReqPost
USBD_Audio_OS_RecordReqPost
More like this
USBD_Audio_OS_Init
USBD_Audio_OS_Init
More like this
USBD_Audio_OS_PlaybackTask
USBD_Audio_OS_PlaybackTask
More like this
USBD_Audio_Init
USBD_Audio_Init
More like this
USBD_Audio_AS_IF_Cfg
USBD_Audio_AS_IF_Cfg
More like this