summaryrefslogtreecommitdiff
path: root/gr-vocoder/python/vocoder/qa_gsm_full_rate.py
diff options
context:
space:
mode:
authorMarcus Müller <marcus@hostalia.de>2020-06-19 11:07:54 +0200
committerMarcus Müller <marcus@hostalia.de>2020-06-19 11:07:54 +0200
commite76d04ca2f4f15e3b1a1ab2a81dd52c4e6d2472c (patch)
tree1d86f68fceed9cd7204d9a79e816dc06c15feaf4 /gr-vocoder/python/vocoder/qa_gsm_full_rate.py
parent98348e37209aa7daeb96fe5ead815e5b083dc6da (diff)
parent39311758cb1e6a7424d3213b3eb2c65c8c4dcfe1 (diff)
Move from SWIG to Pybind11
Goodbye, and thanks for all the fish, SWIG. Please refer to docs/PYBIND11.md for details on how to deal with Pybind.
Diffstat (limited to 'gr-vocoder/python/vocoder/qa_gsm_full_rate.py')
-rw-r--r--gr-vocoder/python/vocoder/qa_gsm_full_rate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-vocoder/python/vocoder/qa_gsm_full_rate.py b/gr-vocoder/python/vocoder/qa_gsm_full_rate.py
index 59b3323eae..9de32111b0 100644
--- a/gr-vocoder/python/vocoder/qa_gsm_full_rate.py
+++ b/gr-vocoder/python/vocoder/qa_gsm_full_rate.py
@@ -21,7 +21,7 @@ class test_gsm_vocoder (gr_unittest.TestCase):
def test001_module_load (self):
data = 20*(100,200,300,400,500,600,700,800)
- expected_data = (0,0,360,304,256,720,600,504,200,144,128,464,
+ expected_data = [0,0,360,304,256,720,600,504,200,144,128,464,
376,384,680,576,440,264,176,176,640,520,480,
464,384,288,432,296,328,760,624,504,176,96,96,
416,312,360,808,672,216,104,136,504,376,448,
@@ -34,7 +34,7 @@ class test_gsm_vocoder (gr_unittest.TestCase):
144,336,440,520,616,664,304,176,80,536,448,376,
680,600,240,168,112,408,488,472,608,480,240,232,
208,288,480,600,616,520,176,88,184,296,392,584,
- 656,552,248,160,144,336,432,512,608,664)
+ 656,552,248,160,144,336,432,512,608,664]
src = blocks.vector_source_s(data)
enc = vocoder.gsm_fr_encode_sp()
dec = vocoder.gsm_fr_decode_ps()