mirror of
https://github.com/yattee/yattee.git
synced 2025-10-09 08:58:10 +00:00
don’t activate AVAudioSession on app start
Signed-off-by: Toni Förster <toni.foerster@gmail.com>
This commit is contained in:
@@ -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)")
|
||||
}
|
||||
|
Reference in New Issue
Block a user