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](https://github.com/redsudo/mqaid) (python) and [MQA_indentifier](https://github.com/purpl3F0x/MQA_identifier) (C++).

## Installation

```bash
cargo install mqa-identify --features bin
```

## Usage

For the optimal performance, it is highly recommended to use one codegen unit.
```toml
# Cargo.toml
codegen-units = 1
```

```rust
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"),
}

```