• 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
Audio Session error code of -4 on iphone simulator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Audio Session error code of -4 on iphone simulator


  • Subject: Audio Session error code of -4 on iphone simulator
  • From: Bruce Meagher <email@hidden>
  • Date: Mon, 9 Feb 2009 13:51:22 -0800

Hi all,

I'm working on an iphone app that uses the audio queue services to playback short AAC sound files. I'm able to play the sounds fine on both the iphone simulator as well as the actual device, however when I run on the simulator I get an OSStatus error code of -4 to my calls to AudioSessionInitialize and AudioSessionSetActive. I've searched the header files and the mail archives and can't seem to find any info on this error code (it's probably right in front of me...). I've check the return values on the same calls in the SpeakHere sample code and get the same -4 error code when running on the simulator.

Finally, I ran the code on a different mac computer today and did not get any errors so I'm pretty sure it's my imac that's somehow messed up. Any suggestions besides reinstalling the SDK, and any hints where this error code might be documented?

Thanks,

Bruce
_______________________________________________
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: Audio Session error code of -4 on iphone simulator
      • From: William Stewart <email@hidden>
    • Re: Audio Session error code of -4 on iphone simulator
      • From: Hamish Allan <email@hidden>
  • Prev by Date: Re: More Master Mute info
  • Next by Date: Re: Audio Session error code of -4 on iphone simulator
  • Previous by thread: Re: More Master Mute info
  • Next by thread: Re: Audio Session error code of -4 on iphone simulator
  • Index(es):
    • Date
    • Thread