In-memory MPEG Layer III conversion backed by the pinned pure-Rust MP3 codec.
MP3 output accepts standard numeric bitrates in bits per second. :bitrate_mode
is :vbr by default or :cbr; metadata such as ID3 tags is not preserved.
Summary
Functions
@spec decode(binary()) :: {:ok, RustyOpus.PCM.t()} | {:error, RustyOpus.Error.t()}
@spec encode( RustyOpus.PCM.t(), keyword() ) :: {:ok, binary()} | {:error, RustyOpus.Error.t()}
@spec reencode( binary(), keyword() ) :: {:ok, binary()} | {:error, RustyOpus.Error.t()}