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

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

  1. 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.
  • No labels