Currently our SDR Sources / Sinks assume they can just open a device out of thin air when being constructed. This is not how things work on android as you have to use the FD passed down from the OS.
We should take in the FD(s) when starting the flowgraph and:
- Store these in the
ConstructContext so we can pull them out in construct_sdr_source/sink
- We need a way to a particular device/FD with a block. Perhaps we take in a list of
(block_id, fd) pairs
Currently our SDR Sources / Sinks assume they can just open a device out of thin air when being constructed. This is not how things work on android as you have to use the FD passed down from the OS.
We should take in the FD(s) when starting the flowgraph and:
ConstructContextso we can pull them out inconstruct_sdr_source/sink(block_id, fd)pairs