From fd10a0728c97e512199746563f922ae1a09ef811 Mon Sep 17 00:00:00 2001 From: Pin-chih Lin Date: Thu, 4 Feb 2021 17:50:01 +0800 Subject: [PATCH] sof: drc: refine function comments Refined some function comments to prevent confusion of usage. Signed-off-by: Pin-chih Lin --- src/audio/drc/drc_math_generic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/audio/drc/drc_math_generic.c b/src/audio/drc/drc_math_generic.c index 47f23c3be..4975c2965 100644 --- a/src/audio/drc/drc_math_generic.c +++ b/src/audio/drc/drc_math_generic.c @@ -118,7 +118,7 @@ inline int32_t drc_sin_fixed(int32_t x) } /* - * Input is Q2.30: (-2.0, 2.0) + * Input is Q2.30; valid range: [-1.0, 1.0] * Output range: [-1.0, 1.0]; regulated to Q2.30: (-2.0, 2.0) */ inline int32_t drc_asin_fixed(int32_t x) @@ -177,7 +177,7 @@ inline int32_t drc_asin_fixed(int32_t x) } /* - * Input x is Q6.26: (-32.0, 32.0) + * Input x is Q6.26; valid range: (0.0, 32.0); x <= 0 is not supported * y is Q2.30: (-2.0, 2.0) * Output is Q12.20: max 2048.0 */