On 16.02.2017 11:50, Tanu Kaskinen wrote: > On Wed, 2017-02-15 at 17:25 +0100, Ivan Kanis wrote: >> The author of the dlna plugin has told me that the combined sink feature >> is not implemented in his module. He has given me an alternative with >> the loopback module: >> >> load-module module-loopback sink=alsa_output.pci-0000_00_1b.0.analog-stereo >> >> Then pickup the loopback on the Chromecast. It works but, as expected, >> it is not in sync. > So the source of the loopback is the monitor source of the chromecast sink? > >> I am now looking for a way to delay the local playback but I can't >> figure out how. >> >> I tried latency_msec=3000 but it set's the latency on the Chromecast. > If the source of the loopback is the monitor source of the chromecast > sink, increasing the latency of the loopback module should increase the > latency of what is played to the alsa sink, not the chromecast sink. > > It's a known problem that something is wrong in module-loopback related > to the latency_msec paramter: > https://bugs.freedesktop.org/show_bug.cgi?id=80770 > > The loopback patches that Georg Chini submitted recently probably fix > the latency_msec parameter behaviour. > The bug Tanu is referring to should already have been fixed with pulseaudio 10.0, although with the loopback module of 10.0 it will take quite a while until it has adjusted to the correct latency. You can check the latency of module-loopback if you enable debug logging. Regards Georg