Re: [LAU] Buffering, soundcard clocks, synchronization, streaming

From: David Olofson <david@email-addr-hidden>
Date: Thu Nov 06 2014 - 18:58:57 EET

On Thu, Nov 6, 2014 at 12:35 PM, Ken Restivo <ken@email-addr-hidden> 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   |
'---------------------------------------------------------------------'
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu Nov 6 20:15:02 2014

This archive was generated by hypermail 2.1.8 : Thu Nov 06 2014 - 20:15:03 EET