[gstreamer-bugs] [Bug 325780] New: add an alsadmix sink and use esdsink as a fallback

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jan 4 10:26:38 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=325780
 GStreamer | gst-plugins-base | Ver: 0.10.0

           Summary: add an alsadmix sink and use esdsink as a fallback
           Product: GStreamer
           Version: 0.10.0
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: martin.pitt at canonical.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi!

This was already discussed in #gstreamer, thanks again for your great help! I
would like to put my final patches here for the records and for your
consideration whether to adopt it.

In Ubuntu we modified the current gstreamer sink structure a bit according to
https://wiki.ubuntu.com/GstreamerAudioBackend. In short: We want to use ALSA by
default, but only if dmix works (or, more precisely, if ALSA can play multiple
sounds at the same time). There is a (not too small) minority of cards where
dmix does not work; to retain mixing, we want to fallback to esound in these
cases.

Implementation:
 * I added a new sink 'alsadmixsink' which only succeeds to open if the sound
device can be opened twice.
 * The sink priorities were changed as follows: alsadmixsink > esdsink >
alsasink.
 * esd is configured to not run by default, but is started when somebody
actually wants to talk to it (auto_spawn=1 in esound.conf)

Would you like to adopt this approach? I will attach the patches here.

Thanks,

Martin


-- 
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