mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-21 15:51:47 -05:00
Add additional type rsion.
This commit is contained in:
parent
8b8867d343
commit
313dea2bba
@ -209,6 +209,11 @@ private:
|
||||
return data;
|
||||
}
|
||||
|
||||
qint16 conv(FixReal data) const
|
||||
{
|
||||
return data; // FIXME:
|
||||
}
|
||||
|
||||
qint16 conv(float data) const
|
||||
{
|
||||
return (qint16)(data * SDR_RX_SCALEF);
|
||||
|
Loading…
Reference in New Issue
Block a user