I am creating an automatic-gain-control using VBA and Excel. (My major project is on Excel).
It looks as if when I change the speaker level in Audacity, it changes the system volume level.
I would like to know the code that is being used.
I hear that Audacity is written in C and I do have a vague recollection of that from my college years abut if I can at least see the code, maybe I can translate it or be able to ask questions in a programming forum.
How does Audacity control the mixer volume on the computer?
Forum rules
This forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Re: How does Audacity control the mixer volume on the computer?
Audacity uses PortAudio to communicate with the sound system: http://www.portaudio.com/
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)