[Pidgin] #16669: Sound notifications should be pulseaudio "system sounds"

Pidgin trac at pidgin.im
Fri Feb 22 03:25:01 EST 2019


#16669: Sound notifications should be pulseaudio "system sounds"
-------------------------------+---------------------------
 Reporter:  hobarrera          |       Owner:
     Type:  defect             |      Status:  new
Milestone:                     |   Component:  pidgin (gtk)
  Version:  2.10.11            |  Resolution:
 Keywords:  pulseaudio, sound  |
-------------------------------+---------------------------

Comment (by bigon):

 Using libcanberra is pretty trivial to use actually

 Something like that seems to work:

 {{{
 +#ifdef USE_CANBERRA
 +       ca_context_play(ca_gtk_context_get(), 0,
 +               CA_PROP_MEDIA_FILENAME, filename, NULL);
 +       return;
 +#elif defined(USE_GSTREAMER)
 }}}

 The `CA_PROP_EVENT_DESCRIPTION` property should also probably set with the
 description of the action, this is know in `pidgin_sound_event` array, the
 problem is I'm not sure how to make that available as it would require
 changing `purple_sound_play_file()` if I'm not wrong

--
Ticket URL: <https://developer.pidgin.im/ticket/16669#comment:3>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list