Documentation ¶
Index ¶
- Constants
- type Reader
- func (r *Reader) Duration() (time.Duration, error)
- func (r *Reader) FloatValue(sample Sample, channel uint) float64
- func (r *Reader) Format() (format *WavFormat, err error)
- func (r *Reader) Info() (*WavInfo, error)
- func (r *Reader) IntValue(sample Sample, channel uint) int
- func (r *Reader) Read(p []byte) (n int, err error)
- func (r *Reader) ReadSamples(params ...uint32) (samples []Sample, err error)
- type Sample
- type WavData
- type WavFormat
- type WavInfo
- type Writer
Constants ¶
View Source
const ( AudioFormatPCM = 1 AudioFormatIEEEFloat = 3 AudioFormatALaw = 6 AudioFormatMULaw = 7 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.