diff options
author | Nao Pross <np@0hm.ch> | 2021-12-14 14:46:32 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-12-14 14:46:32 +0100 |
commit | 34c90dbede5d2035749ef5ea7159d134709d310a (patch) | |
tree | 56c0d07fc408d651b727e2f74f7b7656c2191d6b /src/gr-fadingui/python | |
parent | Update QAM flowgraph and show crosscorrelation (diff) | |
download | Fading-34c90dbede5d2035749ef5ea7159d134709d310a.tar.gz Fading-34c90dbede5d2035749ef5ea7159d134709d310a.zip |
Avoid sending EVERY sample over UDP
Diffstat (limited to 'src/gr-fadingui/python')
-rw-r--r-- | src/gr-fadingui/python/netsink.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gr-fadingui/python/netsink.py b/src/gr-fadingui/python/netsink.py index 487ef45..06e376c 100644 --- a/src/gr-fadingui/python/netsink.py +++ b/src/gr-fadingui/python/netsink.py @@ -61,8 +61,8 @@ class netsink(gr.sync_block): return bytes(values, "ascii") def work(self, input_items, output_items): - # FIXME: it is probably better NOT to send *every* sample - inp = input_items[0] + # send only every k-th sample + inp = input_items[0][::3] inp_len = len(inp) blocksize = 1024 |