wav
wav copied to clipboard
Return error of ReadInfo()
What is the reasoning behind not returning the error here?
func (d *Decoder) ReadInfo() {
d.err = d.readHeaders()
}
@glaslos not a great reason, the idea is that d.Err() is usually the safe way to check for errors, in this case, I think we should change the API to also return an error.