bluefireteam / audioplayers

A Flutter package to play multiple audio files simultaneously (Android/iOS/web/Linux/Windows/macOS)
https://pub.dartlang.org/packages/audioplayers
MIT License
2.01k stars 845 forks source link

I don't want to have sound output while in silent mode. #1737

Closed buisiss12 closed 7 months ago

buisiss12 commented 10 months ago

(iOS) Before using this package, flutter_TTS would not play when the device was in silent mode. But after using this package, audio is now output even when the device is in silent mode.

AppDelegate.swift is default now.  I tried 'import AVFoundation' and try 'AVAudioSession.sharedInstance().setCategory(.ambient) ' but it did not cure the problem.

How do I mute all sound output from the app when in silent mode?

Gustl22 commented 8 months ago

Can you please fill the complete issue template? I'm not sure, you're in the right package. These calls are not part of our exposed library.

github-actions[bot] commented 7 months ago

This issue was closed by the changes-requested bot due to inactivity.