Re: How to play wav sound effect in gtk??



In message <20001126233613 A20416 spew ugcs caltech edu>you write:
>> >I want set my widget to play sound effect when some event happen.
>> >Have any gtk function can do it?
>> >or other C,linux function can do it?
>
>Don't mind the flame you got earlier. Some people just like doing that.
>Check out the following web-page for what you need.
>
>http://developer.gnome.org/doc/API/libgnome/gnome-gnome-sound.html

some people don't know what they are talking about, and some people
would like to see developers avoid half-baked, incomplete, ill-thought
out solutions.

the gnome sound stuff is a crock. it might work on a significant
number of systems, but it will not work on all of them. so, as i noted
before, either the sounds really matter, in which case this is a bad
solution since people running the app on systems where the gnome sound
stuff does not work will miss them. or the sounds don't matter and
they are just ear candy. if they are just ear candy, thats OK, but a
developer may want to consider whether its worth it.

there are no linux-wide (let alone unix or posix-wide) standards for
playing sounds at this time. any claim to the contrary, including the
docs on gnome-sound, is simply misleading. in addition, most people
who know anything about esd, the sound server used by gnome, regard it
as a very poor piece of design in need of replacement. unfortunately,
nobody can quite agree on what the replacement should be. KDE has
chosen the aRts sound server instead, which is a better solution but
it will still not provide a universal solution for programs that
*must* cause a sound to be played at some point in their execution.

--p




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