Re: New error in iPhone OS 3.1.1
Re: New error in iPhone OS 3.1.1
- Subject: Re: New error in iPhone OS 3.1.1
- From: Evan Olcott <email@hidden>
- Date: Thu, 10 Sep 2009 20:18:10 -0500
On Sep 10, 2009, at 3:48 PM, Doug Wyatt wrote:
This error is getting propagated up from a routing layer beneath
AudioSession. It seems to indicate:
- the session's category requires audio input
- there is currently no audio input device present
Should these conditions both be true?
I'm a bit surprised that AUGraphConnectNodeInput would trigger this
chain of events. What are you connecting to what? Is the graph
running?
There are two apps that come up with this error, each with a different
design:
App 1: The category is set to kAudioSessionCategory_MediaPlayback,
returns no error. The error happens later on the
AUGraphConnectNodeInput call, connecting the output of a
kAudioUnitSubType_AUConverter to the input of a
kAudioUnitSubType_RemoteIO. At this point the graph is nearing the end
of construction (it's been initialized), but it is not yet running.
App 2: The category is set to kAudioSessionCategory_PlayAndRecord,
returns no error. The error happens on the AudioSessionSetActive call,
placed soon afterward. At this point the graph has not yet been
constructed.
Are apps expected now to check for input hardware changes and set
categories accordingly during the run of the app? Even so, the
kAudioSessionCategory_MediaPlayback category doesn't take input,
correct?
HTH, let us know what you find.
Ev
Senior Software Developer
Audiofile Engineering
http://www.audiofile-engineering.com/
_______________________________________________
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