#4090 - Various tweaks and fixes following code review. Switched back to DateFormatters for formatting durations, sanitising audio player durations and current times.

This commit is contained in:
Stefan Ceriu
2021-07-19 15:40:17 +03:00
parent f19511d372
commit a7d053e97f
9 changed files with 70 additions and 127 deletions
@@ -75,12 +75,12 @@ import Foundation
// MARK: - Private
private func stopAllServicesExcept(_ service: AnyObject?) {
for audioRecoder in audioRecorders.allObjects {
if audioRecoder === service {
for audioRecorder in audioRecorders.allObjects {
if audioRecorder === service {
continue
}
audioRecoder.stopRecording()
audioRecorder.stopRecording()
}
guard let audioPlayersEnumerator = audioPlayers.objectEnumerator() else {