gst-libs/gst/audio/multichannel.c: Const-ify two arrays.

Original commit message from CVS:
* gst-libs/gst/audio/multichannel.c:
(gst_audio_check_channel_positions),
(gst_audio_fixate_channel_positions):
Const-ify two arrays.
This commit is contained in:
Tim-Philipp Müller 2006-07-17 13:48:10 +00:00
parent e953cf18fd
commit a56652b204
2 changed files with 13 additions and 6 deletions

View file

@ -1,3 +1,10 @@
2006-07-17 Tim-Philipp Müller <tim at centricular dot net>
* gst-libs/gst/audio/multichannel.c:
(gst_audio_check_channel_positions),
(gst_audio_fixate_channel_positions):
Const-ify two arrays.
2006-07-17 Tim-Philipp Müller <tim at centricular dot net>
* ext/alsa/gstalsa.c: (caps_add_channel_configuration):

View file

@ -42,10 +42,10 @@ gst_audio_check_channel_positions (const GstAudioChannelPosition * pos,
gint channels)
{
gint i, n;
struct
const struct
{
GstAudioChannelPosition pos1[2];
GstAudioChannelPosition pos2[1];
const GstAudioChannelPosition pos1[2];
const GstAudioChannelPosition pos2[1];
} conf[] = {
/* front: mono <-> stereo */
{ {
@ -491,10 +491,10 @@ gst_audio_fixate_channel_positions (GstStructure * str)
* either one until all unknown values are filled. This might not work in
* corner cases but should work OK for the general case.
*/
struct
const struct
{
GstAudioChannelPosition pos1[2];
GstAudioChannelPosition pos2[1];
const GstAudioChannelPosition pos1[2];
const GstAudioChannelPosition pos2[1];
} conf[] = {
/* front: mono <-> stereo */
{ {