• 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
kIOAudioControlUsagePassThru equivalent on the iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kIOAudioControlUsagePassThru equivalent on the iPhone


  • Subject: kIOAudioControlUsagePassThru equivalent on the iPhone
  • From: Alex Wiltschko <email@hidden>
  • Date: Wed, 26 May 2010 12:46:01 -0400

Looking to pass audio directly from line input to the iPhone's speaker.

The first-guess of how to do this would be:

audioRoute = kAudioSessionOverrideAudioRoute_Speaker;
AudioSessionSetProperty(kAudioSessionProperty_OverrideAudioRoute, sizeof(audioRoute), &audioRoute);


But the "Speaker" audioroute cannot take input from the line in: it switches over to acquiring audio from the external microphone.
So, I'm still left searching for a way to route audio from the line input to the speaker for output.

OSX has IOAudioControl, and one can set its usage to kIOAudioControlUsagePassThru, which does what I'm looking for. But, this class doesn't exist on the iPhone.

Any ideas?
 _______________________________________________
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

  • Follow-Ups:
    • Re: kIOAudioControlUsagePassThru equivalent on the iPhone
      • From: William Stewart <email@hidden>
  • Prev by Date: Suspend/resume change the IO thread
  • Next by Date: Re: Audio Queue Help
  • Previous by thread: Re: Suspend/resume change the IO thread
  • Next by thread: Re: kIOAudioControlUsagePassThru equivalent on the iPhone
  • Index(es):
    • Date
    • Thread