Documentation ¶ Index ¶ func ReadNSFSongs(rf codec.Reader) ([]codec.Song, error) type NSFSong func (n *NSFSong) Close() func (n *NSFSong) Info() (si codec.SongInfo, err error) func (n *NSFSong) Init() (sampleRate, channels int, err error) func (n *NSFSong) Play(samples int) ([]float32, error) 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) Source Files ¶ View all Source files nsf.go Click to show internal directories. Click to hide internal directories.