Skip to content

Detect NumChannels during ogg/vorbis decode#139

Closed
gabe565 wants to merge 1 commit intofaiface:masterfrom
gabe565:patch-1
Closed

Detect NumChannels during ogg/vorbis decode#139
gabe565 wants to merge 1 commit intofaiface:masterfrom
gabe565:patch-1

Conversation

@gabe565
Copy link
Copy Markdown

@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
Copy Markdown

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
Copy Markdown
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