Gray Posted February 3, 2007 Posted February 3, 2007 Hi,I know that the volume can be set by either double-clicking the speaker icon on the systray and then moving the slider, but what is this actually doing?Does it change a setting in the registry, an ini file, or something else?Is there a way to change the volume by editing a file, or is the slider method the only one?Thanks,Gray
ablafontain Posted February 3, 2007 Posted February 3, 2007 (edited) Hope this will help you. Have you tried the main volume control? Go to Control Panel/Sounds and Audio Divices...Look at attachments Edited February 3, 2007 by ablafontain
Gray Posted February 3, 2007 Author Posted February 3, 2007 Oh yes, I know about that way, I'd just like to edit a file or something.I imaginge the volume is set to a particualr number, from 0 - 255 or something. I was just wondering if there was an ini file or some such with a line similar to "volume=255".The slider obviously sets something to a value, I just wondered if it was possible to do without any kind of GUI.
kz26 Posted February 3, 2007 Posted February 3, 2007 it is indeed possible using a command line.the only program I know of ATM is NirCmd http://www.nirsoft.net/utils/nircmd.html.Read the manual for it and you can change/set/mute the volume.
ripken204 Posted February 3, 2007 Posted February 3, 2007 ya, all i can think about is modules that have to be used. such as listed above. afaik you cant access it directly.
Gray Posted February 4, 2007 Author Posted February 4, 2007 it is indeed possible using a command line.the only program I know of ATM is NirCmd http://www.nirsoft.net/utils/nircmd.html.Read the manual for it and you can change/set/mute the volume.NirCmd does it perfectly, thanks for that. I thought the feature would be built into Windows, but I guess that was just wishful thinking!Thanks again.
cluberti Posted February 4, 2007 Posted February 4, 2007 NirCmd does it perfectly, thanks for that. I thought the feature would be built into Windows, but I guess that was just wishful thinking!It is - it is called the Wave Volume API pre-Vista, and Windows Audio Session API in Vista (a rewrite of the audio API). However, I think the nirsoft tool uses the mixer API, which most drivers support (it was added in Win98, but it is possible some audio drivers still will not expose mixer controls).A high-level overview is here:http://blogs.msdn.com/larryosterman/archiv.../15/504158.aspx
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now