This repository was archived by the owner on Feb 21, 2026. It is now read-only.
Change default format to 22050 from 22500#21
Open
munenari wants to merge 2 commits intogo-audio:masterfrom
Open
Change default format to 22050 from 22500#21munenari wants to merge 2 commits intogo-audio:masterfrom
munenari wants to merge 2 commits intogo-audio:masterfrom
Conversation
egonelbre
suggested changes
May 21, 2024
| // MONO | ||
|
|
||
| // FormatMono22500 is mono 22.5kHz format. | ||
| FormatMono22500 = &Format{ |
There was a problem hiding this comment.
This would be a backwards incompatible change. Let's add 22.05khz as an additional format rather than modifying the existing FormatMono22500.
PS: changing the tests is fine.
Author
There was a problem hiding this comment.
Thank you for your review!
Restored 22500 format.
|
glad that go-audio is not dead. |
egonelbre
approved these changes
May 22, 2024
|
Unfortunately, I don't have merge rights. For some reason, I thought I had those permissions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
44100 / 2 = 22050