[xiph-commits] r17001 - trunk/vorbis-tools/ogg123

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Mon Mar 22 23:18:48 PDT 2010


Author: xiphmont
Date: 2010-03-22 23:18:47 -0700 (Mon, 22 Mar 2010)
New Revision: 17001

Modified:
   trunk/vorbis-tools/ogg123/ogg123.c
Log:
Oops, PRIMAGIC did need the extra factor of 2... shorts, not bytes.



Modified: trunk/vorbis-tools/ogg123/ogg123.c
===================================================================
--- trunk/vorbis-tools/ogg123/ogg123.c	2010-03-23 06:15:37 UTC (rev 17000)
+++ trunk/vorbis-tools/ogg123/ogg123.c	2010-03-23 06:18:47 UTC (rev 17001)
@@ -55,7 +55,7 @@
 
 void play (char *source_string);
 
-#define PRIMAGIC (2*2*2*3*3*3*5*7)
+#define PRIMAGIC (2*2*2*2*3*3*3*5*7)
 /* take buffer out of the data segment, not the stack */
 #define AUDIO_CHUNK_SIZE ((16384 + PRIMAGIC - 1)/ PRIMAGIC * PRIMAGIC)
 unsigned char convbuffer[AUDIO_CHUNK_SIZE];



More information about the commits mailing list