• 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
Changing the system volume?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing the system volume?


  • Subject: Changing the system volume?
  • From: Eric Shapiro <email@hidden>
  • Date: Wed, 4 Jun 2003 12:24:27 -0400

Is there a snippet of code somewhere on how to change the system volume?

I've been searching Apple's web site, usenet, and the core audio list archives, but the only clues I see are that either "IOAudioLevelControl::CreateVolumeControl()" or "SoundComponentSetInfo(siHardwareVolume)" might be the right approach. But no further documentation on the subject.

I need control the audio volume in MacOS X 10.2 from a C/C++ user-level Carbon/Mach-O application that will run with no real user input. The program needs to be able to unmute the built-in speaker and change the volume as needed. In the old MacOS days, there was a low memory global to control the volume and later some system calls, but neither of those work on MacOS X.

Thanks,
Eric Shapiro

-----------------------------------------------
Eric Shapiro email@hidden
-----------------------------------------------
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Changing the system volume?
      • From: Daniel Jalkut <email@hidden>
    • Re: Changing the system volume?
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: Convert to float and more
  • Next by Date: Re: How To Get Idle Time to the edit and view components?
  • Previous by thread: Re: How To Get Idle Time to the edit and view components?
  • Next by thread: Re: Changing the system volume?
  • Index(es):
    • Date
    • Thread