summaryrefslogtreecommitdiff
path: root/gr-vrt/src/vrt_quadradio_source_32fc.cc
diff options
context:
space:
mode:
authorJosh Blum2009-08-20 17:17:56 -0700
committerJosh Blum2009-08-20 17:17:56 -0700
commit4256cde50ae0f3c52f415f45e9cc6274f51c6ce2 (patch)
tree848dadcb865696eaa37c154d9e5b4695259c48aa /gr-vrt/src/vrt_quadradio_source_32fc.cc
parent91f18267cd90fdeaea0a5f57543fa149019b251a (diff)
downloadgnuradio-4256cde50ae0f3c52f415f45e9cc6274f51c6ce2.tar.gz
gnuradio-4256cde50ae0f3c52f415f45e9cc6274f51c6ce2.tar.bz2
gnuradio-4256cde50ae0f3c52f415f45e9cc6274f51c6ce2.zip
use enum for band select
Diffstat (limited to 'gr-vrt/src/vrt_quadradio_source_32fc.cc')
-rw-r--r--gr-vrt/src/vrt_quadradio_source_32fc.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-vrt/src/vrt_quadradio_source_32fc.cc b/gr-vrt/src/vrt_quadradio_source_32fc.cc
index 77e61cf04..3769f9124 100644
--- a/gr-vrt/src/vrt_quadradio_source_32fc.cc
+++ b/gr-vrt/src/vrt_quadradio_source_32fc.cc
@@ -86,15 +86,15 @@ vrt_quadradio_source_32fc::set_center_freq(double target_freq)
}
bool
-vrt_quadradio_source_32fc::set_band_select(const std::string &band)
+vrt_quadradio_source_32fc::set_band_select(int band)
{
- return d_qr->set_band_select(band);
+ return d_qr->set_band_select(static_cast<vrt_band_sel_t>(band));
}
-std::string
+int
vrt_quadradio_source_32fc::get_band_select(void)
{
- return d_qr->get_band_select();
+ return static_cast<int>(d_qr->get_band_select());
}
//void