summaryrefslogtreecommitdiff
path: root/src/class/audio
AgeCommit message (Collapse)Author
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
2020-10-09Revert dcd_alloc_mem_for_conf() but keep changes from @kasjer for ISO EPReinhard Panhuber
Add tud_audio_set_itf_close_EP_cb()
2020-10-07Remove CFG_TUD_AUDIO_TX_DMA_RINGBUFFER_SIZE which is not needed any moreReinhard Panhuber
2020-10-07fix audio_test buildhathach
2020-10-03Revert #define CFG_TUSB_DEBUG 2 to #define CFG_TUSB_DEBUG 0Reinhard Panhuber
Change 1 << 31 to 0x100000000 in audio.h
2020-09-28Cleanup for PR.Reinhard Panhuber
2020-09-28audio_device: Update explicit feedback supportJerzy Kasenberg
Feedback can be specified by the user code and will be sent at feedback endpoint specified interval.
2020-09-28audio_device: Allow one FIFO for N channelsJerzy Kasenberg
This allow to build with single FIFO for devices with multiple channels. Having just one FIFO greatly reduces time needed to feed endpoint. This change also allows to have one FIFO with 24 bit samples that is not rounded up to 32 bit elements. CFG_TUD_AUDIO_RX_ITEMSIZE and CFG_TUD_AUDIO_TX_ITEMSIZE can be manually defined. This allows to use FIFO more efficiently when 24 bits samples are already using 3 bytes, in this case there is no need to put them into FIFO one by one. For 8, 16, 32 bits samples size efficient FIFO access is always used when single FIFO is selected. This also changes FIFO element size to 1, FIFO usage was confusing in some place it treated content as byte base in other it looked like ITEM size is to be used. Also bufsize that in most (maybe all) cases was really meaning item count. bufsize now mean buffer size in bytes so there is no confusion.
2020-09-28audio_device: Fix tud_audio_n_read_flush TU_VERIFY usageJerzy Kasenberg
void function used TU_VERIFY in a way that returned bool value. It would not compile.
2020-09-28audio_device: Fix audio_rx_done_type_I_pcm_ff_cb bufor size checkJerzy Kasenberg
Function was not checking buffer size correctly due missing parenthesis.
2020-09-28audio_device: Fix audio_rx_done_type_I_pcm_ff_cb prototypeJerzy Kasenberg
Function prototype did not have return type specified by mistake.
2020-09-28audio_device: Store rhport in interface dataJerzy Kasenberg
Some API uses interface number as argument, some wants to have rhport. To accommodate need of rhport for functions that don't have it rhport can be extracted from interface data.