mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 01:18:38 -05:00
Add additional type rsion.
This commit is contained in:
parent
8bf1a2f803
commit
5ff0b74b43
@ -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