feat: migrate to decibri 5.0.0 - #26
Merged
Merged
Conversation
rossarmstrong
commented
Jul 10, 2026
Member
- Cargo.toml: decibri 3.0.0 -> 5.0.0; feature output -> playback; rust-version 1.82.0 -> 1.88; package version 0.1.0 -> 0.2.0; drop unused direct dependency crossbeam-channel
- src/commands/capture.rs: rename to Microphone/MicrophoneConfig/ MicrophoneStream; build config via default() then assign; rework read loop onto next_chunk() so output honors --rate at any device native rate; distinguish device loss via take_last_error() (exit 4); replace the overflow watchdog with overrun_count() wired to JSON dropped_chunks under a complete-and-warn policy; simplify post-stop drain
- src/commands/play.rs: rename to Speaker/SpeakerConfig/SpeakerStream; build config via default() then assign; surface output-device failure during playback as exit 4 via take_last_error()
- src/device_resolve.rs: input_devices()/output_devices(); handle DeviceSelector::Id and a non_exhaustive catch-all
- src/commands/devices.rs: MicrophoneInfo/SpeakerInfo; add id to devices --json
- src/commands/capture.rs + src/commands/play.rs (arg structs): restrict --channels to 1 with an exit-2 mono-only arg error; add --device-id building DeviceSelector::Id
- tests/devices_snapshot.rs: add id to the synthetic payload
- tests: pin mono-only rejection, --device-id help/conflict/no-match paths; remove stale wording
- re-accept version and devices-schema snapshots for the new surface
- build.rs: punctuation cleanup in two panic messages
- CHANGELOG.md: 0.2.0 entry
added 3 commits
July 11, 2026 08:03
- Cargo.toml: decibri 3.0.0 -> 5.0.0; feature output -> playback; rust-version 1.82.0 -> 1.88; package version 0.1.0 -> 0.2.0; drop unused direct dependency crossbeam-channel - src/commands/capture.rs: rename to Microphone/MicrophoneConfig/ MicrophoneStream; build config via default() then assign; rework read loop onto next_chunk() so output honors --rate at any device native rate; distinguish device loss via take_last_error() (exit 4); replace the overflow watchdog with overrun_count() wired to JSON dropped_chunks under a complete-and-warn policy; simplify post-stop drain - src/commands/play.rs: rename to Speaker/SpeakerConfig/SpeakerStream; build config via default() then assign; surface output-device failure during playback as exit 4 via take_last_error() - src/device_resolve.rs: input_devices()/output_devices(); handle DeviceSelector::Id and a non_exhaustive catch-all - src/commands/devices.rs: MicrophoneInfo/SpeakerInfo; add id to devices --json - src/commands/capture.rs + src/commands/play.rs (arg structs): restrict --channels to 1 with an exit-2 mono-only arg error; add --device-id building DeviceSelector::Id - tests/devices_snapshot.rs: add id to the synthetic payload - tests: pin mono-only rejection, --device-id help/conflict/no-match paths; remove stale wording - re-accept version and devices-schema snapshots for the new surface - build.rs: punctuation cleanup in two panic messages - CHANGELOG.md: 0.2.0 entry
- npm/decibri-cli/package.json: version 0.1.0 -> 0.2.0 so the wrapper version-parity test passes against the migrated crate
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.