Closed glaurent closed 8 years ago
public func stop() { audioEngine.stop() audioEngine.reset() audioEngine = nil captureSession.stopRunning() }
on 2nd call, audioEngine.stop() will crash since audioEngine is nil.
Fixed by https://github.com/vadymmarkov/Beethoven/pull/32
public func stop() { audioEngine.stop() audioEngine.reset() audioEngine = nil captureSession.stopRunning() }
on 2nd call, audioEngine.stop() will crash since audioEngine is nil.