]> git.eshelyaron.com Git - emacs.git/commit
Add support for the ':data' keyword for play-sound in MS-Windows.
authorCecilio Pardo <cpardo@imayhem.com>
Sun, 15 Dec 2024 00:13:16 +0000 (01:13 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 15:19:44 +0000 (16:19 +0100)
commit96e33af5a38d95131796565f6c23b42cb4f6d6c2
treef2f2aa6c595426e56175fd9eb11198ffd915a11b
parent20788126a0fc572f8e2939261cf56a73c96e3d2a
Add support for the ':data' keyword for play-sound in MS-Windows.

* src/sound.c (parse_sound) [WINDOWSNT]: Check that either :file
or :data is present.
(do_play_sound): Added parameter to select file or data, and code to
play from data.
(Fplay_sound_internal): Fixed volume format, and send file or data
to 'do_play_sound'.  (Bug#74863)
* etc/NEWS: Add entry for this change.
* etc/PROBLEMS: Remove entry about missing support for :data.

(cherry picked from commit fd529bbd076d14087d70c50d94bc9ef231cf1997)
etc/NEWS
etc/PROBLEMS
src/sound.c