Re: RFC: GSound, a GObject library for playing system sounds
- From: Marcus Karlsson <mk acc umu se>
- To: Tristan Brindle <tcbrindle gmail com>
- Cc: desktop-devel-list <desktop-devel-list gnome org>
- Subject: Re: RFC: GSound, a GObject library for playing system sounds
- Date: Fri, 5 Dec 2014 07:55:53 +0100
On Fri, Dec 05, 2014 at 01:42:55PM +0800, Tristan Brindle wrote:
I think we’d have to lose the nice async functions that GSound has, because Windows and Mac don’t seem to
give you callbacks when the sound has finished.
NSSoundDelegate has a sound:didFinishPlaying: callback [1] on OS X so it
should at least be possible to implement them with NSSound over there.
Marcus
[1]
https://developer.apple.com/Library/mac/documentation/MusicAudio/Reference/NSSoundDelegate_Protocol/index.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]