Diff of /tools/sound/display_sound_bytes.c [000000] .. [b09f68] Maximize Restore

  Switch to side-by-side view

--- a
+++ b/tools/sound/display_sound_bytes.c
@@ -0,0 +1,25 @@
+#include <stdio.h>
+
+
+
+
+int main(int argc, char **argv) {
+	FILE *sound_file ;
+	unsigned int c,i ;
+
+	if( argc != 2 ) {
+		printf("usage: %s <filename>\n",argv[0]) ;
+		exit(0) ;
+	}
+
+	sound_file = fopen(argv[1],"r") ;	
+	
+	
+	for( i = 0 ; ( c = fgetc(sound_file) ) != EOF ; i++ ) {
+		
+		printf("byte %d -> %d\n",i,c) ;
+	}
+	
+	
+	return(0) ;
+}