• 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: Two audio sessions running simultaneously
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two audio sessions running simultaneously


  • Subject: Re: Two audio sessions running simultaneously
  • From: Aran Mulholland <email@hidden>
  • Date: Mon, 22 Feb 2010 09:18:21 +1100

you dont need to run multiple sessions, you can redirect the audio route

UInt32 audioRouteOverride = kAudioSessionOverrideAudioRoute_Speaker;
AudioSessionSetProperty ( kAudioSessionProperty_OverrideAudioRoute,
sizeof (audioRouteOverride),   &audioRouteOverride );

funnily enough this information can be found in the Audio Session
Programming Guide (page 46.)
http://developer.apple.com/iphone/library/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/AudioSessionProgrammingGuide.pdf


On Mon, Feb 22, 2010 at 4:59 AM, Alex Wiltschko <email@hidden> wrote:
> I've been trying to wrangle the iPhone into collecting audio input through the line-input and routing it out through the bottom speaker. It doesn't seem like there is an AudioRoute type that allows this using a single Audio Session.
>
> My question is, can I run multiple audio sessions to get around this drawback? I would acquire audio in an AUGraph initialized in one audio session, and then pass the audio for playback to another AUGraph in another audio session.
>
> If this is not possible, is there ANY way at all to do simultaneous line-input recording + speaker output? _______________________________________________
> 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
>
 _______________________________________________
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: 
 >Two audio sessions running simultaneously (From: Alex Wiltschko <email@hidden>)

  • Prev by Date: Two audio sessions running simultaneously
  • Next by Date: Re: RemoteIO sound over AudioQueue vs over iPod player: clipping
  • Previous by thread: Two audio sessions running simultaneously
  • Next by thread: Use Garageband instruments from MIDI?
  • Index(es):
    • Date
    • Thread