From ad27397a050b8ea43dad62b0b85be26166b56b7c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 1 Jul 2025 20:17:25 +0200 Subject: White space: player_video.{cc,h} reel_writer.{cc,h} maths_util.{cc,h} upmixer_{a,b}.{cc,h} upload_job.{cc,h} --- src/lib/maths_util.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/maths_util.cc') diff --git a/src/lib/maths_util.cc b/src/lib/maths_util.cc index 76681afb6..7fb3b74ee 100644 --- a/src/lib/maths_util.cc +++ b/src/lib/maths_util.cc @@ -24,21 +24,21 @@ double -db_to_linear (double db) +db_to_linear(double db) { return pow(10, db / 20); } double -linear_to_db (double linear) +linear_to_db(double linear) { return 20 * log10(linear); } float -logarithmic_fade_in_curve (float t) +logarithmic_fade_in_curve(float t) { auto const c = clamp(t, 0.0f, 1.0f); return std::exp(2 * (c - 1)) * c; @@ -46,7 +46,7 @@ logarithmic_fade_in_curve (float t) float -logarithmic_fade_out_curve (float t) +logarithmic_fade_out_curve(float t) { auto const c = clamp(t, 0.0f, 1.0f); return std::exp(-2 * c) * (1 - c); -- cgit v1.2.3