MP3 Player without external hardware MP3 Player without external hardware. A software based MP3 player based on a modified version of libmad. Mono output (at the moment) via AnalogOut. Files are read from an USB drive. This is a demo program, it plays only one file at the moment. Documentation is in "main.cpp" and "config.h"
Diff: layer12.cpp
- Revision:
- 1:7c923cbe9f1d
- Parent:
- 0:7627c79db971
diff -r 7627c79db971 -r 7c923cbe9f1d layer12.cpp --- a/layer12.cpp Fri Nov 26 12:18:30 2010 +0000 +++ b/layer12.cpp Fri Nov 26 13:05:34 2010 +0000 @@ -210,10 +210,10 @@ /* possible quantization per subband table */ static -struct { +const struct { unsigned int sblimit; - unsigned char const offsets[30]; -} const sbquant_table[5] = { + unsigned char offsets[30]; +} sbquant_table[5] = { /* ISO/IEC 11172-3 Table B.2a */ { 27, { 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 3, 3, 3, 3, 3, /* 0 */ 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0 } },