opus-go/errors.go
Sean DuBois 0c432b922c Only support CELT for now
Assert that Hybrid or Silk wasn't selected
2022-06-12 16:02:47 -04:00

15 lines
644 B
Go

package opus
import "errors"
var (
errTooShortForTableOfContentsHeader = errors.New("Packet is too short to contain table of contents header")
errUnsupportedFrameCode = errors.New("unsupported frame code")
errTooShortForArbitraryLengthFrames = errors.New("packet is too short to contain arbitrary length frames")
errArbitraryLengthFrameVBRUnsupported = errors.New("arbitrary length frames with VBR is unsupported")
errArbitraryLengthFramePaddingUnsupported = errors.New("arbitrary length frames with padding is unsupported")
errUnsupportedConfigurationMode = errors.New("unsupported configuration mode")
)