1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 07:24:44 -04:00

SoapySDR support: output: implemented thread and related methods

This commit is contained in:
f4exb
2018-11-04 11:45:59 +01:00
parent 579c7d31f1
commit 6a9607c8fc
14 changed files with 1611 additions and 44 deletions
@@ -174,7 +174,7 @@ BladeRF2OutputThread *BladeRF2Output::findThread()
{
if (m_thread == 0) // this does not own the thread
{
BladeRF2OutputThread *BladeRF2OutputThread = 0;
BladeRF2OutputThread *bladeRF2OutputThread = 0;
// find a buddy that has allocated the thread
const std::vector<DeviceSinkAPI*>& sinkBuddies = m_deviceAPI->getSinkBuddies();
@@ -186,15 +186,15 @@ BladeRF2OutputThread *BladeRF2Output::findThread()
if (buddySink)
{
BladeRF2OutputThread = buddySink->getThread();
bladeRF2OutputThread = buddySink->getThread();
if (BladeRF2OutputThread) {
if (bladeRF2OutputThread) {
break;
}
}
}
return BladeRF2OutputThread;
return bladeRF2OutputThread;
}
else
{