docs(audio): clarify what the mic-init timing log actually measures (#1330)

This commit is contained in:
Rob Sanheim 2026-04-24 04:51:40 -05:00 committed by GitHub
parent af6ec6c903
commit 4b7bb4e5c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 ~10200ms on macOS, longer on Bluetooth/USB).
info!(
"Microphone stream initialized in {:?}",
start_time.elapsed()