AudioOutputUnitStart() returns -50 for iOS RemoteIO unit, but only for Ad Hoc Distribution
AudioOutputUnitStart() returns -50 for iOS RemoteIO unit, but only for Ad Hoc Distribution
- Subject: AudioOutputUnitStart() returns -50 for iOS RemoteIO unit, but only for Ad Hoc Distribution
- From: Doug McCoy <email@hidden>
- Date: Mon, 22 Nov 2010 11:24:49 -0800
I have an app that works fine when installed on an iPod Touch using a development provision, but fails with an ad hoc provision.
AudioOutputUnitStart() returns -50 for the RemoteIO unit when the app is installed as ad hoc. I have verified that ALL build settings are the same for both builds. The only difference is the provisioning profile.
Is there any reason Coreaudio APIs should behave differently according to provisioning profiles? Any one else seen this?
both in/out formats are:
audioFormatIn.mSampleRate = 22050;
audioFormatIn.mFormatID = kAudioFormatLinearPCM;
audioFormatIn.mFormatFlags = kAudioFormatFlagIsSignedInteger | kAudioFormatFlagIsPacked;
audioFormatIn.mFramesPerPacket = 1;
audioFormatIn.mChannelsPerFrame = 2;
audioFormatIn.mBitsPerChannel = 16;
audioFormatIn.mBytesPerPacket = 4;
audioFormatIn.mBytesPerFrame = 4;
---
Check out my new iPhone app, FlipTalk. Once featured on the iTunes App Store "What's Hot" list!
http://fliptalkapp.comhttp://itunes.com/apps/FlipTalk/http://tinyurl.com/FlipTalkYoutube
_______________________________________________
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