maddyblue / go-dsp

Digital Signal Processing for Go
http://godoc.org/github.com/mjibson/go-dsp
ISC License
858 stars 89 forks source link

Index fix #10

Closed nlefler closed 10 years ago

nlefler commented 10 years ago

Use stdlib functions for converting little-endian bytes to single values Fix indexing of sample/channel in readSample. Use int for sample index to avoid overflow for wav files with greater than UINT16_MAX samples

nlefler commented 10 years ago

Update PR. Removed changes to byte reading. Updated sample index calculation for comment