summaryrefslogtreecommitdiff
path: root/vrt/apps/simple_rx_samples.cc
diff options
context:
space:
mode:
authorJosh Blum2009-09-22 11:17:29 -0700
committerJosh Blum2009-09-22 11:17:29 -0700
commit77ad7e778d668a2bddc9bf431088b586707bd279 (patch)
treead79affadb05db90688fcd949749b4d68bebd371 /vrt/apps/simple_rx_samples.cc
parent7d8dd5e122e0201d96410eec6549b903881f8b3a (diff)
downloadgnuradio-77ad7e778d668a2bddc9bf431088b586707bd279.tar.gz
gnuradio-77ad7e778d668a2bddc9bf431088b586707bd279.tar.bz2
gnuradio-77ad7e778d668a2bddc9bf431088b586707bd279.zip
made rxdspno a parameter for: start/stop streaming, and quadradio32fc
Diffstat (limited to 'vrt/apps/simple_rx_samples.cc')
-rw-r--r--vrt/apps/simple_rx_samples.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vrt/apps/simple_rx_samples.cc b/vrt/apps/simple_rx_samples.cc
index 6b09afda5..08f01c9cc 100644
--- a/vrt/apps/simple_rx_samples.cc
+++ b/vrt/apps/simple_rx_samples.cc
@@ -365,7 +365,7 @@ main(int argc, char **argv)
printf("samples_per_pkt = %d\n", samples_per_pkt);
- if (!qr->start_streaming(samples_per_pkt)){
+ if (!qr->start_streaming(0, samples_per_pkt)){
fprintf(stderr, "failed to send_rx_command\n");
return 1;
}
@@ -383,7 +383,7 @@ main(int argc, char **argv)
}
}
- qr->stop_streaming();
+ qr->stop_streaming(0);
printf("%llu packets received, %llu bad pkt_cnt field values, %llu samples\n",
handler->npackets(), handler->nwrong_pkt_cnt(), handler->nsamples());