satdump/src-interface/global.cpp

21 lines
457 B
C++
Raw Normal View History

2021-03-22 18:53:09 +01:00
#include "global.h"
std::shared_ptr<std::vector<std::shared_ptr<ProcessingModule>>> uiCallList;
std::shared_ptr<std::mutex> uiCallListMutex;
2021-05-22 16:36:09 +02:00
ctpl::thread_pool processThreadPool(8);
2021-03-22 18:53:09 +01:00
2021-08-15 16:47:44 +02:00
#ifdef BUILD_LIVE
std::vector<std::tuple<std::string, sdr_device_type, uint64_t>> radio_devices;
bool first_init = true;
void findRadioDevices()
{
if (first_init)
{
initSDRs();
first_init = false;
}
radio_devices = getAllDevices();
}
#endif