Revert "Sounds: survive an audio device that crashes the app on open"

This reverts commit c91d57633f.
This commit is contained in:
foxyz committed 2026-10-17 02:04:33 +03:00
1 parent 49fee1ca19
commit 8aa1186d29
5 files changed
+3 -92

No files matched your search

-2
View File
@@ -49,8 +49,6 @@ Future<void> main(List<String> args) async {
await AppSettings.instance.ensureLoaded();
// The composition root: every system, made once.
final graph = AppGraph.build();
// Sounds stay off after an audio-device crash (see SoundEngine.crashMark).
graph.sfx.engine.crashMark = '${dirs.support}${Platform.pathSeparator}audio-init.pending';
final ports = graph.ports;
// Close button / Alt+F4: the orderly close ([shutDownApp]), so others
// see "left", your server shuts down and no player outlives the engine.