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:
+2
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user