1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-18 13:48:37 -04:00

UDPSink plugin: rename volume to gain

This commit is contained in:
f4exb
2017-08-17 17:09:02 +02:00
parent c601d8dbaa
commit 90ce3ec9ad
5 changed files with 14 additions and 7 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ double CalcDb::dbPower(double magsq, double floordB)
{
if (magsq > 0)
{
return 10.0 * log10(magsq);
double val = 10.0 * log10(magsq);
return val > floordB ? val : floordB;
}
else
{