NSSpeechSynthesizer / DarkWake interaction
NSSpeechSynthesizer / DarkWake interaction
- Subject: NSSpeechSynthesizer / DarkWake interaction
- From: Jay Reynolds Freeman <email@hidden>
- Date: Tue, 14 Aug 2012 23:30:59 -0700
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
---------------------
email@hidden
http://JayReynoldsFreeman.com (personal web site)
_______________________________________________
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