nsf

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2015 License: ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadNSFSongs

func ReadNSFSongs(rf codec.Reader) ([]codec.Song, error)

Types

type NSFSong

type NSFSong struct {
	NSF     *nsf.NSF
	Index   int
	Playing bool
	Reader  codec.Reader
}

func (*NSFSong) Close

func (n *NSFSong) Close()

func (*NSFSong) Info

func (n *NSFSong) Info() (si codec.SongInfo, err error)

func (*NSFSong) Init

func (n *NSFSong) Init() (sampleRate, channels int, err error)

func (*NSFSong) Play

func (n *NSFSong) Play(samples int) ([]float32, error)

Jump to

Keyboard shortcuts

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