|
From: | Marcus D. Leech |
Subject: | Re: [Discuss-gnuradio] question about overruns with simple flowgraph |
Date: | Thu, 08 Aug 2013 13:04:59 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 |
On 08/08/2013 12:03 PM, Vanush Vaswani wrote:
Has there been any effort in using PTP to solve the two-clock problem (like Audinate's Dante)?The two-clock problem exists due to the fact that the two *hardware* clocks involved here -- the audio subsystem, and the USRP aren't locked to each other, and aren't at exactly, precisely, the rate you think they are (the nature of oscillators).
Clock-skew (between source and sink) tends to get "absorbed" in buffering, but since buffering is a finite resource, occasionally leading to the audio subsystem saying "guys, I can't accept any more samples at the moment, my buffers are full". The way to "solve" this problem is to have a control-loop that allows you to fine-tune the rate that samples are delivered to the sink -- you need a "speed up a bit/slow down a bit" control message that occurs
before things are about to get ugly. -- Marcus Leech Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org
[Prev in Thread] | Current Thread | [Next in Thread] |