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:
Colin Leroy 2017-10-09 09:42:27 +02:00 committed by Tanu Kaskinen
parent 77c1226181
commit 937b3769b3
2 changed files with 103 additions and 2 deletions

View file

@ -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);