Lines Matching refs:id
8 func PlayCallback(id, result) argument
10 let g:id = a:id
19 let g:id = 0
20 let id = 'bell'->sound_playevent('PlayCallback')
21 if id == 0
27 eval id->sound_stop()
28 call WaitForAssert({-> assert_equal(id, g:id)})
46 call WaitForAssert({-> assert_equal(id2, g:id)})
54 call WaitForAssert({-> assert_equal(id2, g:id)})
65 func PlayAgain(id, fname) argument
66 let g:id = a:id
70 let id3 = sound_playfile(fname, {id, res -> PlayAgain(id, fname)})
74 call WaitForAssert({-> assert_true(g:id > 0)})