From: dasl- Date: Fri, 14 Jul 2023 01:49:29 +0000 (-0400) Subject: fix typo X-Git-Tag: 4.3~1^2~25^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1699%2Fhead;p=thirdparty%2Fshairport-sync.git fix typo --- diff --git a/common.h b/common.h index c65b4c1f..0c4d92ec 100644 --- a/common.h +++ b/common.h @@ -388,11 +388,11 @@ char *base64_enc(uint8_t *input, int length); uint8_t *rsa_apply(uint8_t *input, int inlen, int *outlen, int mode); // given a volume (0 to -30) and high and low attenuations in dB*100 (e.g. 0 to -6000 for 0 to -60 -// dB), return an attenuation depending on a linear interpolation along along the range +// dB), return an attenuation depending on a linear interpolation along the range double flat_vol2attn(double vol, long max_db, long min_db); // given a volume (0 to -30) and high and low attenuations in dB*100 (e.g. 0 to -6000 for 0 to -60 -// dB), return an attenuation depending on a logarithmic interpolation along along the range. +// dB), return an attenuation depending on a logarithmic interpolation along the range. // The intention behind this attenuation function is that a given percentage change in volume // should result in the same percentage change in perceived loudness. For instance, a doubling // (100% increase) of volume level should result in a doubling of perceived loudness.