summaryrefslogtreecommitdiff
path: root/examples/host/audio_host/src/audio_app.c
diff options
context:
space:
mode:
authorHiFiPHile <[email protected]>2026-08-26 15:54:38 +0200
committerHiFiPHile <[email protected]>2026-08-27 10:34:33 +0200
commitcca648556dd0c096aa7210ee5a2b962efae36440 (patch)
treecbf897160767f5dab6b762ce7fc4fbe3b828f35e /examples/host/audio_host/src/audio_app.c
parent804e54f9e59dc2b6442844d1194581e2b39c35b1 (diff)
audio: add UAC2 host streaming support
Add protocol-selectable UAC1/UAC2 parsing, UAC2 terminal and Feature Unit topology, Clock Source discovery, sampling-frequency ranges, and protocol-specific stream controls. Cover UAC2 playback, capture, control discovery, and malformed descriptors with unit tests. Signed-off-by: HiFiPHile <[email protected]>
Diffstat (limited to 'examples/host/audio_host/src/audio_app.c')
-rw-r--r--examples/host/audio_host/src/audio_app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/audio_host/src/audio_app.c b/examples/host/audio_host/src/audio_app.c
index 9a1434284..4623dff5a 100644
--- a/examples/host/audio_host/src/audio_app.c
+++ b/examples/host/audio_host/src/audio_app.c
@@ -30,7 +30,7 @@
// - SAMPLE_RATES: sample rates tried in order, first match wins (44.1 kHz stereo by default)
#define AUDIO_MAX_FRAME_COUNT 48
#define AUDIO_MAX_CHANNELS 2
-#define SAMPLE_RATES {48000, 44100}
+#define SAMPLE_RATES {44100, 48000}
#define FEATURE_UNIT_VOLUME_DB (-6 * 256)
static uint8_t audio_idx = TUSB_INDEX_INVALID_8; // index of the selected audio device
static uint8_t cap_stream_idx = TUSB_INDEX_INVALID_8; // capture stream index