Bug 93391

Summary: PULSE_PROP_OVERRIDE can't be used to override stream properties
Product: PulseAudio Reporter: Tanu Kaskinen <tanuk>
Component: clientsAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecifiedKeywords: love
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Tanu Kaskinen 2015-12-15 20:06:43 UTC
It doesn't seem to be possible to override the role of an application (or any other property set by the application) with environment variables. Using PULSE_PROP_OVERRIDE doesn't work, because it's applied on the context proplist only. The context proplist is copied to the stream proplist, but if the application sets any properties itself, those will of course override the context properties.

Maybe it would be a good idea to add new environment variables for setting stream properties: PULSE_STREAM_PROP, PULSE_STREAM_PROP_OVERRIDE etc.
Comment 1 Tanu Kaskinen 2015-12-15 20:39:29 UTC
I changed my mind about the preferable fix: I think it would be better to just make sure that PULSE_PROP_OVERRIDE overrides also the stream properties.
Comment 2 GitLab Migration User 2018-07-30 09:54:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/115.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.