Re: gnome-triggers/gnome-sound/sound events



    Hi!

On Mon, Jul 16, 2001 at 01:32:45PM +0100, Bill Haneman wrote:
> Elliot Lee wrote:
> > When programs want to generate a .soundlist type of sound event (such as
> > "button clicked" or whatever) they ask gnome-session (via
> > gnome_client_app_event()) to make it happen.
> > 
> > So aside from s/gnome_triggers_do/gnome_client_app_event/, there's no
> > change from the app's viewpoint (and not many apps use this API anyways).
> > The main gain is from removing the dependency of tons of apps on libesd
> > and libaudiofile, to decrease startup time, memory footprint, and
> > dependencies in general.
> > 
> > -- Elliot
> 
> This has the added benefit of making it easy to support alternate,
> non-audio 'notifications' if the audio file is actually conveying
> (non-redundant) information.  This is good for accessibility for
> hearing impaired (and the audio-driver-impaired ;-)

To me centralizing this also sounds a lot better than linking each Gnome app
against libesd just to do some sound notifications.

It's also what KDE2 does (knotify runs as seperate service that handles
notifications, applications only communicate their events to knotify). It 
seems that the design works well.

   Cu... Stefan
-- 
  -* Stefan Westerfeld, stefan space twc de (PGP!), Hamburg/Germany
     KDE Developer, project infos at http://space.twc.de/~stefan/kde *-         




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]