Re: kAudioDevicePropertyHogMode and NSSpeechSynthesizer...
Re: kAudioDevicePropertyHogMode and NSSpeechSynthesizer...
- Subject: Re: kAudioDevicePropertyHogMode and NSSpeechSynthesizer...
- From: "charlie" <email@hidden>
- Date: Fri, 04 Jun 2010 00:56:08 +0000
To be clear, when I say it's "working perfectly", I mean that other
apps stop emitting sound after I gain exclusive control of the output
device and then resume emitting sound again after I relinquish
exclusive control.
The only sound my app will be generating is NSSpeechSynthesizer
text-to-speech.
Do I need to tell NSSpeechSynthesizer that we're in exclusive output
mode somehow? Do I need to "select" the output device somehow after
entering exclusive mode for that device?
Thanks.
Chuck
On June 3, 2010 08:45:51 P.M. EDT, charlie <email@hidden> 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).
Anyone know how I can get NSSpeechSynthesizer to work while in
exclusive output mode?
Thanks.
Chuck
_______________________________________________
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
_______________________________________________
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