Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8f0e894f86 |
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user