From a57307b3c20fb25c95eee143fa1a36254c354922 Mon Sep 17 00:00:00 2001 From: HiFiPHile Date: Tue, 25 Aug 2026 09:27:36 +0200 Subject: fix(audio): reject continuous UAC1 sample-rate ranges Collect only format descriptors with discrete sampling frequencies. The configuration API exposes concrete tuples and cannot safely represent a continuous range as one selectable rate. Signed-off-by: HiFiPHile --- examples/host/audio_host/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/host') diff --git a/examples/host/audio_host/README.md b/examples/host/audio_host/README.md index 22990d197..9fa84f8fd 100644 --- a/examples/host/audio_host/README.md +++ b/examples/host/audio_host/README.md @@ -13,7 +13,8 @@ This example demonstrates how to use TinyUSB's USB Audio Host driver (TUH_AUDIO) ## Supported Devices -This example supports any UAC 1.0 compliant USB audio device with a discrete sampling-frequency capture stream, such as: +This example supports UAC 1.0 devices whose Type I Format descriptor lists discrete sampling frequencies (`bSamFreqType > 0`), such as: + - USB microphones - USB headsets (mono microphone + speaker) - USB audio interfaces -- cgit v1.3.1