On Apr 19, 2013, at 13:40:12, Mike Abdullah <cocoa...@mikeabdullah.net> wrote:

> Why is it causing an interruption? That sounds suspicious to me.

Just because. This isn't simply ol' audio playback. This is a lot more complex. 
Go with it.

> It sounds like you might want to have your -write… routine check 
> -autosavingIsImplicitlyCancellable and bail if it returns YES during playback.

But it's not that I want to cancel a save, I just want it to be skipped until 
we stop playback. I tried returning NO from hasUnautosavedChanges if it's 
called during playback, but this seems to prevent autosave from firing again, 
even if I make changes to the doc, which causes updateChangeCount:NSChangeDone.

--
Steve Mills
Drummer, Mac geek


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to