[LAU] Buffering, soundcard clocks, synchronization, streaming

David Olofson david at olofson.net
Thu Nov 6 16:58:57 UTC 2014


On Thu, Nov 6, 2014 at 12:35 PM, 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.
[...]

Indeed; a pair of sound cards running at (practically) identical
sample rates is going to take something much more accurate than
crystal oscillators. Or dumb luck. :-) This is something any streaming
software needs to deal with (sample drop/insert, or resampling, based
on buffer status), so there's no valid excuse for this happening.
Sounds like a bug.


-- 
//David Olofson - Consultant, Developer, Artist, Open Source Advocate

.--- Games, examples, libraries, scripting, sound, music, graphics ---.
|   http://consulting.olofson.net          http://olofsonarcade.com   |
'---------------------------------------------------------------------'


More information about the Linux-audio-user mailing list