-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
Alsa backend restricts some multichannel devices to stereo #945
Comments
Debug output when I force
|
Thanks. Just acknowledging that I've seen this. I'll have to take a look at what dplay is doing different to miniaudio. No timeframe on this - it probably won't be making the next release. Will report back. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in Discord, and adding report here.
Using the Alsa backend with latest Miniaudio (2025-02-12), some multichannel devices (specifically ESI Gigaport EX and a Startech 7.1 interface) only appear as having 2 channels in Miniaudio, even when explicitly specifying
config.playback.channels = 8
.A third device (a custom class-compliant audio interface) works successfully out of the box.
Both of the failing devices appear as supporting either
2
or8
channels when I runaplay -D hw:CARD=ICUSBAUDIO7D,DEV=0 --dump-hw-params /dev/zero
, so this info must be available somewhere in the Alsa stack.From inspecting
/proc/asound/card0/stream0
with one of the failing devices, I found that the default USB/Alsa USB Altset uses stereo output, but there are 3 other altsets including 8-channel support. I assume that the Alsa driver should interrogate these and present them to higher layers, but perhaps explains why it is stereo by default, rather than 8-channel.The text was updated successfully, but these errors were encountered: