[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Audio source stereo not working
From: |
Gary.Simpkins |
Subject: |
[Discuss-gnuradio] Audio source stereo not working |
Date: |
Thu, 2 May 2019 08:53:08 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Hi. Anyone who can help.
Try as I may I cannot get a second port working using the audio source
block.
When I set the number of outputs to 2 for stereo (as in the
documentation) I get the error below.
File "C:\Users\Gary\Documents\top_block.py", line 109, in <module>
main()
File "C:\Users\Gary\Documents\top_block.py", line 97, in main
tb = top_block_cls()
File "C:\Users\Gary\Documents\top_block.py", line 75, in __init__
self.connect((self.audio_source_0, 1), (self.audio_sink_1, 0))
File "C:\GNURadio-3.7\lib\site-packages\gnuradio\gr\hier_block2.py",
line 47, in wrapped
func(self, src, src_port, dst, dst_port)
File "C:\GNURadio-3.7\lib\site-packages\gnuradio\gr\hier_block2.py",
line 110, in connect
self.primitive_connect(*args)
File "C:\GNURadio-3.7\lib\site-packages\gnuradio\gr\runtime_swig.py",
line 5312, in primitive_connect
return _runtime_swig.top_block_sptr_primitive_connect(self, *args)
ValueError: port number 1 exceeds max of 0
Am I missing something?
Gary
- [Discuss-gnuradio] Audio source stereo not working,
Gary.Simpkins <=