don’t activate AVAudioSession on app start

Signed-off-by: Toni Förster <toni.foerster@gmail.com>
This commit is contained in:
Toni Förster
2024-08-31 13:19:54 +02:00
parent 740a2f85ac
commit 633af02577
3 changed files with 19 additions and 2 deletions

View File

@@ -23,7 +23,6 @@ final class AppDelegate: UIResponder, UIApplicationDelegate {
// Configure the audio session for playback
do {
try AVAudioSession.sharedInstance().setCategory(.playback, mode: .moviePlayback)
try AVAudioSession.sharedInstance().setActive(true)
} catch {
logger.error("Failed to set audio session category: \(error)")
}