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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user