Expand description
§Kithara
Facade crate providing a unified API for audio streaming and decoding.
§Quick start
ⓘ
use kithara::prelude::*;
// Auto-detect from URL
let config = ResourceConfig::new("https://example.com/song.mp3")?;
let mut resource = Resource::new(config).await?;
// Read interleaved PCM
let mut buf = [0.0f32; 1024];
resource.read(&mut buf);Modules§
- abr
- assets
- audio
- bufpool
- decode
- drm
- events
- file
- hls
- net
- platform
- play
- prelude
- Prelude — flat imports for common types.
- stream
Attribute Macros§
- mock
#[kithara::mock]— workspace replacement for#[unimock(...)]. Гейтитсяcfg(any(test, feature = "mock"))→ trait-декларация в проде остаётся без mock-impl.