gme

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2016 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