ogg

package
v0.0.0-...-add2d34 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2018 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