Function ears::init [] [src]

pub fn init() -> bool

Initialize the internal context

Return

true if initialization is made with success, false otherwise

Example

match ears::init() {
    true  => {
        // do stuff
    },
    false => panic!("ears init error")
}