aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include
diff options
context:
space:
mode:
authorLars Amsel <lars.amsel@ni.com>2022-01-03 11:54:27 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2022-01-10 13:31:44 -0600
commitd33deb3cae1f231000745dd077d339dcb004e97b (patch)
treee70714b2ca5e16e467f19c9603e786b193098e29 /host/lib/include
parentc891f2d8738bc1b73bb92d88623f4760f9e2bd1e (diff)
downloaduhd-d33deb3cae1f231000745dd077d339dcb004e97b.tar.gz
uhd-d33deb3cae1f231000745dd077d339dcb004e97b.tar.bz2
uhd-d33deb3cae1f231000745dd077d339dcb004e97b.zip
uhd: Allow pass raw IQ data array to tone generator
Instead of calculating a tone from its parameter it is also useful to pass an precalculated signal to be played. This change modifies the __init__ to take an iq_data as parameter for the internal buffer and moves the generation of the tone from rate, frequency and amplitude into a class method. The streamer parameter was deleted (never used).
Diffstat (limited to 'host/lib/include')
0 files changed, 0 insertions, 0 deletions