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

Refactoring: removed device parameter from all start() methods in sample source plugins

This commit is contained in:
f4exb
2017-04-14 03:40:45 +02:00
parent 1e086fb303
commit b8623c90ce
24 changed files with 25 additions and 40 deletions
+1 -16
View File
@@ -73,7 +73,7 @@ bool FCDProInput::openDevice()
return true;
}
bool FCDProInput::start(int device)
bool FCDProInput::start()
{
qDebug() << "FCDProInput::start";
@@ -85,19 +85,6 @@ bool FCDProInput::start(int device)
if (m_running) stop();
// if (m_FCDThread)
// {
// return false;
// }
// m_dev = fcdOpen(fcd_traits<Pro>::vendorId, fcd_traits<Pro>::productId, device);
//
// if (m_dev == 0)
// {
// qCritical("FCDProInput::start: could not open FCD");
// return false;
// }
/* Apply settings before streaming to avoid bus contention;
* there is very little spare bandwidth on a full speed USB device.
* Failure is harmless if no device is found
@@ -147,8 +134,6 @@ void FCDProInput::stop()
}
m_running = false;
// fcdClose(m_dev);
// m_dev = 0;
}
const QString& FCDProInput::getDeviceDescription() const