-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
Add audio support #141
base: dev
Are you sure you want to change the base?
Add audio support #141
Conversation
if not self.__enable_sound: | ||
logger.verbose("Config: Enabling sound sharing") | ||
try: | ||
self.addVolume(SoundUtils.getPulseAudioSocketPath(), "/run/user/0/pulse/native", must_exist=False) |
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.
Why must_exist is set to False here ? Shouldn't be True instead ?
If the socket is not present, the feature cannot be activated.
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.
Just below, he left a commented FIXME, indicating that a solution must be found here. In it's current state and in this context, the addVolume
function raises an error when must_exist
is True 😉
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.
@TahiTi forgot to edit this PR to a draft, doing it now
if not self.__enable_sound: | ||
logger.verbose("Config: Enabling sound sharing") | ||
try: | ||
self.addVolume(SoundUtils.getPulseAudioSocketPath(), "/run/user/0/pulse/native", must_exist=False) |
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.
Just below, he left a commented FIXME, indicating that a solution must be found here. In it's current state and in this context, the addVolume
function raises an error when must_exist
is True 😉
Description
Adding audio support to containers using PulseAudio server socket.
Point of attention
TODO :