Compare commits

...

1 Commits

Author SHA1 Message Date
dimitris-c 8f0e894f86 fix a glitch sound on pause and play 2024-03-10 19:22:47 +02:00
@@ -514,6 +514,7 @@ open class AudioPlayer {
/// Pauses the audio engine and stops the player's hardware
private func pauseEngine() {
guard isEngineRunning else { return }
audioEngine.reset()
audioEngine.pause()
player.auAudioUnit.stopHardware()
Logger.debug("engine paused ⏸", category: .generic)