diff options
| author | HiFiPHile <[email protected]> | 2026-08-25 09:27:36 +0200 |
|---|---|---|
| committer | HiFiPHile <[email protected]> | 2026-08-25 09:27:36 +0200 |
| commit | a57307b3c20fb25c95eee143fa1a36254c354922 (patch) | |
| tree | 3c427aa516cc4fed7db88f1de4f8fcd947b79693 /examples | |
| parent | f849af38c58b0c7b395619311d2797fe9e0d90fb (diff) | |
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 <[email protected]>
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/host/audio_host/README.md | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
