Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

afreeze-0.1.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distributions

afreeze-0.1.1-py3.9.egg (4.2 kB view hashes)

Uploaded Source

afreeze-0.1.1-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page