libmic-rs 0.1.0

A simple, cross-platform Rust crate for recording audio from microphones to WAV files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug)]
pub enum MicError {
    DeviceNotFound,
    StreamBuildFailed,
    Io(std::io::Error),
    Other(String),
}

impl From<std::io::Error> for MicError {
    fn from(e: std::io::Error) -> Self {
        MicError::Io(e)
    }
}