[Top][All Lists]

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

[Discuss-gnuradio] Two Clock Drift Compensation, howto ?

From: Roland Schwarz
Subject: [Discuss-gnuradio] Two Clock Drift Compensation, howto ?
Date: Tue, 07 Apr 2015 16:34:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Dear all!

When I have multiple hw audio (or other) sources and sinks gnuradio is
suffering from the "two clock problem".

>From the docs I have read, one means to mitigate against under- or over-
runs is to have the sender always be a little faster.

While I understand that this will help keep the sink always filled it
will not avoid buffer under runs, or am I misunderstanding something?

Also the only way for the source to keep up is to throw away samples at

Has anyone came up with an idea of how this problem could (should) be
addressed in a proper way in gnu-radio? (I mean without changing hw.)

>From a little test set up I have seen that I could program a sink and a
source, referencing a common buffer. The buffer level (a smoothed
version) could be the driving variable to a dynamically programmed
sample rate converter that is set up so as to keep the buffer level

Is this a too hakish attempt to address the problem?

Has anyone already tried this?

Is there a more straight forward way, i.e. using a regular input-output

I am thankful for any hints or comments.


  _  _  | Roland Schwarz
 |_)(_  |
 | \__) | mailto:address@hidden
________| http://www.blackspace.at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]