<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/examples/device/audio_test_freertos/src/main.c, branch claude/audio-fifo-priming</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/tinyusb.git/atom/examples/device/audio_test_freertos/src/main.c?h=claude%2Faudio-fifo-priming</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/examples/device/audio_test_freertos/src/main.c?h=claude%2Faudio-fifo-priming'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/'/>
<updated>2026-08-28T19:47:14Z</updated>
<entry>
<title>audio_test_freertos: prime and hold the EP IN FIFO at its threshold</title>
<updated>2026-08-28T19:47:14Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-08-28T18:08:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=c74b2904d91e59d533a8a63802aad6e34185786f'/>
<id>urn:sha1:c74b2904d91e59d533a8a63802aad6e34185786f</id>
<content type='text'>
The 1 ms producer tick and host SOF are independent clocks. Writing one
frame per tick from stream open leaves the FIFO within a frame of empty
for ~180 ms (flow control climbs ~1.5 B/ms), and on underrun the driver
replays the previous packet's tail (hfp HIL: 'expected 8702, got 8696' -
exactly one HS packet of 6 samples back). Hold the FIFO at the driver's
own flow-control threshold instead: primed at open, topped up per tick,
each write still requiring a full frame of room so the overwritable FIFO
never drops samples. Filling above threshold is deliberately avoided -
it parks flow control at max-size packets (48.73 kHz) and overruns the
host capture. Verified by simulating the driver's control law over the
2 s capture: zero underruns at +/-400 us jitter vs 3 events before.

The driver-side half (audiod_tx_xfer_isr ignoring a short tu_fifo_read_n
and submitting stale bytes) is docs/superpowers/followup/pr3851-audiod-
short-fifo-read.md, for its own PR.
</content>
</entry>
<entry>
<title>Update UAC2 naming</title>
<updated>2025-09-29T08:00:39Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2025-09-27T12:58:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=78121a8d3f273420f8a2798364c2dd2fb9bb700f'/>
<id>urn:sha1:78121a8d3f273420f8a2798364c2dd2fb9bb700f</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>Fix board_init_after_tusb</title>
<updated>2025-09-17T21:44:01Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2025-09-17T21:19:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=be9409bfa738f00dc70d5e5bb99c0d9d61b69a34'/>
<id>urn:sha1:be9409bfa738f00dc70d5e5bb99c0d9d61b69a34</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>fix warnings, update docs</title>
<updated>2025-09-12T04:27:31Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-09-12T04:27:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=ba36df6233cd1bd09f383818f10c1ccda7b9efb4'/>
<id>urn:sha1:ba36df6233cd1bd09f383818f10c1ccda7b9efb4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix tud_audio_set_itf_close_EP_cb() typo</title>
<updated>2025-08-02T16:23:20Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-08-02T16:23:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=d9aa4c6f6184eacafb534bf462d7a90ca71aeac9'/>
<id>urn:sha1:d9aa4c6f6184eacafb534bf462d7a90ca71aeac9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/master' into xfer_isr</title>
<updated>2025-07-08T03:09:24Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-07-08T03:09:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=a56f55c10bea2ce0d38de6a04edae41e6c814b9f'/>
<id>urn:sha1:a56f55c10bea2ce0d38de6a04edae41e6c814b9f</id>
<content type='text'>
# Conflicts:
#	examples/device/audio_4_channel_mic_freertos/src/main.c
#	examples/device/audio_test_freertos/src/main.c
#	src/class/audio/audio_device.c
</content>
</entry>
<entry>
<title>update esp build, replace TUSB_MCU_VENDOR_ESPRESSIF by ESP_PLATFORM</title>
<updated>2025-07-02T08:32:12Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-07-02T08:32:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=0388700ad7c0fc8565457a56d7e7bd5744ac0d1d'/>
<id>urn:sha1:0388700ad7c0fc8565457a56d7e7bd5744ac0d1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>audio: update examples</title>
<updated>2025-06-14T20:46:52Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2025-06-14T17:37:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=545690c83435fc9e972a65a4e46539c88f2a2853'/>
<id>urn:sha1:545690c83435fc9e972a65a4e46539c88f2a2853</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>move core init code to dwc2 common. update/correct build for esppressif</title>
<updated>2024-10-15T10:55:24Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2024-10-15T10:55:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=4012e150757b517620465d93a22b0787c6400c5d'/>
<id>urn:sha1:4012e150757b517620465d93a22b0787c6400c5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>change the tusb_rhport_init_t struct, exclude the rhport to make API more consistent</title>
<updated>2024-10-14T11:27:52Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2024-10-14T11:27:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=1f18be93db39dbc57bbf34f982dbe07e209a2ae3'/>
<id>urn:sha1:1f18be93db39dbc57bbf34f982dbe07e209a2ae3</id>
<content type='text'>
</content>
</entry>
</feed>
