sakaki- / genpi64-overlay

Gentoo overlay for the Raspberry Pi 3 and 4
GNU General Public License v3.0
53 stars 48 forks source link

Added support for passthrough audio on rpi in alsa-lib #20

Closed fredrik-eriksson closed 4 years ago

fredrik-eriksson commented 4 years ago

alsa-lib on gentoo is missing configuration for the iec958 device on bcm2835. This PR adds a patched version of alsa-lib that adds the required files.

I got this method from here, here, and some trial and error; there may be better ways, but this Works For Me...

sakaki- commented 4 years ago

Thanks! I'll take a look over the next few days.

sakaki- commented 4 years ago

OK thanks. Looks good. I'll pull this then tweak it slightly, to make your changes conditional on a new USE flag for the package. This will then allow me to mandate it in the metapackage (preventing main-tree bumps overriding it).

sakaki- commented 4 years ago

You need to use the bcm2835 USE flag to turn this on.