#include <usb_stream_player.h>
Data Fields | |
volatile int8_t | audio_buffer [USB_STREAM_BUFFER_NUMBER][USB_STREAM_REAL_BUFFER_SIZE] |
The USB stream audio FIFO is composed of buffers. More... | |
volatile uint16_t | audio_buffer_size [USB_STREAM_BUFFER_NUMBER] |
Holds the data size of the audio packets stored into the buffers. More... | |
uint8_t | bits_per_sample |
uint8_t | channel_count |
volatile uint8_t | rd_id |
Reader buffer id. More... | |
uint32_t | sample_rate |
volatile int | status |
Driver status. More... | |
volatile bool | synchronized |
Boolean telling if synchro is acting or not. More... | |
volatile uint8_t | wr_id |
Writer buffer id. More... | |
volatile int8_t usb_stream_context_t::audio_buffer[USB_STREAM_BUFFER_NUMBER][USB_STREAM_REAL_BUFFER_SIZE] |
The USB stream audio FIFO is composed of buffers.
Referenced by usb_stream_fifo_get(), and usb_stream_fifo_get_buffer().
volatile uint16_t usb_stream_context_t::audio_buffer_size[USB_STREAM_BUFFER_NUMBER] |
Holds the data size of the audio packets stored into the buffers.
Referenced by usb_stream_fifo_get(), usb_stream_fifo_push(), and usb_stream_init().
uint8_t usb_stream_context_t::bits_per_sample |
Referenced by dac_sample_sent_cb(), usb_stream_init(), and usb_stream_input().
uint8_t usb_stream_context_t::channel_count |
Referenced by dac_sample_sent_cb(), usb_stream_init(), and usb_stream_input().
volatile uint8_t usb_stream_context_t::rd_id |
Reader buffer id.
Referenced by usb_stream_fifo_get(), usb_stream_fifo_get_used_room(), usb_stream_fifo_pull(), and usb_stream_init().
uint32_t usb_stream_context_t::sample_rate |
Referenced by usb_stream_init(), usb_stream_input(), and usb_stream_resync().
volatile int usb_stream_context_t::status |
Driver status.
Referenced by dac_sample_sent_cb(), dac_underflow_cb(), usb_stream_close(), usb_stream_get_status(), usb_stream_get_stream_status(), usb_stream_init(), usb_stream_input(), and usb_stream_task().
volatile bool usb_stream_context_t::synchronized |
Boolean telling if synchro is acting or not.
Referenced by dac_sample_sent_cb(), dac_underflow_cb(), usb_stream_init(), usb_stream_input(), usb_stream_out_of_samples(), usb_stream_resync(), and usb_stream_task().
volatile uint8_t usb_stream_context_t::wr_id |
Writer buffer id.
Referenced by usb_stream_fifo_get_used_room(), usb_stream_fifo_push(), usb_stream_init(), and usb_stream_input().