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

Mix_SetPanning appears to only work when audio device is set for 2 channels #665

Open
superhac opened this issue Feb 13, 2025 · 0 comments

Comments

@superhac
Copy link

When using the Mix_SetPanning with more then two channels, say 8 (7.1) calling it has no effect on the audio. If I switch the same device back to two channel mode then the panning effect works as expected. The audio I'm playing is 2 channel also. Meaning there's only audio on the FR and FL channels.

I noticed in the wiki it mentions: Note that an audio device in mono mode is a no-op, but this call will return successful in that case. But I didn't see any other use cases listed as an exception to this not working. E.g. channel counts greater then 2.

Thanks!

@superhac superhac changed the title Mix_SetPanning appears to only work when audio device is set 2 channels Mix_SetPanning appears to only work when audio device is set for 2 channels Feb 13, 2025
superhac added a commit to superhac/vpinball that referenced this issue Feb 13, 2025
…o Mode. The built in one does not work when channels are >2. See libsdl-org/SDL_mixer#665
jsm174 pushed a commit to superhac/vpinball that referenced this issue Feb 17, 2025
…o Mode. The built in one does not work when channels are >2. See libsdl-org/SDL_mixer#665
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

No branches or pull requests

1 participant