Documentation
¶
Overview ¶
Package opus decodes elementary Opus packets to borrowed planar PCM.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( ErrMalformed = errors.New("malformed Opus data") ErrUnsupported = errors.New("unsupported Opus format") )
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder decodes a single Opus elementary stream to 48 kHz Float32 PCM. A Decoder is used by one goroutine at a time. The caller applies trimming from the container timeline.
func NewDecoder ¶
NewDecoder uses the OpusHead identification header, supplied by a Matroska track as CodecPrivate.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package opus provides a Opus Audio Codec RFC 6716 implementation
|
Package opus provides a Opus Audio Codec RFC 6716 implementation |
|
internal/bitdepth
Package bitdepth provides utilities to convert between different audio bitdepths
|
Package bitdepth provides utilities to convert between different audio bitdepths |
|
internal/celt
Package celt implements the MDCT layer of the Opus decoder.
|
Package celt implements the MDCT layer of the Opus decoder. |
|
internal/rangecoding
Package rangecoding provides a Range coder for the Opus bitstream
|
Package rangecoding provides a Range coder for the Opus bitstream |
|
internal/resample/silk
Package silkresample ports the RFC 6716 SILK resampler.
|
Package silkresample ports the RFC 6716 SILK resampler. |
|
internal/silk
Package silk provides a Silk coder
|
Package silk provides a Silk coder |
|
internal/slicetools
Package slicetools provides shared helpers for reusing scratch slices.
|
Package slicetools provides shared helpers for reusing scratch slices. |