Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FatFileSystemCpp I2SSlave TLV320 mbed
Fork of madplayer by
global.h@3:6f07b5f52c38, 2012-12-19 (annotated)
- Committer:
- okini3939
- Date:
- Wed Dec 19 06:01:00 2012 +0000
- Revision:
- 3:6f07b5f52c38
- Parent:
- 2:f28cf0afd021
1st build;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Gruenfrosch | 0:7627c79db971 | 1 | /* |
| Gruenfrosch | 0:7627c79db971 | 2 | * libmad - MPEG audio decoder library |
| Gruenfrosch | 0:7627c79db971 | 3 | * Copyright (C) 2000-2004 Underbit Technologies, Inc. |
| Gruenfrosch | 0:7627c79db971 | 4 | * |
| Gruenfrosch | 0:7627c79db971 | 5 | * This program is free software; you can redistribute it and/or modify |
| Gruenfrosch | 0:7627c79db971 | 6 | * it under the terms of the GNU General Public License as published by |
| Gruenfrosch | 0:7627c79db971 | 7 | * the Free Software Foundation; either version 2 of the License, or |
| Gruenfrosch | 0:7627c79db971 | 8 | * (at your option) any later version. |
| Gruenfrosch | 0:7627c79db971 | 9 | * |
| Gruenfrosch | 0:7627c79db971 | 10 | * This program is distributed in the hope that it will be useful, |
| Gruenfrosch | 0:7627c79db971 | 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| Gruenfrosch | 0:7627c79db971 | 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| Gruenfrosch | 0:7627c79db971 | 13 | * GNU General Public License for more details. |
| Gruenfrosch | 0:7627c79db971 | 14 | * |
| Gruenfrosch | 0:7627c79db971 | 15 | * You should have received a copy of the GNU General Public License |
| Gruenfrosch | 0:7627c79db971 | 16 | * along with this program; if not, write to the Free Software |
| Gruenfrosch | 0:7627c79db971 | 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| Gruenfrosch | 0:7627c79db971 | 18 | * |
| Gruenfrosch | 0:7627c79db971 | 19 | * $Id: global.h,v 1.1 2010/11/23 20:12:57 andy Exp $ |
| Gruenfrosch | 0:7627c79db971 | 20 | */ |
| Gruenfrosch | 0:7627c79db971 | 21 | |
| Gruenfrosch | 0:7627c79db971 | 22 | # ifndef LIBMAD_GLOBAL_H |
| Gruenfrosch | 0:7627c79db971 | 23 | # define LIBMAD_GLOBAL_H |
| Gruenfrosch | 0:7627c79db971 | 24 | |
| Gruenfrosch | 0:7627c79db971 | 25 | /* conditional debugging */ |
| Gruenfrosch | 0:7627c79db971 | 26 | |
| Gruenfrosch | 0:7627c79db971 | 27 | # if defined(DEBUG) && defined(NDEBUG) |
| Gruenfrosch | 0:7627c79db971 | 28 | # error "cannot define both DEBUG and NDEBUG" |
| Gruenfrosch | 0:7627c79db971 | 29 | # endif |
| Gruenfrosch | 0:7627c79db971 | 30 | |
| Gruenfrosch | 0:7627c79db971 | 31 | # if defined(DEBUG) |
| Gruenfrosch | 0:7627c79db971 | 32 | # include <stdio.h> |
| Gruenfrosch | 0:7627c79db971 | 33 | # endif |
| Gruenfrosch | 0:7627c79db971 | 34 | |
| Gruenfrosch | 0:7627c79db971 | 35 | /* conditional features */ |
| Gruenfrosch | 0:7627c79db971 | 36 | |
| Gruenfrosch | 0:7627c79db971 | 37 | # if defined(OPT_SPEED) && defined(OPT_ACCURACY) |
| Gruenfrosch | 0:7627c79db971 | 38 | # error "cannot optimize for both speed and accuracy" |
| Gruenfrosch | 0:7627c79db971 | 39 | # endif |
| Gruenfrosch | 0:7627c79db971 | 40 | |
| Gruenfrosch | 0:7627c79db971 | 41 | # if defined(OPT_SPEED) && !defined(OPT_SSO) |
| Gruenfrosch | 0:7627c79db971 | 42 | # define OPT_SSO |
| Gruenfrosch | 0:7627c79db971 | 43 | # endif |
| Gruenfrosch | 0:7627c79db971 | 44 | |
| Gruenfrosch | 0:7627c79db971 | 45 | # endif |
