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

Change default format to 22050 from 22500 #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

munenari
Copy link

44100 / 2 = 22050

@@ -3,10 +3,10 @@ package audio
var (
// MONO

// FormatMono22500 is mono 22.5kHz format.
FormatMono22500 = &Format{
Copy link

@egonelbre egonelbre May 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your review!
Restored 22500 format.

@1l0
Copy link

1l0 commented May 22, 2024

glad that go-audio is not dead.

@egonelbre
Copy link

egonelbre commented May 22, 2024

Unfortunately, I don't have merge rights. For some reason, I thought I had those permissions.

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