osmocom_fft: Properly set initial sample rate for fosphor output

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2013-12-19 14:43:42 +01:00 committed by Dimitri Stolnikov
parent 9c6ac9e3e3
commit 2287f08bad
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ class app_top_block(stdgui2.std_top_block, pubsub):
if options.fosphor:
from gnuradio import fosphor
self.scope = fosphor.wx_sink_c(panel, size=(800,300))
self.scope.set_sample_rate(input_rate)
self.frame.SetMinSize((800,600))
elif options.waterfall:
self.scope = waterfallsink2.waterfall_sink_c (panel,