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"

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Gruenfrosch
Date:
Fri Nov 26 13:05:34 2010 +0000
Parent:
0:7627c79db971
Child:
2:f28cf0afd021
Commit message:
Fixed the last warning

Changed in this revision

layer12.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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 } },