Jump to content

Recommended Posts

Posted

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


Posted (edited)

Hope this will help you. Have you tried the main volume control? Go to Control Panel/Sounds and Audio Divices...

Look at attachments

post-123402-1170520141_thumb.jpg

post-123402-1170520261_thumb.jpg

Edited by ablafontain
Posted

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.

Posted
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.

Posted
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...