[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Details on USB buffer
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Details on USB buffer |
Date: |
Fri, 27 Feb 2009 00:27:28 -0800 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Thu, Feb 26, 2009 at 04:05:52PM -0800, Tony wrote:
> The USRP C++ example program uses this code to move USRP USB data into a
> buffer:
>
> urx->read(&buf, bufsize, &overrun);
>
> If this line is called many times in a short period of time will the
> buffer have some of the data leftover from previous read(s)? Can I
> assume that the OS will not return the buffer until the next n bytes
> have been received?
It doesn't lose or throw any data away.
Eric