mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
services: Split ladspa-service-type from pulseaudio-service-type.
* gnu/services/sound.scm (ladspa-configuration): New record. (ladspa-environment): New procedure. (ladspa-service-type): New service type. (pulseaudio-environment): Remove LADSPA_PATH. * doc/guix.texi: Adjust documentation. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
committed by
Marius Bakke
parent
f6f9181130
commit
f1022fbf2f
@@ -15951,19 +15951,21 @@ pcm.!default @{
|
||||
See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the
|
||||
details.
|
||||
|
||||
@deffn {Scheme Variable} pulseaudio-service-type
|
||||
This is the type for the @uref{http://www.pulseaudio.org/, PulseAudio
|
||||
sound server}, which sets the @var{LADSPA_PATH} environment variable to
|
||||
allow PulseAudio load modules from @code{swh-plugins} package.
|
||||
@deffn {Scheme Variable} ladspa-service-type
|
||||
This service sets the @var{LADSPA_PATH} variable, so that programs, which
|
||||
respect it, e.g. PulseAudio, can load LADSPA plugins.
|
||||
|
||||
The following example will setup the service to enable modules from the
|
||||
@code{swh-plugins} package:
|
||||
|
||||
@lisp
|
||||
(service ladspa-service-type
|
||||
(ladspa-configuration (plugins (list swh-plugins))))
|
||||
@end lisp
|
||||
|
||||
See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the
|
||||
details.
|
||||
|
||||
The following example will setup the service:
|
||||
|
||||
@lisp
|
||||
(service pulseaudio-service-type)
|
||||
@end lisp
|
||||
@end deffn
|
||||
|
||||
@node Database Services
|
||||
|
||||
Reference in New Issue
Block a user