-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable pulseaudio #193
enable pulseaudio #193
Conversation
Thanks for the improvement! Could you please explain that why the uid is hard coded as 1000 in your code? |
That could be improved if I can get the uid of user in the container, but i have no idea how to do that. I think the uid is almost fixed to 1000. Any suggestions? |
another commit fixing hard coded uid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not entirely familiar with the sound system under Linux.
However, this PR looks to make sense.
Could you please invite 1-2 developers who understand your PR better than me and give an improvement to it?
Thank you very much!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please test it after the new version is published and ensure it works as expected.
ALSA might hold the sound device exclusively, which prevents the host from playing any sound. This pull request replaces ALSA with pulseaudio by configuring the container as a client to the pulse server running on the host.