Fix: Prevent recording flicker on start

This commit is contained in:
Beingpax 2025-08-02 09:15:46 +05:45
parent 99dfb74490
commit 1e4b5436f6

View File

@ -56,6 +56,8 @@ class Recorder: ObservableObject {
}
func startRecording(toOutputFile url: URL) async throws {
isReconfiguring = true
defer { isReconfiguring = false }
deviceManager.isRecordingActive = true
let currentDeviceID = deviceManager.getCurrentDevice()