mp3 play, wait and sync by semaphore *player thread *volume control thread
Dependencies: mbed VS1053-Semaphore VS1053b
Diff: Thread_mp3/defines.h
- Revision:
- 0:5c606d6342db
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Thread_mp3/defines.h Mon Mar 19 12:12:24 2012 +0000 @@ -0,0 +1,21 @@ +#ifndef _DEFINES_H +#define _DEFINES_H + +// ---------------------------------------------------------------------------- +// debug output +// ---------------------------------------------------------------------------- +// #define DEBUG + +#ifdef DEBUG +# define DEBUGOUT(x,y...) printf(x, ##y); +#else +# define DEBUGOUT(x,y...) +#endif + +// ---------------------------------------------------------------------------- +// VLSI VS1053b library +// ---------------------------------------------------------------------------- +#define VS1053_PATCH_1_5_FLAC + + +#endif