|
| USBDeviceAudioESP32 (USBAudioConfig config) |
|
bool | active (void) |
|
virtual uint8_t | allocEndpoint (uint8_t in) |
|
virtual uint8_t | allocInterface (uint8_t count=1) |
|
USBDeviceAudioAPI & | api () |
|
virtual bool | begin (USBAudioConfig config) |
|
int | channels () |
|
USBAudioConfig | defaultConfig () |
|
void | end () |
|
virtual void | fb_done_cb (uint8_t func_id) |
|
virtual void | feedback_interval_isr (uint8_t func_id, uint32_t frame_number, uint8_t interval_shift) |
|
void | feedback_params_cb (uint8_t func_id, uint8_t alt_itf, audio_feedback_params_t *feedback_param) override |
|
bool | get_req_entity_cb (uint8_t rhport, tusb_control_request_t const *p_request) override |
|
bool | get_req_ep_cb (uint8_t rhport, tusb_control_request_t const *p_request) override |
|
bool | get_req_itf_cb (uint8_t rhport, tusb_control_request_t const *p_request) override |
|
virtual uint8_t | getFeatureUnitLength () |
|
uint16_t | getInterfaceDescriptor (uint8_t *buf, uint16_t bufsize) |
|
virtual uint16_t | getInterfaceDescriptor (uint8_t itfnum, uint8_t *buf, uint16_t bufsize)=0 |
|
size_t | getInterfaceDescriptorLength (uint8_t itfnum) override |
| Determine the interface descriptor length.
|
|
virtual uint16_t | getIOSize () |
|
virtual uint16_t | getMaxEPSize () |
|
virtual void | int_done_cb (uint8_t rhport) |
|
bool | isHeadset () |
|
bool | isMicrophone () |
|
bool | isMute (int channel) |
|
bool | isSpeaker () |
|
| operator bool () |
|
uint32_t | rate () |
|
bool | rx_done_post_read_cb (uint8_t rhport, uint16_t n_bytes_received, uint8_t func_id, uint8_t ep_out, uint8_t cur_alt_setting) override |
|
bool | rx_done_pre_read_cb (uint8_t rhport, uint16_t n_bytes_received, uint8_t func_id, uint8_t ep_out, uint8_t cur_alt_setting) override |
|
bool | set_itf_cb (uint8_t rhport, tusb_control_request_t const *p_request) override |
|
bool | set_itf_close_EP_cb (uint8_t rhport, tusb_control_request_t const *p_request) override |
|
bool | set_req_entity_cb (uint8_t rhport, tusb_control_request_t const *p_request, uint8_t *buf) override |
|
bool | set_req_ep_cb (uint8_t rhport, tusb_control_request_t const *p_request, uint8_t *pBuff) override |
|
bool | set_req_itf_cb (uint8_t rhport, tusb_control_request_t const *p_request, uint8_t *pBuff) override |
|
void | setInput (Stream &in) |
| Alternaive to setReadCallback.
|
|
void | setOutput (Print &out) |
| Alternative to setWriteCallback.
|
|
void | setReadCallback (size_t(*read_cb)(uint8_t *data, size_t len, USBDeviceAudio &ref)) |
|
void | setWriteCallback (size_t(*write_cb)(const uint8_t *data, size_t len, USBDeviceAudio &ref)) |
|
AudioProcessingStatus | status () |
| Provide the actual status.
|
|
bool | tx_done_post_load_cb (uint8_t rhport, uint16_t n_bytes_copied, uint8_t itf, uint8_t ep_in, uint8_t cur_alt_setting) override |
|
bool | tx_done_pre_load_cb (uint8_t rhport, uint8_t itf, uint8_t ep_in, uint8_t cur_alt_setting) override |
|
bool | updateLED (int pin) |
| Call from loop to blink led.
|
|
uint16_t | volume (int channel) |
|
|
void | append (uint8_t *to, uint8_t *str, int len) |
|
virtual bool | clock_get_request (uint8_t rhport, tusb_control_request_t const *p_request) |
|
virtual bool | clock_set_request (uint8_t rhport, tusb_control_request_t const *p_request, uint8_t const *buf) |
|
virtual bool | feature_unit_get_request (uint8_t rhport, tusb_control_request_t const *p_request) |
|
virtual bool | feature_unit_set_request (uint8_t rhport, tusb_control_request_t const *p_request, uint8_t const *buf) |
|
uint16_t | interfaceDescriptor (uint8_t *buf, uint16_t bufsize) |
|
void | interfaceDescriptorHeader (uint8_t *buf, uint8_t total_len, uint8_t category) |
|
void | interfaceDescriptorHeadset (uint8_t *buf, uint8_t total_len) |
|
void | interfaceDescriptorMicrophone (uint8_t *buf, uint8_t total_len) |
|
void | interfaceDescriptorSpeaker (uint8_t *buf, uint8_t total_len) |
|
void | setStatus (AudioProcessingStatus status) |
| Define the led delay.
|
|
void | setupDebugPins () |
|
int | setupDescriptorCB () |
|