[gstreamer-bugs] [Bug 346665] New: API: sound server interface

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jul 5 08:56:18 PDT 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=346665
 GStreamer | gst-plugins-base | Ver: HEAD CVS

           Summary: API: sound server interface
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.sourceforge.net
OtherBugsDependingO 343051
             nThis:
     GNOME version: Unspecified
   GNOME milestone: Unspecified


It would be nice to have an interface for elements interoperating with sound
servers.

Two methods seem particularly useful (for autoaudiosink for example, see bug
#343051):

 - sound_server_is_running()
   to check whether a server is running currently

 - sound_server_is_requested()
   to check whether the user explicitely requested to use a
   sound server (e.g. by setting environment variables)

It seems cleaner to me to do this with an interface (compared to using object
properties).

Proposed patch attached.

Not sure if it should be GstSoundServer or GstSoundServerControl or
GstSoundServerInfo or whatever, GstSoundServer seems most flexible though (and
is the shortest).

There might be a better name for the is_requested() method as well, but I can't
think of one right now.


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