• 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
Re: initializing remoteIO AU on iphone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: initializing remoteIO AU on iphone


  • Subject: Re: initializing remoteIO AU on iphone
  • From: Doug Wyatt <email@hidden>
  • Date: Wed, 31 Mar 2010 18:37:25 -0700

On Mar 31, 2010, at 17:47 , Doug McCoy wrote:

> I have an app that uses the remoteIO AU for iphone, based originally on the AURIOTouch example.
>
> I use the AU for input and output, but on iPod Touch I need special logic to detect the presence of an input device. That is easy. But when the audio route changes, i need to dispose of the AU and re-initialize it, per the example code.
>
> When re-initializing the AU, AudioUnitInitialize() sometimes returns '!act'. I can't seem to find any documentation on these result codes.

$ grep -r '!act' /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/System/Library/Frameworks/
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioServices.h:    kAudioSessionNotActiveError                         = '!act',

There was a recent thread about the removal of an iPod touch's microphone and AudioSession interrupts but the details escape me...

Doug

 _______________________________________________
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

References: 
 >initializing remoteIO AU on iphone (From: Doug McCoy <email@hidden>)

  • Prev by Date: initializing remoteIO AU on iphone
  • Previous by thread: initializing remoteIO AU on iphone
  • Index(es):
    • Date
    • Thread