Re: Audio Session error code of -4 on iphone simulator
Re: Audio Session error code of -4 on iphone simulator
- Subject: Re: Audio Session error code of -4 on iphone simulator
- From: William Stewart <email@hidden>
- Date: Mon, 9 Feb 2009 14:30:14 -0800
-4 is unimpErr (un implemented) - you are trying to do something of
which there is no implementation support for it.
We generally just have these calls default on the Sim, but I can't see
this being returned anywhere, so not sure how you are getting to that
On Feb 9, 2009, at 1:51 PM, Bruce Meagher wrote:
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
_______________________________________________
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