• 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: Changing the way the OS responds to a USB DAC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the way the OS responds to a USB DAC


  • Subject: Re: Changing the way the OS responds to a USB DAC
  • From: Stephen Davis <email@hidden>
  • Date: Sun, 04 Mar 2012 18:27:59 -0800

On Mar 4, 2012, at 5:06 PM, Brian Willoughby wrote:

>
> On Mar 4, 2012, at 07:47, SB Tech wrote:
>> For my part, I had assumed that the OS volume control modified the volume by modifying the audio data directly (the same way that adjusting the volume in iTunes does)*,
>
> You are correct that iTunes modifies the audio data directly when the volume in the GUI is below full.  However, the OS volume control does not even have access to the audio data.  The OS volume control queries the CoreAudio driver for the audio interface in question, discovers the number of volume controls for the device, and then sends parameter change messages to set the volume.  At no time does the "OS volume control" even see audio data, much less have the opportunity to alter the audio data.

Just to be pedantic, this statement by both of you about iTunes is technically false.  :-)

iTunes does not modify the output data itself when its volume control is below full.  Instead, it tells the CoreAudio default output unit to set its volume accordingly (via the kHALOutputParam_Volume, kAudioUnitScope_Global parameter).  How CoreAudio implements that control, either by direct software scaling or by telling the driver to do it, is up to CoreAudio.  Splitting hairs, I know.  I just wanted to mention it b/c it does impact how the audio data actually flows through the system, which might be useful to know.

stephen
 _______________________________________________
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: 
 >Re: Changing the way the OS responds to a USB DAC (From: SB Tech <email@hidden>)
 >Re: Changing the way the OS responds to a USB DAC (From: Brian Willoughby <email@hidden>)
 >Re: Changing the way the OS responds to a USB DAC (From: SB Tech <email@hidden>)
 >Re: Changing the way the OS responds to a USB DAC (From: Brian Willoughby <email@hidden>)
 >Re: Changing the way the OS responds to a USB DAC (From: SB Tech <email@hidden>)
 >Re: Changing the way the OS responds to a USB DAC (From: Brian Willoughby <email@hidden>)

  • Prev by Date: Audio Unit Properties that are CFStringRef
  • Next by Date: Re: Changing the way the OS responds to a USB DAC
  • Previous by thread: Re: Changing the way the OS responds to a USB DAC
  • Next by thread: Re: Changing the way the OS responds to a USB DAC
  • Index(es):
    • Date
    • Thread