Fix 'No Audio Detected' notification timing - increase delays from 2s/8s to 5s/12s to prevent false positives
This commit is contained in:
parent
9dca90ea37
commit
c2a3b9d787
@ -120,7 +120,7 @@ class Recorder: ObservableObject {
|
||||
}
|
||||
|
||||
audioLevelCheckTask = Task {
|
||||
let notificationChecks: [TimeInterval] = [2.0, 8.0]
|
||||
let notificationChecks: [TimeInterval] = [5.0, 12.0]
|
||||
|
||||
for delay in notificationChecks {
|
||||
try? await Task.sleep(nanoseconds: UInt64(delay * 1_000_000_000))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user