guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#31239] Make alsa find its plugins


From: Julien Lepiller
Subject: [bug#31239] Make alsa find its plugins
Date: Sun, 22 Apr 2018 19:13:45 +0200

Hi, this patch adds an environment variable, ALSA_PLUGIN_DIR to allow
it to find its plugins. This is especially useful in GuixSD where
pulseaudio is used by most applications. When running an application
that only knows about alsa, no sound can be output because the card is
taken by pulse. One solution is to use the pulseaudio plugin from
alsa-plugins:pulseaudio and setting ~/.asoundrc:

# Default to PulseAudio
pcm.!default {
    type pulse
    hint {
        show on
        description "Default ALSA Output (currently PulseAudio Sound
Server)" }
}
ctl.!default {
    type pulse
}


But this results in an error because alsa will look for plugins in its
own output directory in the store. With this patch, alsa is able to
find its plugins in ALSA_PLUGIN_DIR after exporting it (export
ALSA_PLUGIN_DIR=$HOME/.guix-profile/lib/alsa-lib).

Attachment: 0001-gnu-Make-alsa-find-its-plugins-by-setting-ALSA_PLUGI.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]