Re: RFC: GSound, a GObject library for playing system sounds



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]