Sounds for XMPP and IRC
Luke Schierer
lschiere at pidgin.im
Tue Feb 12 15:57:32 EST 2008
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.
luke
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.
>
> Matt
>
> 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)
>>
>> -casey
>>
>>
>>
More information about the Devel
mailing list