Sounds for XMPP and IRC

Oliver ohardt at gmail.com
Tue Mar 4 20:23:02 EST 2008


I put together a little plugin that does this. It uses the sound.h
functions to play the sounds
and is configurable via a .xml file.

You can find it here: http://chat.ohardt.com/pidgin/


  Oliver




On Wed, Feb 13, 2008 at 12:37 PM, Luke Schierer <lschiere at pidgin.im> wrote:
> If you use libpurple calls to play the sound, and to deal with any
>  preferences, the resulting plugin will work in windows and unix.
>
>  luke
>
>  On Feb 13, 2008, at 11:16 EST, Matt Heidsick wrote:
>
>  > Are these suggestions for Linux only? How easy is it to make a
>  > plugin for Windows ?
>
>
> >
>  > 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.
>  >>
>  >> 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
>  >>>>
>  >>>>
>  >>>>
>  >>
>  >
>
>  _______________________________________________
>  Devel mailing list
>  Devel at pidgin.im
>  http://pidgin.im/cgi-bin/mailman/listinfo/devel
>




More information about the Devel mailing list