Commit a56652b2 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

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.
parent e953cf18
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):
......
......@@ -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 */
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment