-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #1
- Loading branch information
Showing
2 changed files
with
118 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,23 @@ | ||
## Not _another_ volume app! | ||
I created this solely because the excellent [EventGhost](http://eventghost.org) automation tool is only able to adjust *speaker* volume by default due to Windows API limitations and their aim to be Windows 2000/XP compatible. This is a little annoying if you regularly use a remote control and headphones, whose volume you'd be unable to adjust using the remote. | ||
|
||
Should work on Windows Vista and newer. Tested on Windows 7 and Windows 10. | ||
Should work on Windows Vista and newer, tested on Windows 7 and Windows 10. You need to have a recent version of [Visual C++ libraries](https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads) installed (Visual Studio 2015 or newer) but chances are if you have any software on your PC, these libraries will have already been installed by other programs. | ||
|
||
## Usage | ||
* `SetVolume` reports the current default playback device volume as a percentage | ||
* `SetVolume <percent>` sets the current default playback device volume (0..100) | ||
* `SetVolume +<percent>` increases default playback device volume by a specified percentage (0..100) | ||
* `SetVolume -<percent>` decreases default playback device volume by a specified percentage (0..100) | ||
* `SetVolume` or `SetVolume help` displays usage information. | ||
* `SetVolume get` reports current default playback device volume as a percentage. | ||
* `SetVolume set <percent>` sets current default playback device volume to a percentage. | ||
* `SetVolume set +<percent>` increases default playback device volume by a specified percentage. | ||
* `SetVolume set -<percent>` decreases default playback device volume by a specified percentage. | ||
* `SetVolume mute` mutes default playback device. | ||
* `SetVolume unmute` unmutes default playback device. | ||
* `SetVolume togglemute` toggles mute for default playback device. | ||
|
||
## Building | ||
1. Install [Microsoft Windows SDK for Vista](https://www.microsoft.com/en-us/download/details.aspx?id=14477) | ||
2. Install Microsoft Visual Studio 2010 | ||
3. Get the source. | ||
3. Build! | ||
1. Install Microsoft Visual Studio 2015 | ||
1. Get the source. | ||
1. Open solution – you should be prompted to install Windows 8.1 SDK if you have not done so yet. (Do not worry, the 8.1 SDK is backwards compatible down to Vista.) | ||
1. Build! | ||
|
||
## Credits | ||
Based on and inspired by [code shared by Larry Osterman](https://blogs.msdn.microsoft.com/larryosterman/2007/03/06/how-do-i-change-the-master-volume-in-windows-vista/) of Microsoft. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters