mqa-identify 0.2.0

A minimal library, to check if a flac file has been encoded by/with MQA
Documentation

Description

A library for identifying MQA (Master Quality Authenticated) audio files, with a optional compation binary. Similar to mqaid (python) and MQA_indentifier (C++).

Installation

cargo install mqa-identify --features bin

Usage

For the optimal performance, it is highly recommended to use one codegen unit.

# Cargo.toml
codegen-units = 1
let flac_file_path = PathBuf::from("path/to/flac/file");
match mqa_identify::identify_mqa(flac_file_path) {
    Ok(true) => println!("File is likely mqa encoded"),
    Ok(false) => println!("File is not mqa encoded"),
    Err(_) => println!("Error decoding file"),
}