mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
REST API: server mode instance summary streaming type fix
This commit is contained in:
parent
f176110959
commit
f94579921d
@ -70,8 +70,9 @@ SOURCES += audio/audiodevicemanager.cpp\
|
|||||||
channel/remotedataqueue.cpp\
|
channel/remotedataqueue.cpp\
|
||||||
channel/remotedatareadqueue.cpp\
|
channel/remotedatareadqueue.cpp\
|
||||||
commands/command.cpp\
|
commands/command.cpp\
|
||||||
device/devicesourceapi.cpp\
|
device/deviceapi.cpp\
|
||||||
device/devicesinkapi.cpp\
|
# device/devicesourceapi.cpp\
|
||||||
|
# device/devicesinkapi.cpp\
|
||||||
device/deviceenumerator.cpp\
|
device/deviceenumerator.cpp\
|
||||||
dsp/afsquelch.cpp\
|
dsp/afsquelch.cpp\
|
||||||
dsp/agc.cpp\
|
dsp/agc.cpp\
|
||||||
@ -154,8 +155,9 @@ HEADERS += audio/audiodevicemanager.h\
|
|||||||
channel/remotedatareadqueue.h\
|
channel/remotedatareadqueue.h\
|
||||||
channel/remotedatablock.h\
|
channel/remotedatablock.h\
|
||||||
commands/command.h\
|
commands/command.h\
|
||||||
device/devicesourceapi.h\
|
device/deviceapi.h\
|
||||||
device/devicesinkapi.h\
|
# device/devicesourceapi.h\
|
||||||
|
# device/devicesinkapi.h\
|
||||||
device/deviceenumerator.h\
|
device/deviceenumerator.h\
|
||||||
dsp/afsquelch.h\
|
dsp/afsquelch.h\
|
||||||
dsp/decimatorsfi.h\
|
dsp/decimatorsfi.h\
|
||||||
|
@ -1859,7 +1859,7 @@ void WebAPIAdapterSrv::getDeviceSet(SWGSDRangel::SWGDeviceSet *swgDeviceSet, con
|
|||||||
|
|
||||||
if (deviceSet->m_deviceSourceEngine) // Single Rx data
|
if (deviceSet->m_deviceSourceEngine) // Single Rx data
|
||||||
{
|
{
|
||||||
samplingDevice->setDirection(1);
|
samplingDevice->setDirection(0);
|
||||||
*samplingDevice->getHwType() = deviceSet->m_deviceAPI->getHardwareId();
|
*samplingDevice->getHwType() = deviceSet->m_deviceAPI->getHardwareId();
|
||||||
*samplingDevice->getSerial() = deviceSet->m_deviceAPI->getSamplingDeviceSerial();
|
*samplingDevice->getSerial() = deviceSet->m_deviceAPI->getSamplingDeviceSerial();
|
||||||
samplingDevice->setSequence(deviceSet->m_deviceAPI->getSamplingDeviceSequence());
|
samplingDevice->setSequence(deviceSet->m_deviceAPI->getSamplingDeviceSequence());
|
||||||
|
Loading…
Reference in New Issue
Block a user