• 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: AudioSession Route Strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioSession Route Strings


  • Subject: Re: AudioSession Route Strings
  • From: William Stewart <email@hidden>
  • Date: Thu, 1 Jul 2010 16:49:08 -0700

Good point - lets see what we can do

Bill

On Jul 1, 2010, at 3:06 PM, Jim Heintz wrote:

> It has been a while since I looked at this stuff, but I recall seeing a number of additional strings for AudioRoute during testing such as "HeadsetInOut", HeadsetAndMicrophone", "ReceiverAndMicrophone", "LineOut", etc...  It would be quite helpful to see a definitive list, and a corresponding set of definitions.
>
>
> On Jul 1, 2010, at 2:48 PM, Art Gillespie wrote:
>
>> So in testing I've seen these strings in the info dictionary parameter
>> for kAudioSessionProperty_AudioRouteChange's property listener (and in
>> kAudioSessionProperty_AudioRoute)
>>
>> "Headphone"
>> "Speaker"
>>
>> I can't find these defined in the headers[1], so I'm not sure if there
>> are any others. The documentation implies there may be a different
>> route when the user places the device in a cradle with audio out.
>>
>> Is there a list of possible values somewhere? Is it safe to do
>> compares on these routes like
>>
>> if oldRoute == "Headphone" and reason ==
>> kAudioSessionRouteChangeReason_OldDeviceUnavailable:
>>  //headset unplugged
>>
>> regardless of the device's language settings?
>>
>> [1] The comment in AudioServices.h for kAudioSessionProperty_Route
>> helpfully states:
>>
>>                        "A CFStringRef with the name of the current
>> route ("Headphone," "Speaker," etc.)"
>> _______________________________________________
>> 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

 _______________________________________________
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: AudioSession Route Strings
      • From: Art Gillespie <email@hidden>
References: 
 >AudioSession Route Strings (From: Art Gillespie <email@hidden>)
 >Re: AudioSession Route Strings (From: Jim Heintz <email@hidden>)

  • Prev by Date: Re: ExtAudioFileWriteAsync- skip on write?
  • Next by Date: Re: ExtAudioFileWriteAsync- skip on write?
  • Previous by thread: Re: AudioSession Route Strings
  • Next by thread: Re: AudioSession Route Strings
  • Index(es):
    • Date
    • Thread