Skip to content

Commit d237fcf

Browse files
GuffawafflenetniV
andauthored
Add cross-platform notification audio cues (#253)
* Add cross-platform notification audio cues * Warn when audio alerts lack toast hooks * Centralize toast audio alert configuration Use one descriptor catalog for parsing, dependency checks, and toast-state lookup while preserving unconditional config normalization. * Refine notification audio catalog and initialization --------- Co-authored-by: netniV <netniv@hotmail.com>
1 parent e7a646b commit d237fcf

19 files changed

Lines changed: 493 additions & 6 deletions

‎example_community_patch_settings_da.toml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ disabled_events = ""
3737
# Write audio event names to the trace log for troubleshooting
3838
trace_events = false
3939

40+
# Optional generated notification cues; "none" disables an alert.
41+
# Available sounds: default, info, success, warning, alarm, arrival, soft, ping, repair
42+
# Requires patches.toastbannerhooks = true.
43+
alert_victory = "none"
44+
alert_defeat = "none"
45+
alert_armada_created = "none"
46+
alert_armada_battle_won = "none"
47+
alert_armada_battle_lost = "none"
48+
4049
# <[======================================================================================================]>
4150
#
4251
# ***** * * *

‎example_community_patch_settings_de.toml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ disabled_events = ""
3737
# Write audio event names to the trace log for troubleshooting
3838
trace_events = false
3939

40+
# Optional generated notification cues; "none" disables an alert.
41+
# Available sounds: default, info, success, warning, alarm, arrival, soft, ping, repair
42+
# Requires patches.toastbannerhooks = true.
43+
alert_victory = "none"
44+
alert_defeat = "none"
45+
alert_armada_created = "none"
46+
alert_armada_battle_won = "none"
47+
alert_armada_battle_lost = "none"
48+
4049
# <[=======================================]>
4150
#
4251
# **** ** **

‎example_community_patch_settings_en-GB-x-cockney.toml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ disabled_events = ""
3737
# Write audio event names to the trace log for troubleshooting
3838
trace_events = false
3939

40+
# Optional generated notification cues; "none" disables an alert.
41+
# Available sounds: default, info, success, warning, alarm, arrival, soft, ping, repair
42+
# Requires patches.toastbannerhooks = true.
43+
alert_victory = "none"
44+
alert_defeat = "none"
45+
alert_armada_created = "none"
46+
alert_armada_battle_won = "none"
47+
alert_armada_battle_lost = "none"
48+
4049
# <[=======================================]>
4150
#
4251
# **** ** **

‎example_community_patch_settings_en-x-minionese.toml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ disabled_events = ""
3737
# Write audio event names to the trace log for troubleshooting
3838
trace_events = false
3939

40+
# Optional generated notification cues; "none" disables an alert.
41+
# Available sounds: default, info, success, warning, alarm, arrival, soft, ping, repair
42+
# Requires patches.toastbannerhooks = true.
43+
alert_victory = "none"
44+
alert_defeat = "none"
45+
alert_armada_created = "none"
46+
alert_armada_battle_won = "none"
47+
alert_armada_battle_lost = "none"
48+
4049
# <[=======================================]>
4150
#
4251
# **** ** **

‎example_community_patch_settings_en.toml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ disabled_events = ""
3737
# Write audio event names to the trace log for troubleshooting
3838
trace_events = false
3939

40+
# Optional generated notification cues; "none" disables an alert.
41+
# Available sounds: default, info, success, warning, alarm, arrival, soft, ping, repair
42+
# Requires patches.toastbannerhooks = true.
43+
alert_victory = "none"
44+
alert_defeat = "none"
45+
alert_armada_created = "none"
46+
alert_armada_battle_won = "none"
47+
alert_armada_battle_lost = "none"
48+
4049
# <[=======================================]>
4150
#
4251
# **** ** **

‎example_community_patch_settings_es.toml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ disabled_events = ""
3737
# Write audio event names to the trace log for troubleshooting
3838
trace_events = false
3939

40+
# Optional generated notification cues; "none" disables an alert.
41+
# Available sounds: default, info, success, warning, alarm, arrival, soft, ping, repair
42+
# Requires patches.toastbannerhooks = true.
43+
alert_victory = "none"
44+
alert_defeat = "none"
45+
alert_armada_created = "none"
46+
alert_armada_battle_won = "none"
47+
alert_armada_battle_lost = "none"
48+
4049
# <[=====================================================]>
4150
#
4251
# * * *

‎example_community_patch_settings_fr.toml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ disabled_events = ""
3737
# Write audio event names to the trace log for troubleshooting
3838
trace_events = false
3939

40+
# Optional generated notification cues; "none" disables an alert.
41+
# Available sounds: default, info, success, warning, alarm, arrival, soft, ping, repair
42+
# Requires patches.toastbannerhooks = true.
43+
alert_victory = "none"
44+
alert_defeat = "none"
45+
alert_armada_created = "none"
46+
alert_armada_battle_won = "none"
47+
alert_armada_battle_lost = "none"
48+
4049
# <[=======================================]>
4150
#
4251
# **** ** **

‎example_community_patch_settings_nl.toml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ disabled_events = ""
3737
# Write audio event names to the trace log for troubleshooting
3838
trace_events = false
3939

40+
# Optional generated notification cues; "none" disables an alert.
41+
# Available sounds: default, info, success, warning, alarm, arrival, soft, ping, repair
42+
# Requires patches.toastbannerhooks = true.
43+
alert_victory = "none"
44+
alert_defeat = "none"
45+
alert_armada_created = "none"
46+
alert_armada_battle_won = "none"
47+
alert_armada_battle_lost = "none"
48+
4049
# <[=======================================]>
4150
#
4251
# **** ** **

‎example_community_patch_settings_ru.toml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ disabled_events = ""
3737
# Write audio event names to the trace log for troubleshooting
3838
trace_events = false
3939

40+
# Optional generated notification cues; "none" disables an alert.
41+
# Available sounds: default, info, success, warning, alarm, arrival, soft, ping, repair
42+
# Requires patches.toastbannerhooks = true.
43+
alert_victory = "none"
44+
alert_defeat = "none"
45+
alert_armada_created = "none"
46+
alert_armada_battle_won = "none"
47+
alert_armada_battle_lost = "none"
48+
4049
# <[============================================================]>
4150
#
4251
#

‎example_community_patch_settings_tlh.toml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ disabled_events = ""
3737
# Write audio event names to the trace log for troubleshooting
3838
trace_events = false
3939

40+
# Optional generated notification cues; "none" disables an alert.
41+
# Available sounds: default, info, success, warning, alarm, arrival, soft, ping, repair
42+
# Requires patches.toastbannerhooks = true.
43+
alert_victory = "none"
44+
alert_defeat = "none"
45+
alert_armada_created = "none"
46+
alert_armada_battle_won = "none"
47+
alert_armada_battle_lost = "none"
48+
4049
# <[=====================================================]>
4150
#
4251
# * * **** * *

0 commit comments

Comments
 (0)