Thanks Anthony!
Yes, I found that myself today.
Sorry for the fuss.

Thanks,
Beinan


On Tue, Oct 28, 2014 at 8:14 PM, Anthony Myatt <[email protected]> wrote:

> Hello Beinan,
>
> I haven’t tested this, but I suspect that when you call “ [[AVAudioSession
> sharedInstance] setActive:YES error:&error] “, that it would return NO and
> ‘error’ would contain the code AVAudioSessionErrorCodeSiriIsRecording.
>
>
> Regards,
>
> Anthony
>
>
> > On 29 Oct 2014, at 6:28 am, Beinan Li <[email protected]> wrote:
> >
> > Hello CoreAudio:
> >
> > My app can be interrupted by SIRI before registering an interruption
> notification using AVAudioSession. The route-change notification is not
> registered at the time either.
> >
> > The app needs to tell the difference between waking up from SIRI's
> interruption
> > and something else. So I need an indicator or notification related to
> SIRI.
> >
> > According to Xcode doc, there is only an error code:
> AVAudioSessionErrorCodeSiriIsRecording related to SIRI in the AudioSession
> support. And I don't even know how to retrieve it.
> >
> > Is there a way get more info on the SIRI status at runtime?
> >
> > Thanks,
> > Beinan
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Coreaudio-api mailing list      ([email protected])
> > Help/Unsubscribe/Update your Subscription:
> >
> https://lists.apple.com/mailman/options/coreaudio-api/me%40anthonymyatt.net
> >
> > This email sent to [email protected]
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to