mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
PlutoSDR input: implemented input class interim state (2)
This commit is contained in:
@@ -129,3 +129,19 @@ bool PlutoSDRInputSettings::deserialize(const QByteArray& data)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
void PlutoSDRInputSettings::translateGovernor(RateGovernor gov, QString& s)
|
||||
{
|
||||
switch(gov)
|
||||
{
|
||||
case RATEGOV_NORMAL:
|
||||
s = "normal";
|
||||
break;
|
||||
case RATEGOV_HIGHOSR:
|
||||
s = "highest_osr";
|
||||
break;
|
||||
default:
|
||||
s = "highest_osr";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user