;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\315\310\311&\207" [custom-declare-variable emms-volume-mixerctl-control funcall function #[0 "\300\207" [#1="master"] 1 #1#] "The control to change the volume with.\nControls includes \"master\", \"mono\", etc. For a full list of available\ncontrols, run `mixerctl -a' in a shell." :type (choice (const :tag "master" "master") (const :tag "mono" "mono") (string :tag "Something else: ")) :group emms-volume emms-volume-mixerctl-card #[0 "\300\207" [0] 1] "The card number to change volume.\nThe card is identified by a number. For a full list run `ls\n/dev/mixer?*' in a shell." integer] 8) #@55 Change mixerctl master volume by AMOUNT. (fn AMOUNT) (defalias 'emms-volume-mixerctl-change #[257 "\302\303\304\305\306\"r\211q\210\307\310\"\216\311\312\313p\313\314\315\316\"\315\317\f\320W\203&\321\202'\322\323!#\315\324 \211$\262&\320U\205Q\325y\205Q\326\327\313\306#\205Q\315\330\331\332!\331\333!#*\262\"\207" [emms-volume-mixerctl-card emms-volume-mixerctl-control message "Playback channels: %s" generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] call-process "mixerctl" nil "-f" format "/dev/mixer%d" "%s%d" 0 "-" "+" abs "outputs.%s=%s,%s" -1 re-search-forward "^\\(.*\\):.*->.*,\\(.*\\)$" "%s -> %s" match-string 1 2] 17 (#$ . 770)]) (provide 'emms-volume-mixerctl)