ostrosco / comms-rs

A library for building DSP communication pipelines.
MIT License
13 stars 1 forks source link

Create input single/batch nodes and tests #48

Closed Alex-Addy closed 5 years ago

Alex-Addy commented 5 years ago

So here is a first pass on raw iq input nodes. A little rough all it does is sleep forever after reaching end of input.

The testing has a TODO as I can't test the sleeping right now. The interface provided by std::thread does not allow me to check the state of a thread (unless it panics). There are ways but they require importing the libc and kernel32 crates for unix and windows respectively. How to do this is found here.

So until we decide it is worth it this should be sufficient to be no longer blocking anyone else.