pulseaudio

run apps using audio in a docker container

放肆的年华 提交于 2019-11-28 15:59:41
This question is inspired by Can you run GUI apps in a docker container? . The basic idea is to run apps with audio and ui (vlc, firefox, skype, ...) I was searching for docker containers using pulseaudio but all containers I found where using pulseaudio streaming over tcp. (security sandboxing of the applications) https://gist.github.com/hybris42/ce429de428e5af3a344a https://github.com/jlund/docker-chrome-pulseaudio https://github.com/tomparys/docker-skype-pulseaudio In my case I would prefere playing audio from an app inside the container directly to my host pulseaudio. (without ssh

PyAudio does not work and breaks sound on ubuntu

懵懂的女人 提交于 2019-11-28 00:50:13
问题 Ok, so I installed pyaudio from the package python-pyaudio using apt-get , now when I Import and Invoke as follows: Python 2.7.3 (default, Sep 26 2012, 21:53:58) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pyaudio >>> p= pyaudio.PyAudio() ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2217:(snd_pcm_open_noupdate)