• 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: Playing through speaker, recording through line in
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Playing through speaker, recording through line in


  • Subject: Re: Playing through speaker, recording through line in
  • From: Aran Mulholland <email@hidden>
  • Date: Mon, 1 Feb 2010 17:54:43 +1100

from the audio session services reference -
http://developer.apple.com/iphone/library/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/Cookbook/Cookbook.html



UInt32 audioRouteOverride = kAudioSessionOverrideAudioRoute_Speaker;  // 1

AudioSessionSetProperty (
    kAudioSessionProperty_OverrideAudioRoute,                         // 2
    sizeof (audioRouteOverride),                                      // 3
    &audioRouteOverride                                               // 4
);

--meaning you can override the output of the audio. I have found doing
this i had to then monitor if the headphone was plugged in etc and
redirect.

The user expects the output to come out the headphones if they are plugged in.

aran
 _______________________________________________
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: 
 >Playing through speaker, recording through line in (From: Alex Wiltschko <email@hidden>)

  • Prev by Date: Playing through speaker, recording through line in
  • Next by Date: Re: AUNetSend/AUNetReceive
  • Previous by thread: Playing through speaker, recording through line in
  • Index(es):
    • Date
    • Thread