mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
SoapySDR support: input: center frequency and sample rate handling
This commit is contained in:
@@ -57,6 +57,10 @@ SoapySDRInputThread::~SoapySDRInputThread()
|
||||
|
||||
void SoapySDRInputThread::startWork()
|
||||
{
|
||||
if (m_running) {
|
||||
return;
|
||||
}
|
||||
|
||||
m_startWaitMutex.lock();
|
||||
start();
|
||||
|
||||
@@ -69,6 +73,10 @@ void SoapySDRInputThread::startWork()
|
||||
|
||||
void SoapySDRInputThread::stopWork()
|
||||
{
|
||||
if (!m_running) {
|
||||
return;
|
||||
}
|
||||
|
||||
m_running = false;
|
||||
wait();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user