Play .aac/.mp3/.ogg files running cog inside a container (Torizon)?

Hi there @jeremias.tx ,

I’ve managed to get it working with electron by doing the following:

  • Mapping /dev, /tmp and /var/run/dbus/system_bus_socket as volumes

  • Adding property previleged and set it’s value to true

  • Adding the following to command property to configure the sound (the default configuration seems to be broken):

        amixer -Dsysdefault:CARD=apalisimx8qmsgt sset "Headphone" unmute && 
        amixer sset "Digital Input Mux" "I2S" && 
        amixer set "DAP Main channel" 60000 && 
        amixer set "PCM" 180 && 
        amixer set "Headphone" 115

Now it works :slight_smile: