vorbis

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2015 License: ISC Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSong

func NewSong(rf codec.Reader) (codec.Song, error)

func NewSongs

func NewSongs(rf codec.Reader) (codec.Songs, error)

Types

type Vorbis

type Vorbis struct {
	Reader codec.Reader
	// contains filtered or unexported fields
}

func (*Vorbis) Close

func (v *Vorbis) Close()

func (*Vorbis) Info

func (v *Vorbis) Info() (info codec.SongInfo, err error)

func (*Vorbis) Init

func (v *Vorbis) Init() (sampleRate, channels int, err error)

func (*Vorbis) Play

func (v *Vorbis) Play(n int) ([]float32, error)

Jump to

Keyboard shortcuts

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