ogg

package
v0.0.0-...-d98ca20 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package ogg provides basic facilities to encode OGG streams

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OggStream

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

OggStream represents an stream of ogg packets

func NewOggStream

func NewOggStream(w io.Writer) *OggStream

NewOggStream returns a new OggStream

func (*OggStream) WritePacket

func (o *OggStream) WritePacket(last bool, granule uint64, data []byte) error

WritePacket writes an ogg packet to the stream. Only 1 segment is supported

Jump to

Keyboard shortcuts

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