Record restored PS3 Eye audio stream

This commit is contained in:
Meta Vens 2026-05-22 01:15:37 +01:00
commit dcbda18aa8
4 changed files with 12 additions and 13 deletions

View file

@ -109,7 +109,7 @@
"sourceId": "mic-usb-camera-1",
"kind": "Audio",
"origin": "LocalDevice",
"enabled": false,
"enabled": true,
"adapter": "frame-events",
"command": "../native/probes/wasapi_audio_cadence/build/Release/wasapi_audio_cadence.exe",
"arguments": [

View file

@ -37,10 +37,10 @@ flowchart TD
The current diagnostic witness is `native/probes/wasapi_audio_cadence`, which
emits timestamped WASAPI `audio-block` metadata into `Mimir.Runtime` through the
frame-event adapter. It has proven Focusrite mic, Kiyo Pro mic, Kiyo mic, one
USB Camera mic, and Scarlett speaker loopback in rolling buffers when loopback
audio is actively playing. A second USB Camera microphone endpoint enumerates
but currently produces zero WASAPI packets.
frame-event adapter. It has proven Focusrite mic, Kiyo Pro mic, Kiyo mic, both
USB Camera / PS3 Eye mics, and Scarlett speaker loopback in rolling buffers when
loopback audio is actively playing. One PS3 Eye mic previously enumerated but
produced zero WASAPI packets until that Eye was unplugged and replugged.
Next, replace the diagnostic bridge with native audio capture workers that
append typed blocks into `Mimir.Runtime`, then expose buffer depth, clock state,

View file

@ -28,3 +28,4 @@
{"ts":"2026-05-22T05:05:00+00:00","type":"verification","status":"ok","note":"After replugging the Kiyo Pro, all Pro PnP interfaces reported OK and the KS probe again measured 1280x720 MJPG at 24.97 fps and 1920x1080 MJPG at 25.19 fps. Mimir.BufferSmoke with --require-samples then confirmed all five declared local optical buffers received samples: kiyo-pro-rgb 99, kiyo-rgb 120, leap-stereo-ir 401, ps3-eye-0 937, ps3-eye-1 937 over the 8 second smoke run. Pro remains UsbHighSpeed and ~25 fps, but it is now in the runtime buffers."}
{"ts":"2026-05-22T05:35:00+00:00","type":"verification","status":"ok","note":"Added native/probes/wasapi_audio_cadence and MimirAudioBlockDescriptor so WASAPI audio-block metadata enters Mimir.Runtime rolling buffers through the diagnostic event adapter. Endpoint inventory found five capture endpoints and four render endpoints. Full Mimir.BufferSmoke with --require-samples and active music on Scarlett speakers proved ten non-empty buffers: five camera buffers, Focusrite mic, Kiyo mic, Kiyo Pro mic, one USB Camera mic, and Scarlett speaker loopback. Scarlett loopback is silent/no-packet when no render stream is active; the second USB Camera mic endpoint enumerates OK but produced zero WASAPI packets in standalone and simultaneous tests."}
{"ts":"2026-05-22T05:50:00+00:00","type":"verification","status":"partial","note":"Correlated the two PS3 Eye audio endpoints to their USB parents. The working endpoint is Microphone (5- USB Camera-B4.09.24.1), MMDEVAPI {57befef3-599c-4c73-a0cd-9539ffc2f54f}, parent USB\\VID_1415&PID_2000&MI_01\\9&35158e62&0&0001 / composite USB\\VID_1415&PID_2000\\8&29c54ea8&0&4; its camera interface MI_00 is bound to libusbK and WASAPI emits 480-frame blocks. The silent endpoint is Microphone (4- USB Camera-B4.09.24.1), MMDEVAPI {f26c55af-5018-438a-8cc1-6dbead205a3c}, parent USB\\VID_1415&PID_2000&MI_01\\9&11052345&0&0001 / composite USB\\VID_1415&PID_2000\\8&2efe0359&0&1; its camera interface MI_00 is bound to WinUSB/libwdi and standalone WASAPI capture opens but emits zero packets. Both MI_01 audio devices report Microsoft usbaudio OK, so the failure is stream data, not endpoint enumeration."}
{"ts":"2026-05-22T06:05:00+00:00","type":"verification","status":"ok","note":"After the other PS3 Eye was unplugged/replugged, the previously silent Microphone (4- USB Camera-B4.09.24.1) endpoint started emitting 480-frame WASAPI blocks even though its MI_00 camera interface remained on oem26.inf / WinUSB/libwdi. Full Mimir.BufferSmoke with --require-samples proved 11 non-empty buffers: five camera buffers, Focusrite mic, Kiyo mic, Kiyo Pro mic, both PS3 Eye mics, and active Scarlett speaker loopback. The earlier driver-as-cause hypothesis is weakened; the failure was fixed by device re-enumeration without changing the camera-side driver binding."}

View file

@ -159,11 +159,9 @@ current_status:
drivers that push buffer handles into Mimir.Runtime. Current
Mimir.BufferSmoke with `--require-samples` proves all five declared local
optical buffers plus Focusrite mic, Kiyo Pro mic, Kiyo mic, one USB Camera
mic, and active Scarlett speaker loopback receive samples. The silent USB
Camera mic is the PS3 Eye audio endpoint parented to composite
`USB\VID_1415&PID_2000\8&2efe0359&0&1`; its MI_01 audio interface reports
OK but emits zero WASAPI packets, while its MI_00 camera interface is bound
to WinUSB/libwdi. The working Eye mic is parented to
`USB\VID_1415&PID_2000\8&29c54ea8&0&4` with MI_00 bound to libusbK. Keep the
Focusrite away from the Leap USB neighborhood and treat Kiyo Pro as a ~25
fps source until its SuperSpeed negotiation is fixed.
mic, both PS3 Eye mics, and active Scarlett speaker loopback receive
samples. One PS3 Eye mic previously enumerated OK but emitted zero WASAPI
packets; unplug/replug fixed the audio stream without changing that Eye's
MI_00 camera binding from WinUSB/libwdi to libusbK. Keep the Focusrite away
from the Leap USB neighborhood and treat Kiyo Pro as a ~25 fps source until
its SuperSpeed negotiation is fixed.