dockerpi icon indicating copy to clipboard operation
dockerpi copied to clipboard

mapping the /dev/snd to pass through sound

Open marc-portier opened this issue 4 years ago • 0 comments

thx for this useful container I'm trying to get it to connect to the actual host-speakers to play around with the sound.

I was hoping the trick in https://stackoverflow.com/questions/28985714/run-apps-using-audio-in-a-docker-container would help me

Launching with

$ docker run -ti --rm -v /dev/snd:/dev/snd --privileged lukechilds/dockerpi 

however still produces

pi@raspberrypi$ ls /dev/snd/*
ls: cannot access '/dev/snd/*': No such file or directory

any tips?

marc-portier avatar Nov 04 '21 09:11 marc-portier