Sounds for XMPP and IRC
matt.heidsick at oracle.com
Tue Feb 12 16:14:05 EST 2008
can this plugin then be done in Perl ? I am not familiar with
programming languages enough to do this myself but have some folks on my
team who could do it possibly. Are there any instructions somewhere on
how to construct a plugin with functions from the sound.h file ?
Luke Schierer wrote:
> no, just that you could use the functions it provides in your plugin
> to play the sounds. That'd make your plugin do the right thing on any
> given platform, without having to learn gstreamer and without using
> system() calls.
> On Feb 12, 2008, at 15:51 EST, Matt Heidsick wrote:
>> So would it be easier to modify the sound.h file to include the
>> sounds and triggers I need ? As you can tell I am pretty new with
>> this, though i have been using Pidgin ever since it was GAIM several
>> years back.
>> Casey Harkins wrote:
>>> On Tue, 2008-02-12 at 14:42 -0500, Luke Schierer wrote:
>>>> I do not know of one, but it really ought not to be hard. You could
>>>> hackishly do it in either C or perl with system() calls to play your
>>>> sounds, or you could do it more correctly by linking against gstreamer
>>>> and using it to play the sounds.
>>> Actually, libpurple provides API for playing sounds which would use the
>>> appropriate mechanism for the platform. (see libpurple/sound.h)
More information about the Devel