]> git.alsa-project.org Git - alsa-lib.git/commitdiff
pcm: fix wrong comments for some cases of linear interpolation of PCM samples
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 20 Dec 2017 17:17:03 +0000 (02:17 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 Dec 2017 09:23:42 +0000 (10:23 +0100)
A commit 16b3bf447c28 ('Enhanced bitmasks in PCM - added support for more
formats by Takashi and me') adds support for some cases of linear
interpolation of PCM samples, however some of added comments are not
proper. This commit fixes them.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/plugin_ops.h

index 63e3c8274bea83a07ba0e74fa484d7a19d7c214c..6392073cb2ecb19129a73dda4902caf9f2629a94 100644 (file)
@@ -593,14 +593,14 @@ static void *const put32_labels[5 * 2 * 2 + 4 * 3] = {
        &&put32_1234_923,        /* 32h ^> 24h */
        &&put32_1234_321,        /* 32h -> 24s */
        &&put32_1234_329,        /* 32h ^> 24s */
-       &&put32_1234_123_20,     /* 32h -> 24h */
-       &&put32_1234_923_20,     /* 32h ^> 24h */
-       &&put32_1234_321_20,     /* 32h -> 24s */
-       &&put32_1234_329_20,     /* 32h ^> 24s */
-       &&put32_1234_123_18,     /* 32h -> 24h */
-       &&put32_1234_923_18,     /* 32h ^> 24h */
-       &&put32_1234_321_18,     /* 32h -> 24s */
-       &&put32_1234_329_18,     /* 32h ^> 24s */
+       &&put32_1234_123_20,     /* 32h -> 20h */
+       &&put32_1234_923_20,     /* 32h ^> 20h */
+       &&put32_1234_321_20,     /* 32h -> 20s */
+       &&put32_1234_329_20,     /* 32h ^> 20s */
+       &&put32_1234_123_18,     /* 32h -> 18h */
+       &&put32_1234_923_18,     /* 32h ^> 18h */
+       &&put32_1234_321_18,     /* 32h -> 18s */
+       &&put32_1234_329_18,     /* 32h ^> 18s */
 };
 #endif