• 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
AudioOutputUnitStart() returns -50 for iOS RemoteIO unit, but only for Ad Hoc Distribution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.com
http://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

  • Prev by Date: Re: Using Apple virtual instruments from my software
  • Next by Date: Re: Using Apple virtual instruments from my software
  • Previous by thread: setting number of input/output channels in an audio unit
  • Next by thread: Detecting a beep in a movie file audio track
  • Index(es):
    • Date
    • Thread