Function libmapper_rs::get_mapper_version
source ยท pub fn get_mapper_version() -> &'static strExpand description
Get the version of the loaded libmapper library.
Examples found in repository?
examples/device.rs (line 6)
5 6 7 8 9 10 11 12 13 14 15 16
fn main() {
println!("Using libmapper version {} ", libmapper_rs::get_mapper_version());
let dev = Device::create("rustmapper");
loop {
dev.poll_and_block(Duration::from_millis(10));
if dev.is_ready() {
break;
}
}
println!("Device became ready!");
}