mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
Build with GCC 2.95 (i.e. pre-C99)
Original commit message from CVS: Build with GCC 2.95 (i.e. pre-C99)
This commit is contained in:
parent
112f838c18
commit
1c2fe90b01
1 changed files with 3 additions and 2 deletions
|
@ -211,6 +211,7 @@ gst_alsa_mixer_build_list (GstAlsaMixer *mixer)
|
||||||
{
|
{
|
||||||
gint i, count;
|
gint i, count;
|
||||||
snd_mixer_elem_t *element;
|
snd_mixer_elem_t *element;
|
||||||
|
GstMixerTrack *track;
|
||||||
|
|
||||||
g_return_if_fail (((gint) mixer->mixer_handle) != -1);
|
g_return_if_fail (((gint) mixer->mixer_handle) != -1);
|
||||||
|
|
||||||
|
@ -232,7 +233,7 @@ gst_alsa_mixer_build_list (GstAlsaMixer *mixer)
|
||||||
while (snd_mixer_selem_has_capture_channel(element, channels))
|
while (snd_mixer_selem_has_capture_channel(element, channels))
|
||||||
channels++;
|
channels++;
|
||||||
|
|
||||||
GstMixerTrack *track = gst_alsa_mixer_track_new
|
track = gst_alsa_mixer_track_new
|
||||||
(element, i, channels, GST_MIXER_TRACK_INPUT);
|
(element, i, channels, GST_MIXER_TRACK_INPUT);
|
||||||
mixer->tracklist = g_list_append (mixer->tracklist, track);
|
mixer->tracklist = g_list_append (mixer->tracklist, track);
|
||||||
}
|
}
|
||||||
|
@ -247,7 +248,7 @@ gst_alsa_mixer_build_list (GstAlsaMixer *mixer)
|
||||||
while (snd_mixer_selem_has_playback_channel(element, channels))
|
while (snd_mixer_selem_has_playback_channel(element, channels))
|
||||||
channels++;
|
channels++;
|
||||||
|
|
||||||
GstMixerTrack *track = gst_alsa_mixer_track_new
|
track = gst_alsa_mixer_track_new
|
||||||
(element, i, channels, GST_MIXER_TRACK_OUTPUT);
|
(element, i, channels, GST_MIXER_TRACK_OUTPUT);
|
||||||
mixer->tracklist = g_list_append (mixer->tracklist, track);
|
mixer->tracklist = g_list_append (mixer->tracklist, track);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue