branch: externals/tmr
commit 1081feb0b95db10d9ffe554b30ff37495ac756ff
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Add comment on Emacs 'play-sound'
---
 tmr.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tmr.el b/tmr.el
index e48f23c59f..61b237c960 100644
--- a/tmr.el
+++ b/tmr.el
@@ -84,6 +84,9 @@ such notifications."
         ("w" (user-error "TMR Made Ridiculous; append character for [m]inutes, 
[h]ours, [s]econds"))
         (_ (* num 60)))))))
 
+;; NOTE 2022-04-21: Emacs has a `play-sound' function but it only
+;; supports .wav and .au formats.  Also, it does not work on all
+;; platforms and Emacs needs to be compiled --with-sound capabilities.
 (defun tmr--play-sound ()
   "Play `tmr-sound-file' using the 'ffplay' executable (ffmpeg)."
   (let ((sound tmr-sound-file))

Reply via email to