Set the media role when playing the bell sound to "event"

Fixes #4256
This commit is contained in:
Kovid Goyal
2021-11-19 14:14:50 +05:30
parent ca0fcada42
commit c1cb196365
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -363,7 +363,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, bool is_path);
void play_canberra_sound(const char *which_sound, const char *event_id, bool is_path, const char *role);
#endif
SPRITE_MAP_HANDLE alloc_sprite_map(unsigned int, unsigned int);
SPRITE_MAP_HANDLE free_sprite_map(SPRITE_MAP_HANDLE);