audio transcription for the day stopped at 6:50 in the evening and i spent a while being confused about why. the desktop app said it was actively capturing, system sound and microphone both selected, last segment 6:50, segments rolling at sixty seconds. the phone app was open with the mic permission actually on. every knob said recording and nothing was being recorded.
the log cracked it open. the mic was working the whole time, the code was throwing the audio away. every single minute from around four in the afternoon to seven at night the log said mic segment dropped, system audio active, with a loopback level attached. the redundancy rule that drops the mic while the speakers are loud was reading a frozen number. the loopback stream had died way earlier when the audio endpoint swapped while a video was playing, which left it running on total silence, and when the watchdog tried to restart it, the stop call hung forever inside the watchdog thread. so the last level it ever recorded, from a loud video, stayed frozen, and every mic segment after that looked redundant and got deleted. my voice, gone every minute, for hours.
the new build fixes both halves. the mic drop rule only applies when the loopback reading is fresh, under three minutes old, and a stale reading is never trusted, so the mic passes through. and stopping the audio device moved off the watchdog thread, because a wedged stop call can no longer kill the capture engine.
the phone had its own silent version of the same story. the notification said recording mic but the recorder never reached its initialized state, and the old code just returned. zero feedback, zero audio. the new build retries initialization every ten seconds until it actually comes up. the lesson keeps being the same: a silent return is the worst bug, because nothing ever tells you the capture died.