Commit Diff


commit - 264408fb355bd907e6c4003b0c57f43ba72e2aa6
commit + dc51cb34ef5da8724c07baef635522ad5b402fe3
blob - 65c38891700d9478f7aa6d083237bf16cc8fab85
blob + 7881954d0226e6fd207596787d6a81a5cd134d4d
--- sndio.el
+++ sndio.el
@@ -31,12 +31,18 @@
 (eval-when-compile
   (require 'subr-x))
 
-(defvar sndio-sndioctl-cmd "sndioctl"
-  "Path to the sndioctl executable.")
+(defgroup sndio nil
+  "Sndio."
+  :group 'sndio)
 
-(defvar sndio-step 0.02
-  "Step for `sndio-increase' and `sndio-decrease'.")
+(defcustom sndio-sndioctl-cmd "sndioctl"
+  "Path to the sndioctl executable."
+  :type 'string)
 
+(defcustom sndio-step 0.02
+  "Step for `sndio-increase' and `sndio-decrease'."
+  :type 'integer)
+
 (defvar sndio--window nil
   "The sndio window.")