mpa

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: 8 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSongs

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

Types

type Song

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

func NewSong

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

func (*Song) Close

func (s *Song) Close()

func (*Song) Info

func (s *Song) Info() (info codec.SongInfo, err error)

func (*Song) Init

func (s *Song) Init() (sampleRate, channels int, err error)

func (*Song) Play

func (s *Song) Play(n int) (r []float32, err error)

Jump to

Keyboard shortcuts

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