Mercurial > vim
comparison src/testdir/test_sound.vim @ 17131:be5a5cfc991a v8.1.1565
patch 8.1.1565: MS-Windows: no sound support
commit https://github.com/vim/vim/commit/9b283523f2f75b45feef902b8713808e883d9c19
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 17 22:19:33 2019 +0200
patch 8.1.1565: MS-Windows: no sound support
Problem: MS-Windows: no sound support.
Solution: Add sound support for MS-Windows. (Yasuhiro Matsumoto, Ken Takata,
closes #4522)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 17 Jun 2019 22:30:06 +0200 |
parents | 905e1b154058 |
children | 10696f279e20 |
comparison
equal
deleted
inserted
replaced
17130:808ed7403f4f | 17131:be5a5cfc991a |
---|---|
8 let g:id = a:id | 8 let g:id = a:id |
9 let g:result = a:result | 9 let g:result = a:result |
10 endfunc | 10 endfunc |
11 | 11 |
12 func Test_play_event() | 12 func Test_play_event() |
13 if has('win32') | |
14 throw 'Skipped: Playing event with callback is not supported on Windows' | |
15 endif | |
16 | |
13 let id = sound_playevent('bell', 'PlayCallback') | 17 let id = sound_playevent('bell', 'PlayCallback') |
14 if id == 0 | 18 if id == 0 |
15 throw 'Skipped: bell event not available' | 19 throw 'Skipped: bell event not available' |
16 endif | 20 endif |
17 " Stop it quickly, avoid annoying the user. | 21 " Stop it quickly, avoid annoying the user. |