alsa-project / alsa-lib

The Advanced Linux Sound Architecture (ALSA) - library
GNU Lesser General Public License v2.1
360 stars 177 forks source link

[dmix] time for a default up to 8 channels? #362

Open sylware opened 11 months ago

sylware commented 11 months ago

Isn't the time for dmix to try to configure by default the audio hardware with as many channels as possible up to 8 (at min 48/44.1 kHz, 16bits/float32)?

The channel map should be fine nowadays, shouldn't it?

perexg commented 11 months ago

Not all hardware support 8 channels, so it would require to add a fallback code to the dmix code.

sylware commented 11 months ago

@perexg

It is not what I said: try to open as many channels as possible up to 8 by default.

I tested alsa-lib (without checking the code), this seems to be what the lib does if you change the default dmix number of channels.