Changing the system volume?
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.