volumecontrol-core
Core traits, errors, and shared types for the
volumecontrolcrate family.
This crate defines the AudioDevice trait and the AudioError and
DeviceInfo types that are shared across all platform backends.
Note: This crate is not intended to be used directly. Depend on the
volumecontrolcrate, which selects the right platform backend automatically.
Usage
If you are building a custom backend or need direct access to the shared types:
[]
= "0.1"
Example
use AudioError;
// `AudioError` is returned by all fallible operations across backends.
let err = DeviceNotFound;
println!; // "audio device not found"
Built with AI
This crate is part of the volumecontrol workspace, which was built 100% with GitHub Copilot (Claude Opus & Claude Sonnet) as an experiment in AI-driven development of a production-ready Rust crate.
License
MIT — see the LICENSE file for details.