From 34ea60526d99e87aa2cbb6d7fa4ab57f48a4f182 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 24 Aug 2011 18:40:07 +0200 Subject: [PATCH] pulse: add some more channels --- ext/pulse/pulseutil.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ext/pulse/pulseutil.c b/ext/pulse/pulseutil.c index a16ddaf697..196e39c868 100644 --- a/ext/pulse/pulseutil.c +++ b/ext/pulse/pulseutil.c @@ -49,6 +49,19 @@ static const pa_channel_position_t gst_pos_to_pa[GST_AUDIO_CHANNEL_POSITION_NUM] PA_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER, [GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT] = PA_CHANNEL_POSITION_SIDE_LEFT, [GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT] = PA_CHANNEL_POSITION_SIDE_RIGHT, + [GST_AUDIO_CHANNEL_POSITION_TOP_CENTER] = PA_CHANNEL_POSITION_TOP_CENTER, + [GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_LEFT] = + PA_CHANNEL_POSITION_TOP_FRONT_LEFT, + [GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_RIGHT] = + PA_CHANNEL_POSITION_TOP_FRONT_RIGHT, + [GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_CENTER] = + PA_CHANNEL_POSITION_TOP_FRONT_CENTER, + [GST_AUDIO_CHANNEL_POSITION_TOP_REAR_LEFT] = + PA_CHANNEL_POSITION_TOP_REAR_LEFT, + [GST_AUDIO_CHANNEL_POSITION_TOP_REAR_RIGHT] = + PA_CHANNEL_POSITION_TOP_REAR_RIGHT, + [GST_AUDIO_CHANNEL_POSITION_TOP_REAR_CENTER] = + PA_CHANNEL_POSITION_TOP_REAR_CENTER, [GST_AUDIO_CHANNEL_POSITION_NONE] = PA_CHANNEL_POSITION_INVALID };