Re: [NSSound isPlaying] fails to indicate sound termination in Lion
Re: [NSSound isPlaying] fails to indicate sound termination in Lion
- Subject: Re: [NSSound isPlaying] fails to indicate sound termination in Lion
- From: Charles Srstka <email@hidden>
- Date: Mon, 23 Jul 2012 03:08:21 -0500
On Jul 23, 2012, at 2:53 AM, Jay Reynolds Freeman wrote:
> Using a delegate with the call-back method did indeed solve the problem. I have filed a bug report about this one, because the documentation for -NSSound isPlaying is simply wrong: That method does not always return a valid answer under 10.7.4. (And because it did work as documented under 10.6.8, I now have an app in the field that will break when users run it under Lion. Apple changed functionality in a non-backward compatible manner without even documenting the new behavior.)
If you’re going to write a bug report against every asynchronous Apple API that doesn’t work properly if the main thread is blocked, you’re going to be writing a lot of bug reports.
Charles
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden