Function ears::init_in [] [src]

pub fn init_in() -> Option<RecordContext>

Initialize the input device context

Return

true if initialization is made with success, false otherwise

Example

match ears::init_in() {
    Some(rc) => {
        // do stuff
    },
    None     => panic!("ears init input error")
}