We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56c800f commit 3c541f7Copy full SHA for 3c541f7
lib/models/audio.dart
@@ -176,7 +176,12 @@ class AudioModel extends ChangeNotifier {
176
final player = AudioPlayer();
177
_speakerDisconnectTimer = Timer.periodic(
178
const Duration(minutes: 5),
179
- (_) => player.play(AssetSource("silence.mp3")),
+ (_) => player.play(
180
+ AssetSource("silence.mp3"),
181
+ ctx: AudioContextConfig(
182
+ focus: AudioContextConfigFocus.mixWithOthers,
183
+ ).build(),
184
+ ),
185
);
186
final sources = json['sources'];
187
if (sources != null) {
0 commit comments