arduino-audio-tools
Public Member Functions | Public Attributes | List of all members
USBAudioCB Class Referenceabstract
Inheritance diagram for USBAudioCB:
USBDeviceAudio USBDeviceAudioAdafruit USBDeviceAudioESP32

Public Member Functions

virtual uint8_t allocEndpoint (uint8_t in)=0
 
virtual uint8_t allocInterface (uint8_t count=1)=0
 
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)
 
virtual void feedback_params_cb (uint8_t func_id, uint8_t alt_itf, audio_feedback_params_t *feedback_param)=0
 
virtual bool get_req_entity_cb (uint8_t rhport, tusb_control_request_t const *p_request)=0
 
virtual bool get_req_ep_cb (uint8_t rhport, tusb_control_request_t const *p_request)=0
 
virtual bool get_req_itf_cb (uint8_t rhport, tusb_control_request_t const *p_request)=0
 
virtual uint16_t getInterfaceDescriptor (uint8_t itfnum, uint8_t *buf, uint16_t bufsize)=0
 
virtual size_t getInterfaceDescriptorLength (uint8_t itfnum)=0
 
virtual void int_done_cb (uint8_t rhport)
 
virtual 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)=0
 
virtual 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)=0
 
virtual bool set_itf_cb (uint8_t rhport, tusb_control_request_t const *p_request)=0
 
virtual bool set_itf_close_EP_cb (uint8_t rhport, tusb_control_request_t const *p_request)=0
 
virtual bool set_req_entity_cb (uint8_t rhport, tusb_control_request_t const *p_request, uint8_t *pBuff)=0
 
virtual bool set_req_ep_cb (uint8_t rhport, tusb_control_request_t const *p_request, uint8_t *pBuff)=0
 
virtual bool set_req_itf_cb (uint8_t rhport, tusb_control_request_t const *p_request, uint8_t *pBuff)=0
 
virtual 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)=0
 
virtual bool tx_done_pre_load_cb (uint8_t rhport, uint8_t itf, uint8_t ep_in, uint8_t cur_alt_setting)=0
 

Public Attributes

int func_id = 0
 

The documentation for this class was generated from the following file: