summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-16 04:46:46 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-16 05:17:15 +0100
commit1a671dfad5062ba265e873f7353c7d682943af98 (patch)
treeb27a7b1a29a8e62024764a9ceca0275a6c469fc4
parent587a02fa15d9e642623bbbcac80ca8b772082437 (diff)
downloadnncmpp-1a671dfad5062ba265e873f7353c7d682943af98.tar.gz
nncmpp-1a671dfad5062ba265e873f7353c7d682943af98.tar.xz
nncmpp-1a671dfad5062ba265e873f7353c7d682943af98.zip
Document PulseAudio integration
-rw-r--r--nncmpp.adoc25
1 files changed, 23 insertions, 2 deletions
diff --git a/nncmpp.adoc b/nncmpp.adoc
index de668cb..ed7c1cf 100644
--- a/nncmpp.adoc
+++ b/nncmpp.adoc
@@ -47,7 +47,6 @@ snippet:
settings = {
address = "~/.mpd/mpd.socket"
password = "<your password>"
- root = "~/Music"
pulseaudio = on
}
colors = {
@@ -98,6 +97,28 @@ settings = {
The sample rate should be greater than 40 kHz, the number of bits 8 or 16,
and the number of channels doesn't matter, as they're simply averaged together.
+PulseAudio
+----------
+If you find standard MPD volume control useless, you may instead configure
+*nncmpp* to show and control the volume of any PulseAudio sink MPD is currently
+connected to.
+
+This feature may be enabled with the *settings.pulseaudio* configuration option,
+as in the snippet above. To replace the default volume control bindings, use:
+
+....
+normal = {
+ "M-PageUp" = "pulse-volume-up"
+ "M-PageDown" = "pulse-volume-down"
+}
+....
+
+The respective actions may also be invoked from the help tab directly.
+
+For this to work, *nncmpp* needs to access the right PulseAudio daemon--in case
+your setup is unusual, consult the list of environment variables in
+*pulseaudio*(1). MPD-compatibles are currently unsupported.
+
Files
-----
*nncmpp* follows the XDG Base Directory Specification.
@@ -112,4 +133,4 @@ or submit pull requests.
See also
--------
-*mpd*(1)
+*mpd*(1), *pulseaudio*(1)