mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
PlutoSDR: fixed possible segfault when stopping one device in multiple stream confguration.
This commit is contained in:
parent
885ed4885f
commit
9824843684
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -1,6 +1,7 @@
|
|||||||
sdrangel (3.10.1-1) unstable; urgency=medium
|
sdrangel (3.10.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
* LimeSDR: fixed segfault when stopping one device in multiple stream confguration
|
* LimeSDR: fixed segfault when stopping one device in multiple stream confguration
|
||||||
|
* PlutoSDR: fixed segfault when stopping one device in multiple stream confguration
|
||||||
|
|
||||||
-- Edouard Griffiths, F4EXB <f4exb06@gmail.com> Sun, 07 Jan 2018 23:14:18 +0100
|
-- Edouard Griffiths, F4EXB <f4exb06@gmail.com> Sun, 07 Jan 2018 23:14:18 +0100
|
||||||
|
|
||||||
|
@ -230,7 +230,8 @@ bool PlutoSDROutput::openDevice()
|
|||||||
qDebug("PlutoSDROutput::openDevice: look at Rx buddy");
|
qDebug("PlutoSDROutput::openDevice: look at Rx buddy");
|
||||||
|
|
||||||
DeviceSourceAPI *sourceBuddy = m_deviceAPI->getSourceBuddies()[0];
|
DeviceSourceAPI *sourceBuddy = m_deviceAPI->getSourceBuddies()[0];
|
||||||
m_deviceShared = *((DevicePlutoSDRShared *) sourceBuddy->getBuddySharedPtr()); // copy parameters
|
DevicePlutoSDRShared* buddySharedPtr = (DevicePlutoSDRShared*) sourceBuddy->getBuddySharedPtr();
|
||||||
|
m_deviceShared.m_deviceParams = buddySharedPtr->m_deviceParams;
|
||||||
|
|
||||||
if (m_deviceShared.m_deviceParams == 0)
|
if (m_deviceShared.m_deviceParams == 0)
|
||||||
{
|
{
|
||||||
|
@ -28,7 +28,7 @@ class DeviceSourceAPI;
|
|||||||
|
|
||||||
const PluginDescriptor PlutoSDROutputPlugin::m_pluginDescriptor = {
|
const PluginDescriptor PlutoSDROutputPlugin::m_pluginDescriptor = {
|
||||||
QString("PlutoSDR Output"),
|
QString("PlutoSDR Output"),
|
||||||
QString("3.9.0"),
|
QString("3.10.1"),
|
||||||
QString("(c) Edouard Griffiths, F4EXB"),
|
QString("(c) Edouard Griffiths, F4EXB"),
|
||||||
QString("https://github.com/f4exb/sdrangel"),
|
QString("https://github.com/f4exb/sdrangel"),
|
||||||
true,
|
true,
|
||||||
|
@ -259,7 +259,8 @@ bool PlutoSDRInput::openDevice()
|
|||||||
qDebug("PlutoSDRInput::openDevice: look at Tx buddy");
|
qDebug("PlutoSDRInput::openDevice: look at Tx buddy");
|
||||||
|
|
||||||
DeviceSinkAPI *sinkBuddy = m_deviceAPI->getSinkBuddies()[0];
|
DeviceSinkAPI *sinkBuddy = m_deviceAPI->getSinkBuddies()[0];
|
||||||
m_deviceShared = *((DevicePlutoSDRShared *) sinkBuddy->getBuddySharedPtr()); // copy parameters
|
DevicePlutoSDRShared* buddySharedPtr = (DevicePlutoSDRShared*) sinkBuddy->getBuddySharedPtr();
|
||||||
|
m_deviceShared.m_deviceParams = buddySharedPtr->m_deviceParams;
|
||||||
|
|
||||||
if (m_deviceShared.m_deviceParams == 0)
|
if (m_deviceShared.m_deviceParams == 0)
|
||||||
{
|
{
|
||||||
|
@ -28,7 +28,7 @@ class DeviceSourceAPI;
|
|||||||
|
|
||||||
const PluginDescriptor PlutoSDRInputPlugin::m_pluginDescriptor = {
|
const PluginDescriptor PlutoSDRInputPlugin::m_pluginDescriptor = {
|
||||||
QString("PlutoSDR Input"),
|
QString("PlutoSDR Input"),
|
||||||
QString("3.9.0"),
|
QString("3.10.1"),
|
||||||
QString("(c) Edouard Griffiths, F4EXB"),
|
QString("(c) Edouard Griffiths, F4EXB"),
|
||||||
QString("https://github.com/f4exb/sdrangel"),
|
QString("https://github.com/f4exb/sdrangel"),
|
||||||
true,
|
true,
|
||||||
|
Loading…
Reference in New Issue
Block a user