Audio_PlaybackCmd() is only used within AUDIO_Standalone.
 
Symbols
loading...
Files
loading...

Audio_PlaybackCmd() function

Handles AUDIO command.

Syntax

static int8_t Audio_PlaybackCmd(uint8_t * pbuf,     uint32_t size,     uint8_t cmd);
Implemented in usbd_audio_if.c:85

Arguments

pbuf

Pointer to buffer of data to be sent

size

Number of data to be sent (in bytes)

cmd

Command opcode

Return value

Result of the operation: USBD_OK if all operations are OK else USBD_FAIL

References

LocationText
usbd_audio_if.c:85
static int8_t Audio_PlaybackCmd(uint8_t * pbuf, uint32_t size, uint8_t cmd)
usbd_audio_if.c:28
static int8_t Audio_PlaybackCmd(uint8_t * pbuf, uint32_t size, uint8_t cmd);
usbd_audio_if.c:39
Audio_PlaybackCmd,

Call Tree

Functions called by Audio_PlaybackCmd()
Audio_PlaybackCmd()
Implementations
Audio_PlaybackCmd()
all items filtered out
Type of Audio_PlaybackCmd()
Audio_PlaybackCmd()
int8_t
all items filtered out