Re: Playing a sound in GNOME
- From: Davyd Madeley <davyd madeley id au>
- To: jono jonobacon org
- Cc: tommi asiala info, "Nickolay V. Shmyrev" <nshmyrev yandex ru>, desktop-devel-list <desktop-devel-list gnome org>, William Jon McCann <mccann jhu edu>
- Subject: Re: Playing a sound in GNOME
- Date: Tue, 31 Oct 2006 11:35:42 +0000
On Tue, 2006-10-31 at 11:09 +0000, Jono Bacon wrote:
> On 10/30/06, Richard Hughes <hughsient gmail com> wrote:
> > I think whatever is done, there needs to be a way for application "foo"
> > to play file "ding.wav" without worrying about the intricacies of
> > gstreamer. Don't get me wrong, the gstreamer API is great (and really
> > powerful) but somewhat complicated when you just want a "alert" sound
> > from the speakers.
>
> I think we need to ensure that these kinds of things are simple for
> application developers, but we also don't want to undermine the really
> powerful GStreamer framework by stepping over it.
>
> To me the solution here is a small API that talks to GStreamer that
> makes these things easier. A very small Phonon equivilent if you like.
> I am not talking about abstracting lots of sound backends away like
> Phonon does, but just providing a bunch of methods to make a ding or
> equivalent message which in turn generates the relevant GStreamer
> pipeline.
Perhaps the answer is to fix up the existing API:
http://developer.gnome.org/doc/API/2.0/libgnome/libgnome-gnome-sound.html
The API currently depends on libesd, because it does things like server
side caching. Porting it to GStreamer and retaining all functionality
would involve writing a caching interface for GStreamer.
--d
--
Davyd Madeley
http://www.davyd.id.au/
08B0 341A 0B9B 08BB 2118 C060 2EDD BB4F 5191 6CDA
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]