satdump/src-interface/global.cpp
2021-08-15 16:47:44 +02:00

21 lines
No EOL
457 B
C++

#include "global.h"
std::shared_ptr<std::vector<std::shared_ptr<ProcessingModule>>> uiCallList;
std::shared_ptr<std::mutex> uiCallListMutex;
ctpl::thread_pool processThreadPool(8);
#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