id: rb-audio-input feature: 2-audio-input stage: review status: closed — B1-B13 pass (maintainer, 2026-09-10) after fix 5b30457; C1-C4, C8 fixed in 1f812bc created: 2026-09-10 commits: 509c64a..3f98b26 (8 commits on main, unpushed at time of writing)

Review — Audio input

Review only: findings and a checklist, no fixes. Fixes, if any, are decided after the checklist is filled and go in as fix(...): ... [rb-audio-input].

A. Automated

Check Result
npm test 22 passed (fixtures 7, resample 7, decode 8)
npm run lint clean
tsc -b + npm run build clean, 220 kB JS

B. Manual checklist (Android Chrome, ./scripts/dev.sh, http://localhost:5173)

Fill in with ✅ / ❌ and a note. Test files are in Download/rpms on the phone.

C. Code review findings (self-review, ordered by weight)

D. Open question carried from the PRD

Whether Android Chrome decodes OGG/Vorbis and M4A through decodeAudioData. Answered: B6 (OGG) and B7 (M4A) both decode on Android Chrome 140 and on laptop Chrome. No decoder needed. If either fails, the decision is a discussion (drop the format from the promise, or add a decoder), not a fix in this stage.

E. Test environment decision

Laptop browser (upload + playback) is the dev-test loop from here on; the phone is only needed for recording and the Android phase. Laptop mic does not work under Ubuntu on this machine (separate, pre-existing issue), so recording is out of the laptop loop.