• 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: iOS Line Out (docked) volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS Line Out (docked) volume


  • Subject: Re: iOS Line Out (docked) volume
  • From: Kevin Dixon <email@hidden>
  • Date: Mon, 17 Dec 2012 16:41:07 -0800

Thanks for the info, I've got it sorted (a little bit).
In the past I found that the AudioSessionAddPropertyListener did not
work for kAudioSessionProperty_CurrentHardwareOutputVolume, so I was
using AVSystemController_SystemVolumeDidChangeNotification, but this
event does not seem to fire with "1.0f" when changing to the LineOut
route (which I *am* observiing via AudioSessionAddPropertyListener).

Also calling AudioSessionGetProperty(kAudioSessionProperty_CurrentHardwareOutputVolume)
does not return 1.0f when in Line Out mode!!

I hacked around it by reporting a volume of 1.0f to my algorithm when
the route changes to LineOut.

-Kevin

On Mon, Dec 17, 2012 at 4:25 PM, Kyle Sluder <email@hidden> wrote:
> On Mon, Dec 17, 2012, at 04:02 PM, Ari Krupnik wrote:
>> My understanding is that line out is always at line level (what you
>> might call maxed) and the external amplifier controls output volume.
>> Since the iOS device has no control over the external amplifier's volume
>> setting, iOS disables the volume slider for this audio path.
>
> Kevin's problem seems to be that in his situation, it *isn't* maxed. The
> device's amplifier is still certainly at work when playing line-out;
> it's just that the controls are disabled for the sake of simplicity and
> audio quality. But the system player takes care of setting the output
> volume to 0dB, whereas Kevin is unaware of how, or perhaps cannot,
> detect the same situation and compensate by setting his output volume to
> 0dB.
>
> --Kyle Sluder
>  _______________________________________________
> 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: 
 >iOS Line Out (docked) volume (From: Kevin Dixon <email@hidden>)
 >Re: iOS Line Out (docked) volume (From: Ari Krupnik <email@hidden>)
 >Re: iOS Line Out (docked) volume (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: iOS Line Out (docked) volume
  • Next by Date: Re: AUGraph - monitor play position
  • Previous by thread: Re: iOS Line Out (docked) volume
  • Next by thread: Playhead and the AUFilePlayer
  • Index(es):
    • Date
    • Thread