comparison runtime/doc/builtin.txt @ 30719:71137f73c94d v9.0.0694

patch 9.0.0694: no native sound support on Mac OS Commit: https://github.com/vim/vim/commit/4314e4f7da4db5d85f63cdf43b73be3689502c93 Author: Yee Cheng Chin <ychin.git@gmail.com> Date: Sat Oct 8 13:50:05 2022 +0100 patch 9.0.0694: no native sound support on Mac OS Problem: No native sound support on Mac OS. Solution: Add sound support for Mac OS. (Yee Cheng Chin, closes https://github.com/vim/vim/issues/11274)
author Bram Moolenaar <Bram@vim.org>
date Sat, 08 Oct 2022 15:00:05 +0200
parents d914a3812d5b
children 02b5d6f20db2
comparison
equal deleted inserted replaced
30718:118268e20251 30719:71137f73c94d
8629 /usr/share/sounds/freedesktop/stereo. Example: > 8629 /usr/share/sounds/freedesktop/stereo. Example: >
8630 call sound_playevent('bell') 8630 call sound_playevent('bell')
8631 < On MS-Windows, {name} can be SystemAsterisk, SystemDefault, 8631 < On MS-Windows, {name} can be SystemAsterisk, SystemDefault,
8632 SystemExclamation, SystemExit, SystemHand, SystemQuestion, 8632 SystemExclamation, SystemExit, SystemHand, SystemQuestion,
8633 SystemStart, SystemWelcome, etc. 8633 SystemStart, SystemWelcome, etc.
8634 On macOS, {name} refers to files located in
8635 /System/Library/Sounds (e.g. "Tink"). It will also work for
8636 custom installed sounds in folders like ~/Library/Sounds.
8634 8637
8635 When {callback} is specified it is invoked when the sound is 8638 When {callback} is specified it is invoked when the sound is
8636 finished. The first argument is the sound ID, the second 8639 finished. The first argument is the sound ID, the second
8637 argument is the status: 8640 argument is the status:
8638 0 sound was played to the end 8641 0 sound was played to the end