Skip to content

Adds CTRL+F12 hotkey to switch audio playback device on Windows

Notifications You must be signed in to change notification settings

tartakynov/audioswitch

Repository files navigation

AudioSwitch

The AudioSwitch application lets you to switch between your audio playback devices by Ctrl+F12 hotkey. It's written in pure C++, WinAPI, and uses low-level keyboard hook to track hotkeys.

Build

In order to build this project you need to have the following set up:

  • SCons-win32 (Software Construction tool)
    SCons is a computer software construction tool that automatically analyzes source code file dependencies and operating system adaptation requirements from a software project description and generates final binary executables for installation on the target operating system platform.

  • MS Windows SDK for Windows and .NET Framework (you don't need to install this if you have Visual Studio)
    This is freeware download of command-line tools and needed libraries for C++ code compilation.

Let's suppose that you:

  • have AudioSwitch source code in c:\src\audioswitch
  • installed Windows SDK for Windows and .NET Framework to default location
  • installed SCons into default location, i.e. there is %PYTHONPATH%\Scripts\scons.bat file

Then:

  1. Being in the command prompt, change directory to your AudioSwitch source code root directory: cd c:\src\audioswitch
  2. You can start build process by invoking: %PYTHONPATH%\Scripts\scons.bat

Now compilation should start. You will get some occasional warnings (should be OK). If there is no error, and compilation ends with OK, there should be AudioSwitch.exe file.

Install

Press Win+R and run shell:startup, then copy your AudioSwitch.exe into the startup folder and it will run automatically.

About

Adds CTRL+F12 hotkey to switch audio playback device on Windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published