Microchip® Advanced Software Framework

usb_stream_context_t Struct Reference

#include <usb_stream_player.h>

Data Fields

int bits_per_sample
 
resampling_context_tctx
 
resampling_context_t ctx_original
 
resampling_context_t ctx_overrun
 
resampling_context_t ctx_underrun
 
int current_buffer
 
int current_buffer_index
 
int current_full_buffer
 
int current_output_buffer
 
bool duplicate_channels
 
char error
 
int fs_output
 
int input_buffer_size
 
buffer_tinput_buffers [AUDIO_STREAM_NB_INPUT_BUFFERS]
 
uint8_t input_temp_buffer [AUDIO_STREAM_MAX_USB_PACKET_SIZE]
 
int nb_channels
 
void * output_buffers [AUDIO_STREAM_NB_OUTPUT_BUFFERS]
 
void * output_temp_buffer
 
uint8_t status
 
int swap_channels
 
bool synchronized
 

int usb_stream_context_t::bits_per_sample
resampling_context_t usb_stream_context_t::ctx_original
resampling_context_t usb_stream_context_t::ctx_overrun
resampling_context_t usb_stream_context_t::ctx_underrun
int usb_stream_context_t::current_buffer
int usb_stream_context_t::current_buffer_index
int usb_stream_context_t::current_full_buffer
int usb_stream_context_t::current_output_buffer

Referenced by usb_stream_process().

bool usb_stream_context_t::duplicate_channels
int usb_stream_context_t::fs_output

Referenced by usb_stream_init().

uint8_t usb_stream_context_t::input_temp_buffer[AUDIO_STREAM_MAX_USB_PACKET_SIZE]

Referenced by usb_stream_input().

int usb_stream_context_t::nb_channels
void* usb_stream_context_t::output_buffers[AUDIO_STREAM_NB_OUTPUT_BUFFERS]
void* usb_stream_context_t::output_temp_buffer
uint8_t usb_stream_context_t::status
int usb_stream_context_t::swap_channels

Referenced by usb_stream_init().

bool usb_stream_context_t::synchronized