summaryrefslogtreecommitdiff
path: root/src/class/audio
AgeCommit message (Collapse)Author
2021-05-10audio_device: Fix build errorJerzy Kasenberg
ep_in_as_intf_num was incorrectly used to access out interface which is defined for 'in' interface. Code related to 'out' endpoint should use ep_out_as_intf_num instead.
2021-04-30Remove n from tu_fifo_get_write_info() and fix bug in vendor classReinhard Panhuber
2021-04-30Remove variable n in tu_fifo_get_read_info()Reinhard Panhuber
2021-04-30Change read infos to pointer typeReinhard Panhuber
2021-04-28temporarily fix include recusrive loophathach
2021-04-23Change tu_fifo_get_linear_write/read_info() to return a structReinhard Panhuber
Compilers always complain that variables set by function via pointer might be uninitialized so to avoid that return values are now delivered via struct.
2021-04-23Init len_wrap = 0 to fix compiler complains.Reinhard Panhuber
2021-04-23Fix include path in audio_device.hReinhard Panhuber
2021-04-23Implement functions to allow for DMA usage in audio driver.Reinhard Panhuber
- Add tud_audio_n_get_ep_out_ff(), tud_audio_n_get_ep_in_ff(), tud_audio_n_get_rx_support_ff(), and tud_audio_n_get_tx_support_ff() - Change get_linear_read/write_info() to return linear and wrapped part at once - Adjusted affected code in audio_device.c and tested with audio_4_channel.
2021-04-21Remove unnecessary volatile and short audio function index to func_idReinhard Panhuber
2021-04-20Clean up old depracted and misleading variable namesReinhard Panhuber
2021-04-20Refactor static function for better performanceReinhard Panhuber
2021-04-20Fix pointer alt_setting to be cleared when driver gets initializedReinhard Panhuber
2021-04-14Improve user feedback in case of wrong configuration of audio driverReinhard Panhuber
2021-04-08Fix defines in audio_device.cReinhard Panhuber
2021-04-08Remove depracted defines in audio_device.cReinhard Panhuber
2021-04-07Optimize encode/decode - refactor unnecessary repetitive divisionReinhard Panhuber
2021-04-06minor clean uphathach
2021-04-06code formathathach
2021-04-06fix buildhathach
2021-04-06audio driver only use USE_LINEAR_BUFFER = 0 for stm32 synopsys driverhathach
2021-04-03Fix wrong read mutexes in audio_device.cReinhard Panhuber
2021-04-03Fix wrong pointer type in audio_device.cReinhard Panhuber
2021-04-03Fix potential bug in support FIFO sizesReinhard Panhuber
2021-04-03Add missing #defines in uac2_headset exampleReinhard Panhuber
2021-04-03Fix error in #defines in uac2_headsetReinhard Panhuber
2021-04-03Fix #define error in audio_device.hReinhard Panhuber
2021-04-03Fix #define error in audio_device.hReinhard Panhuber
2021-04-03Fix #define errors in audio_device.hReinhard Panhuber
2021-04-03Generalize audio driver for 3 audio functions plus a lot more.Reinhard Panhuber
- Audio format and parameters are parsed from descriptors thus user no longer needs to give them explicitely - Tested for 4 channel software type I PCM encoding with 16 bit with 1 channel per FIFO and 2 channels per FIFO (this is I2S specific)
2021-03-14Intermediate commitReinhard Panhuber
2021-03-10Implement audio PCM type I enc./decoding acc. to 2.3.1.5 Audio StreamsReinhard Panhuber
Extending capabilities of support FIFOs Removing copy from to FIFO Adjusting audio examples Remove peek/read into other FIFO
2021-03-04Extend FIFO mutex to use separate write and read mutexes.Reinhard Panhuber
Adjust all USB drivers using FIFO and mutexes.
2021-03-02Rename dcd_edpt_iso_xfer() to dcd_edpt_xfer_fifo()Reinhard Panhuber
2021-03-02Switch back OPT_MCU_DA1469X to use linear buffersReinhard Panhuber
2021-03-01audio_decive clean up and bootstrapping of linear (formerly evade) buff.Reinhard Panhuber
2021-02-23Implement dcd_edpt_iso_xfer() for dcd_da146xx.c BUT WITHOUT DMA SUPPORTReinhard Panhuber
2021-02-18Implement left and right justifications for 24 to 32 bit PCM encodingReinhard Panhuber
2021-02-18Correct for wrong pointer type in audio_device.cReinhard Panhuber
2021-02-17Fix wrong pointer type.Reinhard Panhuber
2021-02-17Fix bug in evasion buffer listReinhard Panhuber
2021-02-17Add SAMD MCUs to buffer evasion listReinhard Panhuber
2021-02-17Implement an evasion linear buffer for MCUs not capable for EP FIFOReinhard Panhuber
Also MCUs using DMAs are within this list, however, these can use an EP FIFO. There is just no time for implementation
2021-02-12Fix CFG_TUD_AUDIO_EP_IN/OUT_SW_BUFFER_SIZE to be defined anywayReinhard Panhuber
2021-02-12FormatingReinhard Panhuber
2021-02-12Complete redesign of audio driver.Reinhard Panhuber
2021-01-31Rework audio driverReinhard Panhuber
2021-01-19Change names from edpt_ISO_xfer to edpt_iso_xferReinhard Panhuber
2021-01-18Implement the usage of usbd_edpt_ISO_xfer()Reinhard Panhuber
2020-11-20migrate audio device to new control xfer cbhathach