forked from aniani/vim
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 #11274)
This commit is contained in:
committed by
Bram Moolenaar
parent
5a049846e4
commit
4314e4f7da
7
src/proto/os_macosx.pro
Normal file
7
src/proto/os_macosx.pro
Normal file
@@ -0,0 +1,7 @@
|
||||
/* os_macosx.m */
|
||||
void process_cfrunloop();
|
||||
bool sound_mch_play(const char_u* event, long sound_id, soundcb_T *callback, bool playfile);
|
||||
void sound_mch_stop(long sound_id);
|
||||
void sound_mch_clear();
|
||||
void sound_mch_free();
|
||||
/* vim: set ft=c : */
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user