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: Bruce Meagher <email@hidden>
- Date: Mon, 9 Feb 2009 15:29:49 -0800
Thanks for the reply Bill. Your explanation of (un implemented) error
sparked my memory that a few months ago I remove some quicktime audio
files (out of /library/quicktime) to get AAC working on the iphone
simulator. I have Final Cut Studio installed and for some reason AAC
didn't work in the simulator. When I looked for a solution someone
mentioned there was a version conflict with what final cut installed
and the simulator so I moved some of the components out /library/
quicktime and it worked. Clearly, I had no clue what I was doing, but
now I know where I probably messed things up.
Thanks,
Bruce
On Feb 9, 2009, at 2:30 PM, William Stewart wrote:
-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:
@apple.com
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