mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-28 18:58:48 -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