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: stream.cpp
- Revision:
- 2:f28cf0afd021
- Parent:
- 0:7627c79db971
--- a/stream.cpp Fri Nov 26 13:05:34 2010 +0000 +++ b/stream.cpp Sat Nov 27 17:27:33 2010 +0000 @@ -62,7 +62,9 @@ void mad_stream_finish(struct mad_stream *stream) { if (stream->main_data) { +#if !defined(TARGET_LPC1768) free(stream->main_data); +#endif stream->main_data = 0; }