simple_decoder 0.1.1

The ULTIMATE lightest audio decoding in Rust: Symphonia + Rubato under the hood.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::{SimpleDecoderError, types::AudioTrack};

pub trait AudioDecoder {
    fn new() -> Self;
    fn decode(&self, data: &[u8]) -> Result<AudioTrack, SimpleDecoderError>;
}

pub mod aac;
pub mod flac;
pub mod mp3;
pub mod oggopus;
pub mod oggvorbis;
pub mod simple;
pub mod wav;