Re: kAudioDevicePropertyHogMode and NSSpeechSynthesizer...
Re: kAudioDevicePropertyHogMode and NSSpeechSynthesizer...
- Subject: Re: kAudioDevicePropertyHogMode and NSSpeechSynthesizer...
- From: Travis Siegel <email@hidden>
- Date: Mon, 7 Jun 2010 22:20:02 -0500
On Jun 3, 2010, at 7:45 PM, charlie wrote:
I can obtain and relinquish exclusive control of the built-in output
device using kAudioDevicePropertyHogMode. This works perfectly.
But, after obtaining exclusive control of the built-in output
device, NSSpeechSynthesizer does not work (from within the same app/
pid).
Just something to consider here.
I don't know how/if this affects voiceover, but if you (eventually)
have folks that depend on voiceover for their comuter usage, and your
app blocks all that output, those folks would have a hard time using
the application w/o sighted assistance. Is it really necessary to
prevent playing of *all* audio during the test? is it really likely
folks will have audio files describing info they'd need during the
test. I'd find it far more likely they'd have notes they could/would
load in text edit or something similar rather than audio notes.
Nothing wrong with doing what you're suggesting if it's truly
necessary, but please keep in mind that some folks are going to need
voiceover for their computer usage, and if your app blocks that from
working, they'll be truly and royally hosed if your app interrupts
it's usage.
Just something to consider.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden