About the pulling/pushing thing: I though that I would have one process
in the usb block writing the usb_fifo data on the bus and one other
process in the channel block that would read them from the bus and store
them. This is neither pulling nor pushing right ? Can I do this with one
single process ?
Thibaud
Brian Padalino wrote:
On 3/19/07, Thibaud Hottelier <[EMAIL PROTECTED]> wrote:
Ok, I will modify it for pushing instead of pulling packets.
Can I assume that the data will arrive ordered by timestamps ? If not
then I have to use one data_queue and one samples_fifo per channel,
isn't that too much?
I am pretty positive you can assume that the packets will arrive
ordered by timestamp. The host can easily pre-order the packets and
send them sequentially. If any packet is out of order, I would assume
it should be evicted and dropped immediately.
Now, since the 32-bit number can only have a finite amount of time
before it rolls over, there should be a well defined way of defining
the beginning of an epoch or invalidating the "previous timestamp"
register that may be used to ensure time continuity.
Thibaud
Brian
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio