mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 03:56:16 +00:00
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:
parent
e953cf18fd
commit
a56652b204
2 changed files with 13 additions and 6 deletions
|
@ -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>
|
2006-07-17 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* ext/alsa/gstalsa.c: (caps_add_channel_configuration):
|
* ext/alsa/gstalsa.c: (caps_add_channel_configuration):
|
||||||
|
|
|
@ -42,10 +42,10 @@ gst_audio_check_channel_positions (const GstAudioChannelPosition * pos,
|
||||||
gint channels)
|
gint channels)
|
||||||
{
|
{
|
||||||
gint i, n;
|
gint i, n;
|
||||||
struct
|
const struct
|
||||||
{
|
{
|
||||||
GstAudioChannelPosition pos1[2];
|
const GstAudioChannelPosition pos1[2];
|
||||||
GstAudioChannelPosition pos2[1];
|
const GstAudioChannelPosition pos2[1];
|
||||||
} conf[] = {
|
} conf[] = {
|
||||||
/* front: mono <-> stereo */
|
/* 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
|
* either one until all unknown values are filled. This might not work in
|
||||||
* corner cases but should work OK for the general case.
|
* corner cases but should work OK for the general case.
|
||||||
*/
|
*/
|
||||||
struct
|
const struct
|
||||||
{
|
{
|
||||||
GstAudioChannelPosition pos1[2];
|
const GstAudioChannelPosition pos1[2];
|
||||||
GstAudioChannelPosition pos2[1];
|
const GstAudioChannelPosition pos2[1];
|
||||||
} conf[] = {
|
} conf[] = {
|
||||||
/* front: mono <-> stereo */
|
/* front: mono <-> stereo */
|
||||||
{ {
|
{ {
|
||||||
|
|
Loading…
Reference in a new issue