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

Initialize internal structures, local global variables, Audio Processing module and OS layer used by the audio class.

Files

usbd_audio.h / usbd_audio.c

Prototype

Arguments

msg_qty

Maximum quantity of messages for playback and record tasks' queues.

p_err

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

USBD_ERR_NONE
USBD_ERR_ALLOC                  
USBD_ERR_OS_INIT_FAIL

Returned Value

None.

Callers

Application.

Notes / Warnings

  1. The initialization function must be called only once by the application, and before calling any other audio class API.
  • No labels