Closed mutability closed 3 years ago
setupStream resets tunerGain by calling rtlsdr_get_tuner_gain, but that return value is in tenths of a dB and there is no conversion done, so future calls to getGain() return a value that is wrong by a factor of 10.
https://github.com/pothosware/SoapyRTLSDR/blob/bec4f0504b29369fd8ff651e6954b960991bc1b1/Streaming.cpp#L289
Good catch! Fixed now.
setupStream resets tunerGain by calling rtlsdr_get_tuner_gain, but that return value is in tenths of a dB and there is no conversion done, so future calls to getGain() return a value that is wrong by a factor of 10.
https://github.com/pothosware/SoapyRTLSDR/blob/bec4f0504b29369fd8ff651e6954b960991bc1b1/Streaming.cpp#L289