I have an app that uses the callback "speechSynthesizer:didFinishSpeaking:" 
from NSSpeechSynthesizerDelegate to synchronize things at the end of an 
utterance.  I am not sure what happens if I tell my NSSpeechSynthesizer 
instance to start speaking while the Macintosh is in DarkWake, and also about 
what happens if the Macintosh should happen to enter DarkWake after the 
instance has started speaking, but before the callback.  My app could hang if 
it ever told an instance of NSSpeechSynthesizer to start speaking but never 
received the callback.  The issue is whether the callback gets sent if audio is 
disabled.

I suspect that the disabling of audio for DarkWake is at the hardware level, so 
that NSSpeechSynthesizer doesn't even know DarkWake is active, but I am not 
sure.  Does anyone know if DarkWake affects the operation of the 
NSSpeechSynthesizer software?

I have done the usual search but not found anything useful.

--  Jay Reynolds Freeman
---------------------
jay_reynolds_free...@mac.com
http://JayReynoldsFreeman.com (personal web site)





_______________________________________________

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