feat: restore microphone and speaker visualization on phoxal v0.6.0#20
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:audio_bytes)audio_output_bytes)Restores the
capability::{microphone,speaker}log modules, theMicrophone/SpeakerDataevents, their subscription arms, and the dispatch arms inmain.rs. Bumps thephoxaldependency to0.6.0.Verification
cargo build✅cargo clippy --all-targets✅ (clean)cargo test✅ (17 passed)cargo fmt --check✅🤖 Generated with Claude Code