Freeze alsa configuration settings.
Project description
afreeze
Freeze ALSA configuration settings.
Getting Started
afreeze may be installed via PyPi via:
pip install afreeze[daemon] --user
Or afreeze may be installed via git:
git clone https://github.com/Alexhuszagh/afreeze
cd afreeze
python setup.py install --user
Once installed, you can freeze various alsa configuration settings via various commands. For example, to force the audio to stay at 75%, you may use:
afreeze --command "'Master' 75%"
To list all controls available and current content settings, use:
afreeze --list-controls
afreeze --list-contents
afreeze supports custom devices and sound cards. To specify a custom device, use:
afreeze --device default ...
To specify a custom sound card, use:
afreeze --card 0 ...
To enable auto-mute mode (muting speakers when headphones are plugged in), use:
afreeze --card 0 "'Auto-Mute Mode' Enabled"
Daemon
This script may also be run as a daemon, requiring python-daemon
. To launch afreeze as a daemon, use:
afreeze --daemon ...
License
This is free and unencumbered software released into the public domain.
Contributing
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in afreeze by you, will be unlicensed (free and unencumbered software released into the public domain).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.