mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
audioconvert: add monitor.passthrough option
Add a monitor.passthrough option. This will pass all latency information directly between the port and its monitor ports. This is interesting when the adapter (and audioconvert) is used with a null-audio-sink that simply forwards the data to a real sink/souce. In that case, we want the sink/source latency to be passed unmodified. Set the monitor.passthrough on the pulseaudio null-sink because a passthrough virtual sink is the most likely use case for this. Add some monitor.passthrough default config where it makes sense. Fixes #3888
This commit is contained in:
parent
10830ab9f8
commit
ea524b158c
4 changed files with 46 additions and 26 deletions
|
|
@ -196,6 +196,8 @@ static int module_null_sink_prepare(struct module * const module)
|
|||
|
||||
if (pw_properties_get(props, "monitor.channel-volumes") == NULL)
|
||||
pw_properties_set(props, "monitor.channel-volumes", "true");
|
||||
if (pw_properties_get(props, "monitor.passthrough") == NULL)
|
||||
pw_properties_set(props, "monitor.passthrough", "true");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue