[gstreamer-bugs] [Bug 336075] ALSA emu10k1 mixer tracks are wrongly classified as playback tracks

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Mar 28 02:15:28 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=336075
 GStreamer | gst-plugins | Ver: 0.10.x





------- Comment #2 from Viktor Peters  2006-03-28 10:15 UTC -------
Another bug in gstalsamixer.c:

If an alsa track has both, capture and playback volume, channels for this track
may be counted wrong:

gstalsamixer.c:139: 'channels' initialized to 0

   gint channels = 0;

gstalsamixer.c:166: 'channels' used for counting capture channels

   if (snd_mixer_selem_has_capture_volume (element)) {
      while (snd_mixer_selem_has_capture_channel (element, channels))
        channels++;

        [...]
    }

gstalsamixer.c:179: 'channels' used for counting playback channels without
being reset to 0!!!!

    if (snd_mixer_selem_has_playback_volume (element)) {
      while (snd_mixer_selem_has_playback_channel (element, channels))
        channels++;

      [...] 
    }



-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list