changeset 926:fa7f7cd029af trunk

[svn] Spell internal & pseudorandom in a consistent way. Add missing altivec.h include in SFMT-alti.h; more work to be done as it still does not build.
author chainsaw
date Mon, 09 Apr 2007 08:11:42 -0700
parents 3673bbab7372
children b9cbd2e62186
files ChangeLog src/madplug/SFMT-alti.c src/madplug/SFMT-alti.h
diffstat 3 files changed, 17 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Apr 09 03:51:00 2007 -0700
+++ b/ChangeLog	Mon Apr 09 08:11:42 2007 -0700
@@ -1,3 +1,11 @@
+2007-04-09 10:51:00 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [1978]
+  - make madplug ignore crc error. closes #884.
+  
+  trunk/src/madplug/decoder.c |    1 +
+  1 file changed, 1 insertion(+)
+
+
 2007-04-09 10:21:02 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [1976]
   -adjust size of variable in dither code.
--- a/src/madplug/SFMT-alti.c	Mon Apr 09 03:51:00 2007 -0700
+++ b/src/madplug/SFMT-alti.c	Mon Apr 09 08:11:42 2007 -0700
@@ -1,9 +1,9 @@
 /**
  * This function represents the recursion formula in AltiVec and BIG ENDIAN.
- * @param a a 128-bit part of the interal state array
- * @param b a 128-bit part of the interal state array
- * @param c a 128-bit part of the interal state array
- * @param d a 128-bit part of the interal state array
+ * @param a a 128-bit part of the internal state array
+ * @param b a 128-bit part of the internal state array
+ * @param c a 128-bit part of the internal state array
+ * @param d a 128-bit part of the internal state array
  * @return output
  */
 inline static vector unsigned int vec_recursion(vector unsigned int a,
@@ -39,7 +39,7 @@
 }
 
 /**
- * This function fills the internal state array with psedorandom
+ * This function fills the internal state array with pseudorandom
  * integers.
  */
 inline static void gen_rand_all(void) {
@@ -63,11 +63,11 @@
 }
 
 /**
- * This function fills the user-specified array with psedorandom
+ * This function fills the user-specified array with pseudorandom
  * integers.
  *
  * @param array an 128-bit array to be filled by pseudorandom numbers.  
- * @param size number of 128-bit pesudorandom numbers to be generated.
+ * @param size number of 128-bit pseudorandom numbers to be generated.
  */
 inline static void gen_rand_array(w128_t array[], int size) {
     int i, j;
@@ -111,7 +111,7 @@
  * This function swaps high and low 32-bit of 64-bit integers in user
  * specified array.
  *
- * @param array an 128-bit array to be swaped.
+ * @param array an 128-bit array to be swapped.
  * @param size size of 128-bit array.
  */
 inline static void swap(w128_t array[], int size) {
--- a/src/madplug/SFMT-alti.h	Mon Apr 09 03:51:00 2007 -0700
+++ b/src/madplug/SFMT-alti.h	Mon Apr 09 08:11:42 2007 -0700
@@ -14,6 +14,7 @@
  * see LICENSE.txt
  */
 
+#include <altivec.h>
 #ifndef SFMT_ALTI_H
 #define SFMT_ALTI_H