lib/McdeSound (include/Mcde/Sound.h) reads the theme in the reference's X-Resource form (*Launch.soundfile: launch.wav) and sends an event as a ClientMessage to the selection owner of _MCDE_SOUND_SERVER. programs/mcdesoundd is that server: it looks the event up, drops a repeat within 50 ms, plays the file through paplay/aplay/audioplay (the X bell when no player is installed) and logs the path. The theme Camouflage carries 19 events with tones generated for MCDE (no files from the reference), installed under share/sounds/themes. Measured under Xvfb: mcdesoundd -selftest -> PASS; with the server running, 'Launch' and 'OpenFolder' arrive and the log names the played files.
9.5 KiB
9.5 KiB