forked from Foxyz/sync_replay_project
Revert "Sounds: survive an audio device that crashes the app on open"
This reverts commit c91d57633f.
This commit is contained in:
1 parent
49fee1ca19
commit
8aa1186d29
5 files changed
+3
-92
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user