silk-rs

Crates.iosilk-rs
lib.rssilk-rs
version0.2.0
sourcesrc
created_at2022-03-06 16:02:36.246608
updated_at2022-07-09 11:26:23.094283
descriptionRust bindings for silk
homepagehttps://github.com/lz1998/silk-rs
repositoryhttps://github.com/lz1998/silk-rs
max_upload_size
id544547
size1,374,075
(lz1998)

documentation

README

Silk-rs

How to use

Encode

        let input = std::fs::read("input.pcm").unwrap();
        let output = encode_silk(input, 24000, 24000, true).unwrap();
        std::fs::write("output.silk", output).unwrap();

Decode

        let input = std::fs::read("input.silk").unwrap();
        let output = decode_silk(input, 24000).unwrap();
        std::fs::write("output.pcm", output).unwrap();
Commit count: 10

cargo fmt