arduino-audio-tools
|
Configuration for TinyUSB Audio. More...
#include <USBDeviceAudioAPI.h>
Public Member Functions | |
void | begin () |
void | clear () |
bool | is_ep_in () |
bool | is_ep_out () |
Public Attributes | |
uint8_t | bits_per_sample = 16 |
uint8_t | channels = 2 |
bool | enable_ep_in_flow_control = true |
bool | enable_feedback_ep = true |
bool | enable_feedback_forward_correction = false |
bool | enable_feedback_interval_isr = false |
bool | enable_fifo_mutex = CFG_FIFO_MUTEX |
bool | enable_interrupt_ep = true |
bool | enable_linear_buffer_rx = true |
bool | enable_linear_buffer_tx = true |
int | func_ctl_buffer_size = 0 |
int | func_ep_in_size_max = 0 |
int | func_ep_in_sw_buffer_size = 0 |
int | func_ep_out_size_max = 0 |
int | func_ep_out_sw_buffer_size = 0 |
int | func_n_as_int = 1 |
size_t(* | p_read_callback )(uint8_t *data, size_t len, USBDeviceAudio &ref) = nullptr |
size_t(* | p_write_callback )(const uint8_t *data, size_t len, USBDeviceAudio &ref) = nullptr |
int | rh_port = 0 |
uint32_t | sample_rate = 48000 |
Configuration for TinyUSB Audio.