mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-10 05:30:01 +01:00
Added dB - linear amplitude conversion macros.
This commit is contained in:
@@ -112,7 +112,7 @@ float ContrastDialog::GetDB()
|
||||
{
|
||||
if( rms < 1.0E-30 )
|
||||
return -60.0;
|
||||
return 20.0*log10(rms);
|
||||
return LINEAR_TO_DB(rms);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user