Created attachment 550239
Add pulseaudio support for GTK nsISound.play impl

This patch adds support for using Pulseaudio in nsISound.play() with
gtk. I initially wrote this to use libcanberra (ca_context_play with
CA_PROP_MEDIA_FILENAME). However, this only works for local file paths
and I realized that nsISound.play takes a URI, so I ended up just
feeding the stream directly to Pulseaudio instead.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732572

Title:
  New Mail Notification Sound does not play in Natty

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/732572/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to