libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
audio.h File Reference
#include <stdint.h>
Include dependency graph for audio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  usb_audio_header_descriptor_head
 
struct  usb_audio_header_descriptor_body
 
struct  usb_audio_input_terminal_descriptor
 
struct  usb_audio_output_terminal_descriptor
 
struct  usb_audio_feature_unit_descriptor_head
 
struct  usb_audio_feature_unit_descriptor_body
 
struct  usb_audio_feature_unit_descriptor_tail
 
struct  usb_audio_feature_unit_descriptor_2ch
 
struct  usb_audio_stream_interface_descriptor
 
struct  usb_audio_stream_endpoint_descriptor
 
struct  usb_audio_stream_audio_endpoint_descriptor
 
struct  usb_audio_format_type1_descriptor_head
 
struct  usb_audio_format_continuous_sampling_frequency
 
struct  usb_audio_format_discrete_sampling_frequency
 
struct  usb_audio_format_type1_descriptor_1freq
 

Macros

#define USB_CLASS_AUDIO   0x01
 
#define USB_AUDIO_SUBCLASS_UNDEFINED   0x00
 
#define USB_AUDIO_SUBCLASS_CONTROL   0x01
 
#define USB_AUDIO_SUBCLASS_AUDIOSTREAMING   0x02
 
#define USB_AUDIO_SUBCLASS_MIDISTREAMING   0x03
 
#define USB_AUDIO_DT_CS_UNDEFINED   0x20
 
#define USB_AUDIO_DT_CS_DEVICE   0x21
 
#define USB_AUDIO_DT_CS_CONFIGURATION   0x22
 
#define USB_AUDIO_DT_CS_STRING   0x23
 
#define USB_AUDIO_DT_CS_INTERFACE   0x24
 
#define USB_AUDIO_DT_CS_ENDPOINT   0x25
 
#define USB_AUDIO_TYPE_AC_DESCRIPTOR_UNDEFINED   0x00
 
#define USB_AUDIO_TYPE_HEADER   0x01
 
#define USB_AUDIO_TYPE_INPUT_TERMINAL   0x02
 
#define USB_AUDIO_TYPE_OUTPUT_TERMINAL   0x03
 
#define USB_AUDIO_TYPE_MIXER_UNIT   0x04
 
#define USB_AUDIO_TYPE_SELECTOR_UNIT   0x05
 
#define USB_AUDIO_TYPE_FEATURE_UNIT   0x06
 
#define USB_AUDIO_TYPE_PROCESSING_UNIT   0x07
 
#define USB_AUDIO_TYPE_EXTENSION_UNIT   0x08