Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decoder potentially missing a few samples? #12

Closed
slimsag opened this issue Oct 9, 2014 · 0 comments
Closed

Decoder potentially missing a few samples? #12

slimsag opened this issue Oct 9, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@slimsag
Copy link
Contributor

slimsag commented Oct 9, 2014

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.

@slimsag slimsag self-assigned this Oct 9, 2014
@slimsag slimsag modified the milestones: Version 2, Version 1.1 Oct 9, 2014
@slimsag slimsag added bug and removed question labels Oct 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant