Misc updates
[syinit] / 17-emchat-sy.el
index 48cec0a..0071f74 100644 (file)
@@ -5,7 +5,7 @@
 ;;     Author: Steve Youngs <steve@sxemacs.org>
 ;; Maintainer: Steve Youngs <steve@sxemacs.org>
 ;;    Created: <2007-12-02>
-;; Time-stamp: <Monday Jan 21, 2013 12:19:14 steve>
+;; Time-stamp: <Wednesday Jan 30, 2013 17:20:27 steve>
 ;;   Download: <http://bastard.steveyoungs.com/~steve/SXEmacs/inits/>
 ;;   HTMLised: <http://bastard.steveyoungs.com/~steve/SXEmacs/htmlinits/17-emchat-sy.html>
 ;;   Git Repo: git clone http://git.sxemacs.org/syinit
 
 (when emchat-use-sound-flag
   (setq emchat-audio-device
-       (make-audio-device 'alsa))
-       ;; Pulseaudio is CRAP!!
-       ;;(make-audio-device 'pulse
-       ;;                 :client "SXEmacs::EMchat"
-       ;;                 :stream "EMchat::Stream"
-       ;;                 :role "phone"))
+       ;(make-audio-device 'alsa))
+       (make-audio-device 'pulse
+                          :client "SXEmacs::EMchat"
+                          :stream "EMchat::Stream"
+                          :role "phone"))
   ;; SXEmacs doesn't like current ffmpeg, and SoX is dodgy ATM too
   (setq emchat-media-driver 'sndfile)
+  (setq default-media-stream-volume 50)
   (setq emchat-sound-alist
        '((auth-sound . "Auth.wav")
          (buddy-sound . "Online.wav")