Description
Get a buffer from an AudioStreaming interface pool.
Files
usbd_audio_processing.h / usbd_audio_processing.c
Prototype
Arguments
as_handle
AudioStreaming interface handle.
p_buf_len
Pointer to allocated buffer length (in bytes).
Returned Value
Pointer to record buffer, if NO error(s).
Null pointer, otherwise.
Callers
Audio Peripheral Driver.
Notes / Warnings
- Most of the time, this function will be called from an ISR context except when a record is started on the codec side with the function
USBD_Audio_DrvStreamStart
.