Documentation ¶ Index ¶ func New(rf codec.Reader) (codec.Songs, error) type Wav func (w *Wav) Close() func (w *Wav) Info() (info codec.SongInfo, err error) func (w *Wav) Init() (sampleRate, channels int, err error) func (w *Wav) Play(n int) ([]float32, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(rf codec.Reader) (codec.Songs, error) Types ¶ type Wav ¶ type Wav struct { Reader codec.Reader // contains filtered or unexported fields } func (*Wav) Close ¶ func (w *Wav) Close() func (*Wav) Info ¶ func (w *Wav) Info() (info codec.SongInfo, err error) func (*Wav) Init ¶ func (w *Wav) Init() (sampleRate, channels int, err error) func (*Wav) Play ¶ func (w *Wav) Play(n int) ([]float32, error) Source Files ¶ View all Source files wav.go Click to show internal directories. Click to hide internal directories.