comparison src/proto/sound.pro @ 17708:10696f279e20 v8.1.1851

patch 8.1.1851: crash when sound_playfile() callback plays sound commit https://github.com/vim/vim/commit/28e67e0c1496b7bb166a0acfb176690f219101ca Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 15 23:05:49 2019 +0200 patch 8.1.1851: crash when sound_playfile() callback plays sound Problem: Crash when sound_playfile() callback plays sound. Solution: Invoke callback later from event loop.
author Bram Moolenaar <Bram@vim.org>
date Thu, 15 Aug 2019 23:15:04 +0200
parents 905e1b154058
children 71137f73c94d
comparison
equal deleted inserted replaced
17707:bf211be8ffd1 17708:10696f279e20
1 /* sound.c */ 1 /* sound.c */
2 int has_any_sound_callback(void);
3 int has_sound_callback_in_queue(void);
4 void invoke_sound_callback(void);
2 void f_sound_playevent(typval_T *argvars, typval_T *rettv); 5 void f_sound_playevent(typval_T *argvars, typval_T *rettv);
3 void f_sound_playfile(typval_T *argvars, typval_T *rettv); 6 void f_sound_playfile(typval_T *argvars, typval_T *rettv);
4 void f_sound_stop(typval_T *argvars, typval_T *rettv); 7 void f_sound_stop(typval_T *argvars, typval_T *rettv);
5 void f_sound_clear(typval_T *argvars, typval_T *rettv); 8 void f_sound_clear(typval_T *argvars, typval_T *rettv);
6 void sound_free(void); 9 void sound_free(void);