diff mbox

[alsa-lib,4/4] pcm: fix wrong comments for some cases of linear interpolation of PCM samples

Message ID 20171220171703.10609-5-o-takashi@sakamocchi.jp (mailing list archive)
State New, archived
Headers show

Commit Message

Takashi Sakamoto Dec. 20, 2017, 5:17 p.m. UTC
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.
---
 src/pcm/plugin_ops.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
diff mbox

Patch

diff --git a/src/pcm/plugin_ops.h b/src/pcm/plugin_ops.h
index 63e3c827..6392073c 100644
--- a/src/pcm/plugin_ops.h
+++ b/src/pcm/plugin_ops.h
@@ -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