Decoder potentially missing a few samples?
slimsag opened this issue · 0 comments
slimsag commented
Writing tests for the encoder and comparing samples of encoded data with decoded forms gives me:
encode_test.go:124: read 88178 samples wanted 88200
I think the decoder (not the encoder) is potentially missing a few samples at the end (or start?) due to an incorrect offset of some sort.
The way to test would be to decode/encode the same file constantly to determine if a fixed number of samples is always lost.