Update of /cvsroot/audacity/audacity-src/src/export
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv30402
Modified Files:
ExportMP2.cpp
Log Message:
Fix "buffer_putbits: error. bit_stream buffer needs to be bigger"
error...buffer sizes were swapped
Index: ExportMP2.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/ExportMP2.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- ExportMP2.cpp 20 May 2007 07:24:04 -0000 1.9
+++ ExportMP2.cpp 20 May 2007 23:59:46 -0000 1.10
@@ -248,8 +248,8 @@
outFile.Write(id3buffer, id3len);
// Values taken from the twolame simple encoder sample
- const int pcmBufferSize = 16384 / 2; // number of samples
- const int mp2BufferSize = 9216; // bytes
+ const int pcmBufferSize = 9216 / 2; // number of samples
+ const int mp2BufferSize = 16384 ; // bytes
// We allocate a buffer which is twice as big as the
// input buffer, which should always be enough.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs