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
8b8867d343
commit
313dea2bba
@ -209,6 +209,11 @@ private:
|
|||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
qint16 conv(FixReal data) const
|
||||||
|
{
|
||||||
|
return data; // FIXME:
|
||||||
|
}
|
||||||
|
|
||||||
qint16 conv(float data) const
|
qint16 conv(float data) const
|
||||||
{
|
{
|
||||||
return (qint16)(data * SDR_RX_SCALEF);
|
return (qint16)(data * SDR_RX_SCALEF);
|
||||||
|
Loading…
Reference in New Issue
Block a user