mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -05:00
raop: Init dummy port and card for latency change
This adds a port, card and profile to RAOP sinks to make it possible to change the latency at runtime (and have it persist) using pavucontrol or pactl set-port-latency-offset. Also move the IP:port part of the sink name to the port name.
This commit is contained in:
parent
77c1226181
commit
937b3769b3
2 changed files with 103 additions and 2 deletions
|
|
@ -299,10 +299,10 @@ static void resolver_cb(
|
|||
|
||||
args = pa_sprintf_malloc("server=[%s]:%u "
|
||||
"sink_name=%s "
|
||||
"sink_properties='device.description=\"%s (%s:%u)\" device.model=\"%s\"'",
|
||||
"sink_properties='device.description=\"%s\" device.model=\"%s\"'",
|
||||
at, port,
|
||||
vname,
|
||||
nicename, at, port,
|
||||
nicename,
|
||||
dm);
|
||||
pa_xfree(nicename);
|
||||
pa_xfree(dm);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue