dreamwell-media 1.0.0

Dreamwell media pipeline — audio/video decode via FFmpeg, format conversion, streaming
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! 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

pub mod audio_decode;

#[cfg(feature = "ffmpeg")]
pub mod ffmpeg_decode;

pub use audio_decode::{decode_audio_file, AudioBuffer, AudioDecodeError};