rill-lofi 0.3.0

Lo-fi audio emulation: 8-bit, 12-bit, NES, AY-3-8910, Akai S900
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use thiserror::Error;

#[derive(Error, Debug)]
pub enum LofiError {
    #[error("Bit depth error: {0}")]
    BitDepth(String),

    #[error("Sample rate error: {0}")]
    SampleRate(String),

    #[error("Noise error: {0}")]
    Noise(String),

    #[error("Processing error: {0}")]
    Processing(String),
}

pub type LofiResult<T> = Result<T, LofiError>;