Skip to content

Fix FileSize for saving .wav#6

Merged
MarkKremer merged 7 commits into
devfrom
fix-wav-encoding
Oct 8, 2023
Merged

Fix FileSize for saving .wav#6
MarkKremer merged 7 commits into
devfrom
fix-wav-encoding

Conversation

@MarkKremer

@MarkKremer MarkKremer commented Oct 8, 2023

Copy link
Copy Markdown
Contributor

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

dusk125 commented Oct 8, 2023

Copy link
Copy Markdown
Contributor

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