summaryrefslogtreecommitdiff
path: root/ext/opus/gstopuscommon.c
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-11-25 12:47:42 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-11-25 15:31:59 +0000
commit65079e3adaa34831202bed7e650f4f0cb47ec3ff (patch)
tree119dc75397ac891ee317cd76b9d47cdc35fed010 /ext/opus/gstopuscommon.c
parent2e0e11867634d513a448cdf5d07984cf81e0a0ed (diff)
downloadgstreamer-plugins-bad-65079e3adaa34831202bed7e650f4f0cb47ec3ff.tar.gz
opus: add some more debug information about channel mapping
Diffstat (limited to 'ext/opus/gstopuscommon.c')
-rw-r--r--ext/opus/gstopuscommon.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/opus/gstopuscommon.c b/ext/opus/gstopuscommon.c
index fc3e0376b..426c5b897 100644
--- a/ext/opus/gstopuscommon.c
+++ b/ext/opus/gstopuscommon.c
@@ -70,3 +70,19 @@ const GstAudioChannelPosition gst_opus_channel_positions[][8] = {
GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT,
GST_AUDIO_CHANNEL_POSITION_LFE},
};
+
+const char *gst_opus_channel_names[] = {
+ "mono",
+ "front left",
+ "front right",
+ "rear center",
+ "rear left",
+ "rear right",
+ "lfe",
+ "front center",
+ "front left of center",
+ "front right of center",
+ "side left",
+ "side right",
+ "none"
+};