Simultaneous output to local and remote sound cards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/6/13 Sergey M. <yukyuri at gmail.com>:
> I restored client.conf and used some magic in pacmd:
> ?load-module module-tunnel-sink server=192.168.1.2
> ?load-module module-combine sink_name=combined
> slaves=alsa_output.hw_0_0,tunnel.192.168.1.2 adjust_time=5
> resample_method=src-sinc-medium-quality
> ?set-default-sink combined

That's the correct way to do it.

> and now it works! But sound is noticeable desyncronized and laggy on _local_
> machine. Also, local pulseaudio daemon says:
> W: module-combine.c: [alsa_output.hw_0_0] sample rates too different, not
> adjusting (44100 vs. 36692).
> W: module-combine.c: [alsa_output.hw_0_0] sample rates too different, not
> adjusting (44100 vs. 38519).
> W: module-combine.c: [alsa_output.hw_0_0] sample rates too different, not
> adjusting (44100 vs. 38930).
> Any way to fix this?

That is the result of the following line:
http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/module-combine-sink.c#n229

Basically difference between the estimated rates of the two sinks is
so great that resampling one of the streams to match the other would
probably not be a good idea. It seems there is something not working
right with the tunnel.

Have you tried it over wired lan connection?
The more verbose output of pulseaudio -vvv when this occurs would be
nice to have.

Maarten


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux