[LAU] Buffering, soundcard clocks, synchronization, streaming

Joe Hartley jh at brainiac.com
Thu Nov 6 16:32:15 UTC 2014


On Thu, 6 Nov 2014 03:35:39 -0800
Ken Restivo <ken at restivo.org> wrote:

> Now, I've been told that the buffer problem is due to clock synchronization on soundcards. Some soundcards on't stream exactly at 44.1khz, they're like 44.0Khz, and that causes a buffer that gradually declines in size, as it's been explained to me.
>    [ snip ]
> But what about this business with the sound cards? Is that a red herring?

Maybe I'm just undercaffeinated, but this sounds like complete horse$#!+ to
me.  By the time the Liquidsoap server is taking the stream, the source's
soundcard is already out of the picture.  It's encoded the audio and is 
pushing it out to the network.

> I'm told that the power grid AC mains sync is not uniform across North America and that the east coast is at 60.1Hz or similar, the west coast at 59.9Hz, but that's irrelevant, it's all rectified/regulated +5V by the time the soundcard (and its clock crystal) sees it.

Now this really *is* hooey.  European power grids operate at 50Hz,  If the 
grid frequency were really an issue, we'd never be able to stream across the
Atlantic.

It sure sounds like an issue with the network.  You might want to try changing
the buffer type - search the Savonet docs for buffering.kind.

-- 
======================================================================
       Joe Hartley - UNIX/network Consultant - jh at brainiac.com
 Without deviation from the norm, "progress" is not possible. - FZappa


More information about the Linux-audio-user mailing list