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

Committer:
Gruenfrosch
Date:
Sat Nov 27 17:27:33 2010 +0000
Revision:
2:f28cf0afd021
Parent:
0:7627c79db971
Version 3:
* moved another memory block into AHB RAM, giving more room for
* stereo buffer.
* moved content of decode() to main()
* decoding is now safe to be called multiple times (bug in older versions)
* Output routine now fills stereo buffer, DAC output sums channels,
* just for demonstration that stereo output could go here

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Gruenfrosch 0:7627c79db971 1 /*
Gruenfrosch 0:7627c79db971 2 **************************************************************************************************************
Gruenfrosch 0:7627c79db971 3 * NXP USB Host Stack
Gruenfrosch 0:7627c79db971 4 *
Gruenfrosch 0:7627c79db971 5 * (c) Copyright 2008, NXP SemiConductors
Gruenfrosch 0:7627c79db971 6 * (c) Copyright 2008, OnChip Technologies LLC
Gruenfrosch 0:7627c79db971 7 * All Rights Reserved
Gruenfrosch 0:7627c79db971 8 *
Gruenfrosch 0:7627c79db971 9 * www.nxp.com
Gruenfrosch 0:7627c79db971 10 * www.onchiptech.com
Gruenfrosch 0:7627c79db971 11 *
Gruenfrosch 0:7627c79db971 12 * File : usbhost_inc.h
Gruenfrosch 0:7627c79db971 13 * Programmer(s) : Ravikanth.P
Gruenfrosch 0:7627c79db971 14 * Version :
Gruenfrosch 0:7627c79db971 15 *
Gruenfrosch 0:7627c79db971 16 **************************************************************************************************************
Gruenfrosch 0:7627c79db971 17 */
Gruenfrosch 0:7627c79db971 18
Gruenfrosch 0:7627c79db971 19 #ifndef USBHOST_INC_H
Gruenfrosch 0:7627c79db971 20 #define USBHOST_INC_H
Gruenfrosch 0:7627c79db971 21
Gruenfrosch 0:7627c79db971 22 /*
Gruenfrosch 0:7627c79db971 23 **************************************************************************************************************
Gruenfrosch 0:7627c79db971 24 * INCLUDE HEADER FILES
Gruenfrosch 0:7627c79db971 25 **************************************************************************************************************
Gruenfrosch 0:7627c79db971 26 */
Gruenfrosch 0:7627c79db971 27
Gruenfrosch 0:7627c79db971 28 #include "usbhost_cpu.h"
Gruenfrosch 0:7627c79db971 29 #include "usbhost_err.h"
Gruenfrosch 0:7627c79db971 30 #include "usbhost_lpc17xx.h"
Gruenfrosch 0:7627c79db971 31 #include "usbhost_ms.h"
Gruenfrosch 0:7627c79db971 32 #include "mbed.h"
Gruenfrosch 0:7627c79db971 33
Gruenfrosch 0:7627c79db971 34
Gruenfrosch 0:7627c79db971 35 #ifdef TARGET_LPC2368
Gruenfrosch 0:7627c79db971 36 #error "There is no USB host on the LPC2368!"
Gruenfrosch 0:7627c79db971 37 #endif
Gruenfrosch 0:7627c79db971 38
Gruenfrosch 0:7627c79db971 39 #endif