Function wavpack::get_library_version [−][src]
pub fn get_library_version() -> u32
Expand description
Return the WavPack library version in a packed integer.
Bits 0-7 give the micro version, bits 8-15 give the minor version, and bits 16-23 give the major version. As of this writing the version is 5.0.0.
use wavpack::get_library_version;
let version = get_library_version();
assert_eq!(version, 0x050400);