]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
fix typo 1699/head
authordasl- <david.leibovic@gmail.com>
Fri, 14 Jul 2023 01:49:29 +0000 (21:49 -0400)
committerdasl- <david.leibovic@gmail.com>
Fri, 14 Jul 2023 01:49:29 +0000 (21:49 -0400)
common.h

index c65b4c1fe370351acfdf6bacb9c8673334c11c97..0c4d92ec3c3e5020efcb10674fb509cd2666bd08 100644 (file)
--- 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.