mp3 play, wait and sync by semaphore *player thread *volume control thread
Dependencies: mbed VS1053-Semaphore VS1053b
Thread_mp3/defines.h@0:5c606d6342db, 2012-03-19 (annotated)
- Committer:
- takashikojo
- Date:
- Mon Mar 19 12:12:24 2012 +0000
- Revision:
- 0:5c606d6342db
Thread based mp3 player with mbed RTOS, semaphore
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
takashikojo | 0:5c606d6342db | 1 | #ifndef _DEFINES_H |
takashikojo | 0:5c606d6342db | 2 | #define _DEFINES_H |
takashikojo | 0:5c606d6342db | 3 | |
takashikojo | 0:5c606d6342db | 4 | // ---------------------------------------------------------------------------- |
takashikojo | 0:5c606d6342db | 5 | // debug output |
takashikojo | 0:5c606d6342db | 6 | // ---------------------------------------------------------------------------- |
takashikojo | 0:5c606d6342db | 7 | // #define DEBUG |
takashikojo | 0:5c606d6342db | 8 | |
takashikojo | 0:5c606d6342db | 9 | #ifdef DEBUG |
takashikojo | 0:5c606d6342db | 10 | # define DEBUGOUT(x,y...) printf(x, ##y); |
takashikojo | 0:5c606d6342db | 11 | #else |
takashikojo | 0:5c606d6342db | 12 | # define DEBUGOUT(x,y...) |
takashikojo | 0:5c606d6342db | 13 | #endif |
takashikojo | 0:5c606d6342db | 14 | |
takashikojo | 0:5c606d6342db | 15 | // ---------------------------------------------------------------------------- |
takashikojo | 0:5c606d6342db | 16 | // VLSI VS1053b library |
takashikojo | 0:5c606d6342db | 17 | // ---------------------------------------------------------------------------- |
takashikojo | 0:5c606d6342db | 18 | #define VS1053_PATCH_1_5_FLAC |
takashikojo | 0:5c606d6342db | 19 | |
takashikojo | 0:5c606d6342db | 20 | |
takashikojo | 0:5c606d6342db | 21 | #endif |