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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 --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
 
-- 
2.14.1

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux