diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-09 18:06:06 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-09 18:06:06 -0500 |
| commit | 372b61dcce34778d8a8b59bc6f02a942455dc825 (patch) | |
| tree | 410c6bfb631284d93fd0995611d9470c4d733a1b | |
| parent | 3f0dcdcdf9ad7401867f997ff165bb47cc46c9a4 (diff) | |
| download | chime-372b61dcce34778d8a8b59bc6f02a942455dc825.tar.gz chime-372b61dcce34778d8a8b59bc6f02a942455dc825.zip | |
docs: note that a running Emacs won't see a new ALSA config
alsa-lib parses its configuration once per process, so an emacs --daemon started before the config landed keeps the old view. play-sound-file keeps failing there while it succeeds in a fresh emacs -Q, which reads as the system fix not having worked.
Hit this on my own daemon after adding the pipewire default symlink: nine hours' uptime, still no usable default PCM.
| -rw-r--r-- | docs/TROUBLESHOOTING.org | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/TROUBLESHOOTING.org b/docs/TROUBLESHOOTING.org index 832fa9d..fe78aa0 100644 --- a/docs/TROUBLESHOOTING.org +++ b/docs/TROUBLESHOOTING.org @@ -104,6 +104,17 @@ or when =chime-sound-player= is set to ='emacs=. Two fixes: #+END_SRC This one repairs every ALSA client on the machine, not just Emacs. +*** The system fix doesn't reach a running Emacs + +alsa-lib parses its configuration once per process. A long-running +=emacs --daemon= that started before you added the ALSA config keeps the old +view, so =play-sound-file= still fails there while it succeeds in a fresh +=emacs -Q=. Restart the daemon, or set =chime-sound-device= to a device that +was already defined ("pipewire" or "pulse" both work without the =default= +fix, because =50-pipewire.conf= defines them). + +This is worth knowing before you conclude the system fix didn't work. + On macOS, Emacs is built without sound support, so =play-sound-file= signals rather than playing. Chime uses =afplay=, which ships with the OS, so this only bites if =chime-sound-player= is forced to ='emacs=. |
