opus_headers 0.1.2

Parsing the headers of opus files.
Documentation
  • Coverage
  • 46.43%
    13 out of 28 items documented0 out of 4 items with examples
  • Size
  • Source code size: 28.21 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.28 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • yboettcher/opus_headers
    2 2 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • zaethan

Opus Header Parsing Library

Parsing of Opus Headers according to the specification.

Usage

use std::path::Path;
use opus_headers::parse_from_path; // or parse_from_read or parse_from_file

fn main() {
    let path = Path::new("/mnt/RamDisk/silence.opus");
    let headers = parse_from_path(path).unwrap();

    let comments = headers.comments.user_comments;
    for (tag, value) in &comments {
        println!("{}: {}", tag, value);
    }
}

License

As most Rust source, this is library is dual licensed under the Apache 2.0 and MIT license.