Skip to content

feat: restore microphone and speaker visualization on phoxal v0.6.0#20

Merged
jBernavaPrah merged 1 commit into
mainfrom
feat/restore-led-mic-speaker-viz
Jun 11, 2026
Merged

feat: restore microphone and speaker visualization on phoxal v0.6.0#20
jBernavaPrah merged 1 commit into
mainfrom
feat/restore-led-mic-speaker-viz

Conversation

@jBernavaPrah

Copy link
Copy Markdown
Contributor

Summary

The v0.5.0 typed-bus migration dropped the microphone and speaker visualization paths because the phoxal topic tree had no fluent leaves for those capabilities.

phoxal v0.6.0 adds the missing leaves (component(id).microphone(cap).data(), component(id).speaker(cap).audio()), so this restores the dropped rerun-proxy viz:

  • microphone — subscribe to the data leaf, log the audio frame byte count as a scalar (audio_bytes)
  • speaker — subscribe to the audio leaf, log the output byte count as a scalar (audio_output_bytes)

Restores the capability::{microphone,speaker} log modules, the Microphone/SpeakerData events, their subscription arms, and the dispatch arms in main.rs. Bumps the phoxal dependency to 0.6.0.

LED remains a no-op subscription — it was never visualized in this proxy (even pre-migration), so there is nothing to restore there.

Verification

  • cargo build
  • cargo clippy --all-targets ✅ (clean)
  • cargo test ✅ (17 passed)
  • cargo fmt --check

🤖 Generated with Claude Code

The v0.5.0 typed-bus migration dropped the microphone and speaker
visualization paths because the topic tree had no fluent leaves for those
capabilities. phoxal v0.6.0 adds `component(id).microphone(cap).data()` and
`component(id).speaker(cap).audio()`, so re-wire both:

- microphone: subscribe to the data leaf, log audio frame byte count as a scalar
- speaker: subscribe to the audio leaf, log output byte count as a scalar

Restores the dropped `capability::{microphone,speaker}` log modules, the
`Microphone`/`SpeakerData` events, their subscriptions, and dispatch arms.
Bumps the phoxal dependency to 0.6.0.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@jBernavaPrah jBernavaPrah merged commit 4f9c105 into main Jun 11, 2026
4 checks passed
@jBernavaPrah jBernavaPrah deleted the feat/restore-led-mic-speaker-viz branch June 11, 2026 10:36
@github-actions github-actions Bot mentioned this pull request Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant