balena-io-experimental / audio

Audio building block for balenaOS, based on pulseaudio.
https://hub.balena.io/blocks
31 stars 13 forks source link

Enable udev detection for alsa cards #11

Closed tmigone closed 4 years ago

tmigone commented 4 years ago

Use module-udev-detect instead of manually loading alsa modules. Need to add UDEV=1 to enable udev in balenaOS container.

tmigone commented 4 years ago

Looks like there is a bug where module-udev-detect misconfigures ALSA devices as mono only. There is no way of preventing that, so UDEV=off will be forced and ALSA cards loaded "manually" by primitive.pa.