Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

Post a request into the record task's queue.

Files

usbd_audio_os.h / usbd_audio_os.c

Prototype

Arguments

p_msg

Pointer to the record message.

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 a request into the queue associated to the record task. The request will be an AudioStreaming interface handle. 
  2. In case of errors, USBD_ERR_OS_FAIL should be returned. Otherwise, USBD_ERR_NONE should be used. 
  • No labels