pulse: add some more channels

This commit is contained in:
Wim Taymans 2011-08-24 18:40:07 +02:00
parent e9df54819c
commit 34ea60526d

View file

@ -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
};