Commit Graph

147 Commits

Author SHA1 Message Date
Ha Thach fd5bb6e5db
Merge pull request #1514 from maddyaby/audiod_typo
Fix typo in audiod_rx_done_cb in audio_device.c
2022-07-19 17:10:45 +07:00
robert-hh ec6f56768a mimxrt: Change OPT_MCU_MIMXRT1xXX to OPT_MCU_MIMXRT.
Which fits both MIMXRT10XX and MIMXRT11XX.
2022-07-01 09:04:36 +02:00
robert-hh 60c1750a9b mimxrt: Add/change definitions for MIMXRT11XX boards.
These are mostly identical to the MIMXRT10XX, with one tiny difference.
2022-06-30 22:21:31 +02:00
hathach 6522a8150e fix all device examples warnings 2022-06-27 13:48:47 +07:00
hathach b9dc9dbd78
fix most warnings with rp2040 -wconversion 2022-06-27 11:50:17 +07:00
Maddy e9089b993f Fix typo in audiod_rx_done_cb in audio_device.c 2022-06-16 16:22:55 -07:00
hathach 06392247eb add TU_ATTR_FAST_FUNC for audio sof isr call chain 2022-06-07 11:50:50 +07:00
hathach e384d16d57 clean up tud_audio_set_itf_cb() invocation 2022-05-31 21:52:54 +07:00
hathach f2926670cc comment out fifo count method for now 2022-05-31 20:26:37 +07:00
hathach dce2ad4ffb
adding feedback fifo count (WIP) 2022-05-27 23:11:25 +07:00
hathach 15aa593790
wrap feedback and compute to its own struct/union 2022-05-27 12:27:31 +07:00
hathach e5113a1cfc prototype for feedback method 2022-05-19 16:05:55 +07:00
hathach 5766c9ac4e rename tud_audio_sof_isr() to tud_audio_feedback_interval_isr()
- also add interval_log2 to isr callback
- also rename other variables
2022-05-19 13:44:10 +07:00
hathach 20b810d25b
fix ci build 2022-05-13 23:01:06 +07:00
hathach c5ba1ea8c1
changes proposal to audio feedback computation 2022-05-13 22:54:47 +07:00
Reinhard Panhuber 11f0ffd9a8 Generalize feedback value min and max 2022-04-16 14:47:42 +02:00
Reinhard Panhuber 7094ff7125 Introduce 3 fb calc options: NO_SOF_BY_USER, SOF_BY_AUDIO_D, SOF_BY_USER 2022-04-09 16:36:26 +02:00
Reinhard Panhuber 5cd67baf15 Disable SOF ISR feedback calcuation by default s.t. examples still work 2022-03-20 12:57:53 +01:00
Reinhard Panhuber 8ffdbfebce Streamline call of tud_audio_set_itf_cb() within audiod_set_interface() 2022-03-20 12:08:27 +01:00
Reinhard Panhuber 5aba464270 Add magic checks 2022-03-20 12:04:10 +01:00
Reinhard Panhuber ff2dc0a547 Streamline feedback calc, find fb interval from descriptors, inc. checks 2022-03-20 11:21:33 +01:00
Reinhard Panhuber fdfde8883f Implement power of two, shift, and float calculation 2022-03-19 13:37:54 +01:00
Reinhard Panhuber ceac9d64c0 Disable CFG_TUD_AUDIO_ENABLE_FEEDBACK_DETERMINATION_WITHIN_SOF_ISR
By default disable
CFG_TUD_AUDIO_ENABLE_FEEDBACK_DETERMINATION_WITHIN_SOF_ISR such that
current examples still work.
2022-03-16 08:05:31 +01:00
Reinhard Panhuber 92ac041869 Add todos and comments 2022-03-16 07:13:38 +01:00
Reinhard Panhuber 90502739c3 Fix cycle count calculation 2022-03-15 20:45:06 +01:00
Reinhard Panhuber c9b444e771 Implement 16.16 fixed point feedback value calculation 2022-03-15 20:30:31 +01:00
Reinhard Panhuber f212899b54 Add SOF callback function for feedback value determination in uac - wip! 2022-03-14 20:40:33 +01:00
hathach d10326cb4e rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLED
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2022-02-25 18:35:21 +07:00
hathach 45fb60e883 update format correction with actual bus speed 2022-01-16 12:12:57 +07:00
Valentin Milea a284e438f1 Disable feedback format correction by default #1234 2022-01-07 15:02:52 +02:00
Valentin Milea ef879e8a8a Support disabling feedback format correction #1234 2021-12-06 18:49:58 +02:00
hathach f65917f51a
rename to simply OPT_MCU_MSP432E4, add msp432e to ci 2021-11-08 17:29:26 +07:00
kkitayam 0b3c8c4a59 Implement dcd_edpt_xfer_fifo for dcd_musb 2021-11-06 00:06:27 +09:00
hathach 5af989384b remove ep descriptor wMaxPacketSize bitfield due to endian issue 2021-10-24 13:11:21 +07:00
Ha Thach 379537cb6d
Merge branch 'master' into add_uvc 2021-10-12 22:01:02 +07:00
kkitayam 033d6b28ff moved ISO attributes from audio to common 2021-09-29 21:23:14 +09:00
MasterPhi e3bf4c069b UAC2: Add ring buffer support for dcd_transdimension.
Add ring buffer ON/OFF switch.
2021-08-31 12:29:22 +02:00
Stefan Kerkmann 8b78067cc1 Use linear buffer for GD32VF103
As the peripheral is the same as on the STM32F1 and STM32F4 lines we do the same.
2021-08-07 12:06:54 +02:00
kkitayam ff20e4d6bc add the entry for RX72N 2021-07-29 20:45:51 +09:00
kkitayam 3c3563288d add RX65N 2021-07-29 20:24:12 +09:00
kkitayam 6b9f8e454e add a condition regarding OPT_MCU_RX63N 2021-07-29 20:24:12 +09:00
MasterPhi 72f916423e Fix copy byte count 2021-07-06 10:56:13 +02:00
MasterPhi 82d355aefe - Remove alt_setting alignment 2021-07-06 00:25:00 +02:00
MasterPhi 05a1b854ff ENCODE -> DECODE 2021-07-05 21:00:37 +02:00
MasterPhi 98d921c4b3 Better handling tud_audio_set_itf_cb with FB. 2021-07-04 15:46:13 +02:00
MasterPhi 1c8b685457 Move audio_control_request_t to audio.h 2021-07-04 15:46:12 +02:00
MasterPhi 61fd0e2c1c Delay tud_audio_set_itf_cb call with feedback EP. 2021-07-04 15:46:12 +02:00
MasterPhi 090859bf42 Fix speed detection 2021-07-04 15:46:12 +02:00
MasterPhi 449936c0f1 more uac fixes, 2021-07-04 15:46:12 +02:00
MasterPhi 5f67e5c1e9 Clear FIFO only if enabled...
Add buffer align
2021-07-04 15:46:11 +02:00