Le 2014-12-05 04:33, Tristan Brindle a écrit :
On 5 Dec 2014, at 1:42 pm, Tristan Brindle <t.c.brin...@gmail.com> wrote:

It looks like the Windows equivalent is the PlaySound() function[0].

So I guess there are a couple of possible approaches if we don’t want GSound to 
stay as a separate library:
Having given it a bit more thought, there is a potential (possibly crazy) third 
option:


3) Add the GSound API to GIO as an extension point, but implement it directly 
using GStreamer, and don’t use libcanberra at
Setting up GST each time will be too slow. Having GST linked around will also have the side effect that one 1 of 0.10 or 1.0 will be usable with GLib app. 0.10 is nearly dead, but it's still a little bit soon for that. Doing it with pulse will be better, as you can upload your sound, and get it to play when needed. Some Alsa code, as a fallback to not having pulse would work relyably to. Obviously you'll need OSS for BSD and friends.

Nicolas

_______________________________________________
desktop-devel-list mailing list
desktop-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to