Skip to main content

Crate dreamwell_media

Crate dreamwell_media 

Source
Expand description

Dreamwell Media v1.0.0 — audio/video decode and format conversion.

Provides a unified media decoding API with optional FFmpeg backend. Audio files are decoded to mono f32 PCM samples at a target sample rate, ready for consumption by the audio system (oddio spatial backend).

Clean Compute rules:

  • All decode happens on the cold path (load time, never per-frame)
  • Decoded samples are pre-allocated and owned (no streaming in v1.0.0)
  • No hot-path heap churn — decoded audio is Arc’d and shared

Re-exports§

pub use audio_decode::decode_audio_file;
pub use audio_decode::AudioBuffer;
pub use audio_decode::AudioDecodeError;

Modules§

audio_decode
Audio file decoding — converts any supported format to mono f32 PCM.