lasprs 0.14.1

Library for Acoustic Signal Processing (Rust edition, with optional Python bindings via pyo3)
use crate::config::*;

/// Enumerator denoting, for each channel what the level approximately is. Low,
/// fine, high or clipped.
#[cfg_attr(
    feature = "python-bindings",
    gen_stub_pyclass_enum,
    pyclass(eq, eq_int, from_py_object)
)]
#[derive(Copy, Debug, PartialEq, Clone, Default)]
pub enum ClipState {
    /// Level is rather low
    #[default]
    LowLevel,
    /// Default state, fine levels
    LevelFine,
    /// High levels: warning!
    HighLevel,
    /// Signal probably clipped. The instant denotes when in history the clip
    /// happened.
    Clipped,
}