summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2022-02-15 20:51:30 -0500
committerXANTRONIX Development2022-02-15 20:51:30 -0500
commit1a20363a470b94e4ebf63819cd3a8adf6347cf29 (patch)
treef197900e4991255e67b7f4fe2adf449bed46c94e
parent45b88124dbf7dd2a9b276b32f47c1daf549f0779 (diff)
downloadxas-1a20363a470b94e4ebf63819cd3a8adf6347cf29.tar.gz
xas-1a20363a470b94e4ebf63819cd3a8adf6347cf29.tar.bz2
xas-1a20363a470b94e4ebf63819cd3a8adf6347cf29.zip
Add #define values for left and right channels
-rw-r--r--include/xas/audio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xas/audio.h b/include/xas/audio.h
index b18a2d2..ab6bce4 100644
--- a/include/xas/audio.h
+++ b/include/xas/audio.h
@@ -10,6 +10,9 @@
#define XAS_AUDIO_MONO 1
#define XAS_AUDIO_STEREO 2
+#define XAS_AUDIO_STEREO_LEFT 0
+#define XAS_AUDIO_STEREO_RIGHT 1
+
enum xas_audio_stream_type {
XAS_AUDIO_STREAM_SINK,
XAS_AUDIO_STREAM_SOURCE