• 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: calling audio device listener on master channel volume?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: calling audio device listener on master channel volume?


  • Subject: Re: calling audio device listener on master channel volume?
  • From: Navyn Muhammed Rajoo <email@hidden>
  • Date: Thu, 24 Aug 2006 17:53:32 -0400

im using the kAudioHardwarePropertyDefaultSystemOutputDevice from my g4 ibook, and im pretty sure there is a master channel there. thx

On Aug 24, 2006, at 5:14 PM, Jeff Moore wrote:

If the device in question doesn't have a master channel volume control, then signing up to listen to changes in it's value won't do you a lot of good.

The volume slider in the Sound Prefs figures out where the volume controls on the device are and uses them appropriately to simulate a master volume control when there really isn't one by adjusting the volume controls on the individual channels.

On Aug 24, 2006, at 1:57 PM, Navyn Muhammed Rajoo wrote:


OSStatus result = AudioDeviceAddPropertyListener(_audioDevice, 0, 0, kAudioDevicePropertyVolumeScalar, callback, &clientData);


above doesn't work, but when i call add property listener on the stereo channels Left and Right the callback function gets called even when i adjust the master volume slider in system preference, but the problem is the left channel changes its scalar volume before the right, and this poses a problem to the output i wanna achieve. Could someone tell me how i could add a volume listener just for the master channel volume change?

OSStatus result = AudioDeviceAddPropertyListener(_audioDevice, 1, 0, property, callback, &clientData);
OSStatus result = AudioDeviceAddPropertyListener(_audioDevice, 2, 0, property, callback, &clientData);


--

Jeff Moore
Core Audio
Apple


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

Navyn Muhammed Rajoo 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: calling audio device listener on master channel volume?
      • From: Jeff Moore <email@hidden>
References: 
 >calling audio device listener on master channel volume? (From: Navyn Muhammed Rajoo <email@hidden>)
 >Re: calling audio device listener on master channel volume? (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: calling audio device listener on master channel volume?
  • Next by Date: Re: Logic not responding to Audio Engine Changes?
  • Previous by thread: Re: calling audio device listener on master channel volume?
  • Next by thread: Re: calling audio device listener on master channel volume?
  • Index(es):
    • Date
    • Thread