Data Structures | Macros | Typedefs | Functions
usbdaudio.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tAudioInstance
 
struct  tUSBDAudioDevice
 

Macros

#define AUDIODESCRIPTOR_SIZE   (8)
 
#define CONTROLINTERFACE_SIZE   (52)
 
#define STREAMINTERFACE_SIZE   (52)
 
#define COMPOSITE_DAUDIO_SIZE
 
#define USBD_AUDIO_EVENT_IDLE   (USBD_AUDIO_EVENT_BASE + 0)
 This USB audio event indicates that the device is connected but not active. More...
 
#define USBD_AUDIO_EVENT_ACTIVE   (USBD_AUDIO_EVENT_BASE + 1)
 
#define USBD_AUDIO_EVENT_DATAOUT   (USBD_AUDIO_EVENT_BASE + 2)
 
#define USBD_AUDIO_EVENT_VOLUME   (USBD_AUDIO_EVENT_BASE + 4)
 
#define USBD_AUDIO_EVENT_MUTE   (USBD_AUDIO_EVENT_BASE + 5)
 

Typedefs

typedef void(* tUSBAudioBufferCallback) (void *pvBuffer, uint32_t ui32Param, uint32_t ui32Event)
 

Functions

void * USBDAudioInit (uint32_t ui32Index, tUSBDAudioDevice *psAudioDevice)
 
void * USBDAudioCompositeInit (uint32_t ui32Index, tUSBDAudioDevice *psAudioDevice, tCompositeEntry *psCompEntry)
 
void USBDAudioTerm (void *pvAudioDevice)
 
int32_t USBAudioBufferOut (void *pvAudioDevice, void *pvBuffer, uint32_t ui32Size, tUSBAudioBufferCallback pfnCallback)
 
Copyright 2018, Texas Instruments Incorporated