aboutsummaryrefslogtreecommitdiff
path: root/emms-player-mpd.el
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2007-01-05 00:08:00 +0000
committerMichael Olson <mwolson@gnu.org>2007-01-05 00:08:00 +0000
commit36d1fa87cb1cab51e4ccdefb56ac2c88f81a514c (patch)
treeaa300dd7e1efb72630d0fa14fc47391c95f4df79 /emms-player-mpd.el
parentb7ea3e17a00a749e71d8f1b392b4974d1a317a52 (diff)
Remove emms-volume-mpd-raise/lower, make chapter in manual for emms-volume.el
darcs-hash:20070105000820-1bfb2-20d9168d8cc55d2098f37602ade9aff5875b61aa.gz
Diffstat (limited to 'emms-player-mpd.el')
-rw-r--r--emms-player-mpd.el21
1 files changed, 1 insertions, 20 deletions
diff --git a/emms-player-mpd.el b/emms-player-mpd.el
index 1fc42ec..fb64ff5 100644
--- a/emms-player-mpd.el
+++ b/emms-player-mpd.el
@@ -76,8 +76,7 @@
;; 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)
+;; (setq emms-volume-change-function 'emms-volume-mpd-change)
;; Add 'emms-player-mpd to the top of `emms-player-list'.
;;
@@ -189,14 +188,6 @@ It should take same arguments as `open-network-stream' does."
string)
:group 'emms-player-mpd)
-(defcustom emms-player-mpd-volume-change-amount 5
- "The amount to use when raising or lowering the volume using the
-emms-volume interface.
-
-This should be a positive integer."
- :type 'integer
- :group 'emms-player-mpd)
-
(defcustom emms-player-mpd-check-interval 1
"How often to check to see whether MusicPD has advanced to the
next song. This may be an integer or a floating point number.
@@ -991,16 +982,6 @@ positive or negative."
(concat "setvol \"" (number-to-string new-volume) "\"")
nil #'ignore)))))
-(defun emms-volume-mpd-raise ()
- "Increase the volume."
- (interactive)
- (emms-volume-mpd-change emms-player-mpd-volume-change-amount))
-
-(defun emms-volume-mpd-lower ()
- "Decrease the volume."
- (interactive)
- (emms-volume-mpd-change (- 0 emms-player-mpd-volume-change-amount)))
-
;;; Now playing
(defun emms-player-mpd-show-1 (closure response)