aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-player-mpd.el5
-rw-r--r--emms.texinfo7
2 files changed, 12 insertions, 0 deletions
diff --git a/emms-player-mpd.el b/emms-player-mpd.el
index 1fd15f7..1fc42ec 100644
--- a/emms-player-mpd.el
+++ b/emms-player-mpd.el
@@ -74,6 +74,11 @@
;;
;; (add-to-list 'emms-info-functions 'emms-info-mpd)
+;; To change the volume using MusicPD, do the following.
+;;
+;; (setq emms-volume-lower-function 'emms-volume-mpd-lower
+;; emms-volume-raise-function 'emms-volume-mpd-raise)
+
;; Add 'emms-player-mpd to the top of `emms-player-list'.
;;
;; (add-to-list 'emms-player-list 'emms-player-mpd)
diff --git a/emms.texinfo b/emms.texinfo
index d07196c..461de10 100644
--- a/emms.texinfo
+++ b/emms.texinfo
@@ -1664,6 +1664,13 @@ order to prime the cache.
@subsubheading emms-volume.el integration
+To activate this, add the following to your .emacs.
+
+@example
+(setq emms-volume-lower-function 'emms-volume-mpd-lower
+ emms-volume-raise-function 'emms-volume-mpd-raise)
+@end example
+
@defopt emms-player-mpd-volume-change-amount
The amount to use when raising or lowering the volume using the
emms-volume interface.