A free, open source, and extensible speech-to-text application that works completely offline.
docs(audio): clarify what the mic-init timing log actually measures (#1330)
Rob Sanheim4b7bb4e5c4a8
diff --git a/src-tauri/src/managers/audio.rs b/src-tauri/src/managers/audio.rsindex 24dd04fc..d0c92ba8 100644--- a/src-tauri/src/managers/audio.rs+++ b/src-tauri/src/managers/audio.rs@@ -321,6 +321,11 @@ impl AudioRecordingManager {}*open_flag = true;+ // This timing covers through cpal's stream.play() returning — i.e. the+ // point cpal surfaces as "stream running." It does NOT guarantee the+ // host audio device is producing samples yet; the first input callback+ // fires asynchronously one buffer period later (hardware dependent,+ // typically ~10–200ms on macOS, longer on Bluetooth/USB).info!("Microphone stream initialized in {:?}",start_time.elapsed()