pidgin  2.14.1
Sound Signals

Signals:

See also
sound.h

playing-sound-event

gboolean (*playing_sound_event)(PurpleSoundEventID event, PurpleAccount *account);
Description:
Emitted when libpurple is going to play a sound event. This can be used to cancel playing sound by returning TRUE.
Parameters
eventThe event this sound represents.
accountThe account the sound is being played for.
Returns
TRUE if the sound should not be played, or FALSE otherwise.
PurpleSoundEventID
enum _PurpleSoundEventID PurpleSoundEventID
Data Structures
_PurpleAccount
Structure representing an account.
Definition: account.h:170