diff --git a/plugins/samplesource/sdrplay/sdrplayinput.cpp b/plugins/samplesource/sdrplay/sdrplayinput.cpp index ba8d4832e..b19b2e55a 100644 --- a/plugins/samplesource/sdrplay/sdrplayinput.cpp +++ b/plugins/samplesource/sdrplay/sdrplayinput.cpp @@ -71,7 +71,7 @@ bool SDRPlayInput::start(int device) return false; } - if ((res = mirisdr_open(&m_dev, device)) < 0) + if ((res = mirisdr_open(&m_dev, MIRISDR_HW_SDRPLAY, device)) < 0) { qCritical("SDRPlayInput::start: could not open SDRPlay #%d: %s", device, strerror(errno)); return false;