audio glitches when audio sinks are synchronized to GstSystemClock

Pavel Hofman pavel.hofman at ivitera.com
Tue Mar 27 06:51:55 UTC 2018


Hi Charlie,

Congrats on solving this issue, it is very useful. But I do not 
understand the change you did. Did you originally have more alsasinks, 
some with and some without the sync=false config?

Thanks,

Pavel.

Dne 26.3.2018 v 20:57 Charlie Laub napsal(a):
> I believe I have finally solved this problem.
> 
> PROBLEM RECAP:
> 
> Streaming over LAN to client, on client pipeline ends at an alsasink. 
> Client clock source was forced to GstSystemClock by setting 
> provide-clock=false on sink(s). When I also set slave-method=resample or 
> slave-method=skew I would get audible glitches. With skew it was a tick 
> or pop sound, and with resample occasionally the pitch would go up and 
> down for several to several tens of seconds, like “wow and flutter” if 
> anyone remembers what this is…
> 
> FIX:
> 
> I set sync=false on all alsasinks. Since then (several days of 
> auditioning ago) the audible glitches have disappeared.
> 
> Not sure why exactly this is fixing the problem, but I thought I would 
> leave a note about it here for posterity.
> 
> 
> 


More information about the gstreamer-devel mailing list