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

calling audio device listener on master channel volume?


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


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);




_______________________________________________
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>
  • Prev by Date: Re: How to release memory allocated for MIDISendSysex ??
  • Next by Date: Re: calling audio device listener on master channel volume?
  • Previous by thread: Re: How to release memory allocated for MIDISendSysex ??
  • Next by thread: Re: calling audio device listener on master channel volume?
  • Index(es):
    • Date
    • Thread