Modify canberra wrapper to allow specifying a sound file path

This commit is contained in:
Kovid Goyal
2021-09-24 07:31:02 +05:30
parent 4112061a47
commit bbdfdb978d
3 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -343,7 +343,7 @@ void scroll_event(double, double, int, int);
void on_key_input(GLFWkeyevent *ev);
void request_window_attention(id_type, bool);
#ifndef __APPLE__
void play_canberra_sound(const char *which_sound, const char *event_id);
void play_canberra_sound(const char *which_sound, const char *event_id, bool is_path);
#endif
SPRITE_MAP_HANDLE alloc_sprite_map(unsigned int, unsigned int);
SPRITE_MAP_HANDLE free_sprite_map(SPRITE_MAP_HANDLE);