LibEnvVars

From AlsaProject
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The settings of these environment variables affect the operation of alsa-lib

LIBASOUND_DEBUG
=1 print errors to stderr, dump hw_params
=2 also assert(0)
ALSA_CONFIG_PATH
file to use instead of ALSA_CONFIG_DIR/alsa.conf"
ALSA_MIXER_SIMPLE
file to use instead of ALSA_CONFIG_DIR/smixer.conf
ALSA_MIXER_SIMPLE_MODULES
path to modules .so files
LADSPA_PATH
path to ladspa plugins

Proposed

LIBASOUND_PCM_DUMP
=1 dump pcm_hw_params to console from any app (similar to aplay -v)