OggOpusMeta

package module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Added_calc_data

type Added_calc_data struct {
	// contains filtered or unexported fields
}

type ByteReader

type ByteReader struct {
	Position int
	Buf      []byte
}

func (*ByteReader) Read

func (dec *ByteReader) Read(n int) []byte

type OggHeader

type OggHeader struct {
	// contains filtered or unexported fields
}

type OggOpusMeta

type OggOpusMeta struct {
	// contains filtered or unexported fields
}

func CreateDecoder

func CreateDecoder(file []byte) OggOpusMeta

func (*OggOpusMeta) ReadOggHeader

func (meta *OggOpusMeta) ReadOggHeader(pre_skip []byte) (OggHeader, Added_calc_data)

* Reads the Ogg page information into OggHeader Further calculates useful information into Added_calc_data

func (*OggOpusMeta) ReadOpusHead

func (meta *OggOpusMeta) ReadOpusHead() OpusHead

func (*OggOpusMeta) ReadOpusPackets

func (meta *OggOpusMeta) ReadOpusPackets(data Added_calc_data) [][]byte

* Returns an array of raw Opus Packets

func (*OggOpusMeta) ReadOpusTags

func (meta *OggOpusMeta) ReadOpusTags() OpusTags

type OpusHead

type OpusHead struct {
	// contains filtered or unexported fields
}

type OpusTags

type OpusTags struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL