Re: Different behavior between simulator and device [solved]
Re: Different behavior between simulator and device [solved]
- Subject: Re: Different behavior between simulator and device [solved]
- From: Jokke Heikkila <email@hidden>
- Date: Mon, 25 Jul 2011 13:58:11 +0300
On 14 July 2011 19:14, Bruce Meagher <email@hidden> wrote:
> One possibility might be that you are incorrectly setting up the audio session. From previous experience I believe the simulator ignores the audio session category, whereas it is definitely required on the device.
Just looking my issue again, and I experienced face palm moment. Your
hunch above was correct. As I said I have two AUGraphs and I managed
to overlook that I was setting the session category back to
'AVAudioSessionCategoryPlayback' in the sine wave generator class.
Cleaned up the code and moved the AVSession setup code to one place
and now all is working again.
Filing bug for the simulator not respecting the session category setting.
jokke
_______________________________________________
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