vorbis

package
v0.0.0-...-2d56348 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PubSub

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

func NewPubSub

func NewPubSub() *PubSub

func (*PubSub) Subscribe

func (p *PubSub) Subscribe(ctx context.Context, w WriterFlusher)

func (*PubSub) WritePage

func (p *PubSub) WritePage(page *ogg.Page) error

type Stream

type Stream struct {
	Pipe ogg.PageWriter
	// contains filtered or unexported fields
}

func NewStream

func NewStream() *Stream

func (*Stream) WriteBegining

func (s *Stream) WriteBegining(w WriterFlusher) bool

func (*Stream) WritePage

func (s *Stream) WritePage(page *ogg.Page) error

type Streams

type Streams struct {
	Pipe ogg.PageWriter
	// contains filtered or unexported fields
}

func NewStreams

func NewStreams() *Streams

func (*Streams) CurrentStream

func (s *Streams) CurrentStream() *Stream

func (*Streams) WritePage

func (s *Streams) WritePage(page *ogg.Page) error

type Subscriber

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

type WriterFlusher

type WriterFlusher interface {
	Flush()
	Write([]byte)
}

Jump to

Keyboard shortcuts

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