The editor gets a USB button that asks the device for the playback
counters and shows them in a pop-up:
- command 89 USBDIAG: version 1, the playback alt setting, playing,
then nine 5-byte counters (7 bits, LSB first): SET_INTERFACE to the
playback interface, EP3 interrupts, packets received, frames stored,
packets dropped, dry blocks, frames dropped and repeated by the
rate follow, and the ring's fill. Read only; zeros without
FELUCCA_UAC_OUT.
- usb.c counts the playback SET_INTERFACE and the EP3 interrupts.
- editor_test.c checks the reply's layout and its zero counters before
any playback.
- EDITOR_PROTOCOL.md: the row for command 89.
Command 89 is new, so the INFO reply and the older commands do not
change.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94