diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-04-27 16:10:20 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-07-26 10:40:16 -0400 |
commit | 07bb69d52c23752149d99d1e3d090f7e58f47385 (patch) | |
tree | d26ebd9e2f88bfd50469c0faa122f73519a93073 /gnu | |
parent | 03795e2ba27424fc98957da00f6c71325e7ae425 (diff) | |
download | guix-07bb69d52c23752149d99d1e3d090f7e58f47385.tar.gz |
services: mpd: Auto-detect mpd-output mixer type by default.
Relates to <https://issues.guix.gnu.org/63082>. * gnu/services/audio.scm (mpd-output) [mixer-type]: Change default value from "none" to unspecified. * doc/guix.texi (Audio Services): Regenerate doc.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/services/audio.scm | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gnu/services/audio.scm b/gnu/services/audio.scm index 540b12d4c3..3083090ad0 100644 --- a/gnu/services/audio.scm +++ b/gnu/services/audio.scm @@ -362,15 +362,18 @@ open. This may be useful for streaming servers, when you don’t want to disconnect all listeners even when playback is accidentally stopped.") (mixer-type - (string "none") - "This field accepts a string that specifies which mixer should be used -for this audio output: the @code{hardware} mixer, the @code{software} -mixer, the @code{null} mixer (allows setting the volume, but with no -effect; this can be used as a trick to implement an external mixer -External Mixer) or no mixer (@code{none})." + maybe-string + "This field accepts a string that specifies which mixer should be used for +this audio output: the @code{hardware} mixer, the @code{software} mixer, the +@code{null} mixer (allows setting the volume, but with no effect; this can be +used as a trick to implement an external mixer External Mixer) or no +mixer (@code{none}). When left unspecified, a @code{hardware} mixer is used +for devices that support it." (sanitizer (lambda (x) ; TODO: deprecated, remove me later. (cond + ((eq? %unset-value x) + x) ((symbol? x) (warning (G_ "symbol value for 'mixer-type' is deprecated, \ use string instead~%")) |