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

Fix FileSize for saving .wav #6

Merged
merged 7 commits into from
Oct 8, 2023
Merged

Fix FileSize for saving .wav #6

merged 7 commits into from
Oct 8, 2023

Conversation

MarkKremer
Copy link
Contributor

@MarkKremer MarkKremer commented Oct 8, 2023

Continuation of faiface/beep#144 with thanks to @skitaoka.

I've written some tests but it does add 2 dependencies (github.com/stretchr/testify/assert, github.com/orcaman/writerseeker). I think it's okay but would like a second opinion on the matter.

Todo:

  • Fix filesize in decode function as well. I'm wrong, it works already.
  • Write tests

@MarkKremer MarkKremer marked this pull request as ready for review October 8, 2023 12:53
@MarkKremer MarkKremer changed the title Fix encoding & decoding of WAV files Fix FileSize for saving .wav Oct 8, 2023
@dusk125
Copy link
Contributor

dusk125 commented Oct 8, 2023

Lgtm

@MarkKremer MarkKremer merged commit 5ea0dc7 into dev Oct 8, 2023
@MarkKremer MarkKremer deleted the fix-wav-encoding branch October 8, 2023 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants