summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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