Gray Posted February 3, 2007 Share 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 Link to comment Share on other sites More sharing options...
ablafontain Posted February 3, 2007 Share 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 Link to comment Share on other sites More sharing options...
Gray Posted February 3, 2007 Author Share 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. Link to comment Share on other sites More sharing options...
kz26 Posted February 3, 2007 Share 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. Link to comment Share on other sites More sharing options...
ripken204 Posted February 3, 2007 Share 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. Link to comment Share on other sites More sharing options...
Gray Posted February 4, 2007 Author Share 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. Link to comment Share on other sites More sharing options...
cluberti Posted February 4, 2007 Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now