gme

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSong

func GetSong(rf codec.Reader, id codec.ID) (codec.Song, error)

func NewSongs

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

Types

type Track

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

func (*Track) Close

func (t *Track) Close()

func (*Track) Info

func (t *Track) Info() (codec.SongInfo, error)

func (*Track) Init

func (t *Track) Init() (sampleRate, channels int, err error)

func (*Track) Play

func (t *Track) Play(n int) ([]float32, error)

Jump to

Keyboard shortcuts

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