• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Different behavior between simulator and device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Different behavior between simulator and device
      • From: Jokke Heikkila <email@hidden>
References: 
 >Different behavior between simulator and device (From: Jokke Heikkila <email@hidden>)
 >Re: Different behavior between simulator and device (From: tahome izwah <email@hidden>)
 >Re: Different behavior between simulator and device (From: Jokke Heikkila <email@hidden>)

  • Prev by Date: Core Audio Clock Timestamps and plugging in Headphones
  • Next by Date: Re: Different behavior between simulator and device
  • Previous by thread: Re: Different behavior between simulator and device
  • Next by thread: Re: Different behavior between simulator and device
  • Index(es):
    • Date
    • Thread