autodetection: convert path to native separators before displaying it.
[Rockbox.git] / apps / codecs / libmusepack / mpc_config.h
blob699377570359afd8edd0da09cf0639da6ac59e21
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2008 by Andree Buschmann
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef _mpc_config_h_
21 #define _mpc_config_h_
23 #include "config.h"
25 /* choose fixed point or floating point */
26 #define MPC_FIXED_POINT
28 #ifndef MPC_FIXED_POINT
29 #error FIXME, mpc will not with floating point now
30 #endif
32 /* choose speed vs. accuracy for MPC_FIXED_POINT
33 * speed-setting will increase decoding speed on ARM only (+20%), loss of accuracy
34 * equals about 5 dB SNR (15bit output precision) to not use the speed-optimization
35 * -> comment OPTIMIZE_FOR_SPEED here for desired target */
36 #if defined(MPC_FIXED_POINT)
37 #if defined(CPU_COLDFIRE)
38 // do nothing
39 #elif defined(CPU_ARM)
40 #define OPTIMIZE_FOR_SPEED
41 #else
42 #define OPTIMIZE_FOR_SPEED
43 #endif
44 #else
45 // do nothing
46 #endif
48 #endif