1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 13:47:01 -04:00

LimeSDR input: channel #0 streaming

This commit is contained in:
f4exb
2017-04-18 22:22:21 +02:00
parent d3312c90d4
commit 54f3a51203
2 changed files with 11 additions and 1 deletions
@@ -51,6 +51,16 @@ LimeSDRInput::~LimeSDRInput()
bool LimeSDRInput::openDevice()
{
if (!m_sampleFifo.setSize(96000 * 4))
{
qCritical("LimeSDRInput::openDevice: could not allocate SampleFifo");
return false;
}
else
{
qDebug("LimeSDRInput::openDevice: allocated SampleFifo");
}
// look for Rx buddies and get reference to common parameters
// if there is a channel left take the first available
if (m_deviceAPI->getSourceBuddies().size() > 0) // look source sibling first