Skip to end of metadata
Go to start of metadata

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

Compare with Current View Version History

Version 1 Current »

Description

Create an OS resource to use as a stream ring buffer queue lock.

Files

usbd_audio_os.h / usbd_audio_os.c

Prototype

Arguments

as_if_settings_ix

AudioStreaming interface settings index.

p_err

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

USBD_ERR_NONE
USBD_ERR_OS_SIGNAL_CREATE

Returned Value

None.

Callers

Audio Class.

Implementation guidelines

  1. In case of errors, USBD_ERR_OS_SIGNAL_CREATE should be returned. Otherwise, USBD_ERR_NONE should be used. 
  • No labels