diff --git a/lib/rtl/rtl_source_c.cc b/lib/rtl/rtl_source_c.cc index 244ed1a..0ca49af 100644 --- a/lib/rtl/rtl_source_c.cc +++ b/lib/rtl/rtl_source_c.cc @@ -220,7 +220,7 @@ void rtl_source_c::rtlsdr_callback(unsigned char *buf, uint32_t len) memcpy(_buf[buf_tail], buf, len); if (_buf_used == _buf_num) { - printf("O"); fflush(stdout); + std::cerr << "O" << std::flush; _buf_head = (_buf_head + 1) % _buf_num; } else { _buf_used++;