summaryrefslogtreecommitdiffstats
path: root/src/proto/sound.pro
diff options
context:
space:
mode:
authorYee Cheng Chin <ychin.git@gmail.com>2022-10-08 13:50:05 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-08 13:50:05 +0100
commit4314e4f7da4db5d85f63cdf43b73be3689502c93 (patch)
tree37d2f5ae97f68da5ca3e0edc8ac6d6aa6b06d8e3 /src/proto/sound.pro
parent5a049846e4c54d70094c3f29ffbd340c75e9c50e (diff)
patch 9.0.0694: no native sound support on Mac OSv9.0.0694
Problem: No native sound support on Mac OS. Solution: Add sound support for Mac OS. (Yee Cheng Chin, closes #11274)
Diffstat (limited to 'src/proto/sound.pro')
-rw-r--r--src/proto/sound.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/proto/sound.pro b/src/proto/sound.pro
index ad1c2b5305..c6d0541f98 100644
--- a/src/proto/sound.pro
+++ b/src/proto/sound.pro
@@ -1,6 +1,10 @@
/* sound.c */
+typedef struct soundcb_S soundcb_T;
+
int has_any_sound_callback(void);
int has_sound_callback_in_queue(void);
+void call_sound_callback(soundcb_T *soundcb, long sound_id, int result);
+void delete_sound_callback(soundcb_T *soundcb);
void invoke_sound_callback(void);
void f_sound_playevent(typval_T *argvars, typval_T *rettv);
void f_sound_playfile(typval_T *argvars, typval_T *rettv);