summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorHiFiPHile <[email protected]>2026-09-03 04:45:48 +0200
committerHiFiPHile <[email protected]>2026-09-03 04:46:14 +0200
commitef404be0337b1486b0a45acd248639ac8dea6c15 (patch)
tree7e8f5f8e6489e4f75f0486848a80eba7d88f2731 /src/class
parent1ff684a07ec5d80a89ba82276139a202288b7716 (diff)
improve example details
Signed-off-by: HiFiPHile <[email protected]>
Diffstat (limited to 'src/class')
-rw-r--r--src/class/audio/audio_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/class/audio/audio_host.h b/src/class/audio/audio_host.h
index 9ce8410c6..95911ab3b 100644
--- a/src/class/audio/audio_host.h
+++ b/src/class/audio/audio_host.h
@@ -114,6 +114,9 @@ typedef struct {
uint8_t channels;
} tuh_audio_stream_config_t;
+// Feature Unit channel zero selects the master channel.
+#define TUH_AUDIO_CHANNEL_MASTER 0
+
// Volume values are signed 1/256 dB. INT16_MIN represents silence.
#define TUH_AUDIO_VOLUME_SILENCE INT16_MIN