Skip to main content

Crate qoa

Crate qoa 

Source
Expand description

High-performance, chunk-based audio codec for the QOA format.

This crate provides encoders and decoders for the QOA (Quite OK Audio) format, enabling efficient lossy audio compression and decompression without heap allocation. It is designed for no_std environments with predictable stack-only memory usage and minimal buffer requirements, while remaining compatible with std platforms.

§QOA Format Specification

For the full specification: Visit QOA Format.

Structs§

Decoder
A chunk-based QOA audio decoder.
DecoderResult
Result of a single Decoder::decode call.
Encoder
A QOA audio encoder (work in progress).

Enums§

DecoderError
Errors returned by the decoder’s Decoder::decode method.

Type Aliases§

Consumed
Number of input bytes consumed by the last call to Decoder::decode.
Produced
Number of samples produced by the last call to Decoder::decode.