Re: Different behavior between simulator and device
Re: Different behavior between simulator and device
- Subject: Re: Different behavior between simulator and device
- From: Bruce Meagher <email@hidden>
- Date: Thu, 14 Jul 2011 09:14:43 -0700
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.
I believe from what you describe your audio session category needs to be set to kAudioSessionCategory_PlayAndRecord. See <http://developer.apple.com/library/ios/#DOCUMENTATION/Audio/Conceptual/AudioSessionProgrammingGuide/Configuration/Configuration.html>
Just a thought...
Bruce
On Jul 14, 2011, at 5:00 AM, Jokke Heikkila wrote:
> On 13 July 2011 22:29, tahome izwah <email@hidden> wrote:
>> Are you using float data type for anything? This will work on the sim
>> but not on the device.
>
> Only inside the listener class's render callback. There I convert into
> float before FFT analysis, but the thing is that on the device my
> render callback is never called.
_______________________________________________
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