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

Detect NumChannels during ogg/vorbis decode #139

Closed
wants to merge 1 commit into from

Conversation

gabe565
Copy link

@gabe565 gabe565 commented Dec 27, 2021

The current vorbis decoder sets NumChannels to 2 even though jfreymuth/oggvorbis provides a way to determine a vorbis stream's number of channels.

This is working in my testing, but if this was hardcoded to 2 for a reason then feel free to close this PR.

@samhocevar
Copy link

Hello! Unfortunately this is not enough because you also need to fix Stream() which expects stereo data. I only noticed your PR today but I had already submitted #154 some time ago, which hopefully addresses the whole issue.

@gabe565
Copy link
Author

gabe565 commented Jul 10, 2023

Oh nice catch. Closing in favor of #154

@gabe565 gabe565 closed this Jul 10, 2023
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.

2 participants