MP3 Player. You can change fwd/rev speed and skip. see: http://mbed.org/users/okini3939/notebook/lpc4088_madplayer/
Dependencies: I2SSlave SDFileSystem TLV320 mbed
madplayer/global.h@0:8ba6230eefbd, 2014-02-18 (annotated)
- Committer:
- okini3939
- Date:
- Tue Feb 18 00:22:50 2014 +0000
- Revision:
- 0:8ba6230eefbd
1st build
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
okini3939 | 0:8ba6230eefbd | 1 | /* |
okini3939 | 0:8ba6230eefbd | 2 | * libmad - MPEG audio decoder library |
okini3939 | 0:8ba6230eefbd | 3 | * Copyright (C) 2000-2004 Underbit Technologies, Inc. |
okini3939 | 0:8ba6230eefbd | 4 | * |
okini3939 | 0:8ba6230eefbd | 5 | * This program is free software; you can redistribute it and/or modify |
okini3939 | 0:8ba6230eefbd | 6 | * it under the terms of the GNU General Public License as published by |
okini3939 | 0:8ba6230eefbd | 7 | * the Free Software Foundation; either version 2 of the License, or |
okini3939 | 0:8ba6230eefbd | 8 | * (at your option) any later version. |
okini3939 | 0:8ba6230eefbd | 9 | * |
okini3939 | 0:8ba6230eefbd | 10 | * This program is distributed in the hope that it will be useful, |
okini3939 | 0:8ba6230eefbd | 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
okini3939 | 0:8ba6230eefbd | 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
okini3939 | 0:8ba6230eefbd | 13 | * GNU General Public License for more details. |
okini3939 | 0:8ba6230eefbd | 14 | * |
okini3939 | 0:8ba6230eefbd | 15 | * You should have received a copy of the GNU General Public License |
okini3939 | 0:8ba6230eefbd | 16 | * along with this program; if not, write to the Free Software |
okini3939 | 0:8ba6230eefbd | 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
okini3939 | 0:8ba6230eefbd | 18 | * |
okini3939 | 0:8ba6230eefbd | 19 | * $Id: global.h,v 1.1 2010/11/23 20:12:57 andy Exp $ |
okini3939 | 0:8ba6230eefbd | 20 | */ |
okini3939 | 0:8ba6230eefbd | 21 | |
okini3939 | 0:8ba6230eefbd | 22 | # ifndef LIBMAD_GLOBAL_H |
okini3939 | 0:8ba6230eefbd | 23 | # define LIBMAD_GLOBAL_H |
okini3939 | 0:8ba6230eefbd | 24 | |
okini3939 | 0:8ba6230eefbd | 25 | /* conditional debugging */ |
okini3939 | 0:8ba6230eefbd | 26 | |
okini3939 | 0:8ba6230eefbd | 27 | # if defined(DEBUG) && defined(NDEBUG) |
okini3939 | 0:8ba6230eefbd | 28 | # error "cannot define both DEBUG and NDEBUG" |
okini3939 | 0:8ba6230eefbd | 29 | # endif |
okini3939 | 0:8ba6230eefbd | 30 | |
okini3939 | 0:8ba6230eefbd | 31 | # if defined(DEBUG) |
okini3939 | 0:8ba6230eefbd | 32 | # include <stdio.h> |
okini3939 | 0:8ba6230eefbd | 33 | # endif |
okini3939 | 0:8ba6230eefbd | 34 | |
okini3939 | 0:8ba6230eefbd | 35 | /* conditional features */ |
okini3939 | 0:8ba6230eefbd | 36 | |
okini3939 | 0:8ba6230eefbd | 37 | # if defined(OPT_SPEED) && defined(OPT_ACCURACY) |
okini3939 | 0:8ba6230eefbd | 38 | # error "cannot optimize for both speed and accuracy" |
okini3939 | 0:8ba6230eefbd | 39 | # endif |
okini3939 | 0:8ba6230eefbd | 40 | |
okini3939 | 0:8ba6230eefbd | 41 | # if defined(OPT_SPEED) && !defined(OPT_SSO) |
okini3939 | 0:8ba6230eefbd | 42 | # define OPT_SSO |
okini3939 | 0:8ba6230eefbd | 43 | # endif |
okini3939 | 0:8ba6230eefbd | 44 | |
okini3939 | 0:8ba6230eefbd | 45 | # endif |