pimp_config.h 1.14 KB
Newer Older
1
/* pimp_config.h -- Compile-time configuration of Pimpmobile
Erik Faye-Lund's avatar
Erik Faye-Lund committed
2
 * Copyright (C) 2005-2006 Jørn Nystad and Erik Faye-Lund
3
4
5
 * For conditions of distribution and use, see copyright notice in LICENSE.TXT
 */

Erik Faye-Lund's avatar
Erik Faye-Lund committed
6
7
#ifndef PIMP_CONFIG_H
#define PIMP_CONFIG_H
8

9
/* 32 is the maximum amount of channels in fasttracker2. a nice default. */
10
#define PIMP_CHANNEL_COUNT 32
11

12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* check the sample-rate calculator at http://www.pineight.com/gba/samplerates/ for more glitch-free periods */

#if 0
#define PIMP_GBA_PERIOD (532)  /* 31536.12 */
#define PIMP_GBA_PERIOD (627)  /* 26757.92 */
#define PIMP_GBA_PERIOD (798)  /* 21024.08 */
#define PIMP_GBA_PERIOD (836)  /* 20068.44 */
#endif
#define PIMP_GBA_PERIOD (924)  /* 18157.16 */
#if 0
#define PIMP_GBA_PERIOD (1254) /* 13378.96 */
#define PIMP_GBA_PERIOD (1463) /* 11467.68 */
#define PIMP_GBA_PERIOD (1596) /* 10512.04 */
#endif
26

Erik Faye-Lund's avatar
Erik Faye-Lund committed
27
/* enable / disable assert */
28
29
30
/* #define DEBUG_PRINT_ENABLE */
/* #define ASSERT_ENABLE */
/* #define PRINT_PATTERNS */
Erik Faye-Lund's avatar
Erik Faye-Lund committed
31

PoroCYon's avatar
PoroCYon committed
32
33
34
35
36
#define PIMP_MIXER_IRQ_SAFE /* on by default */
#define PIMP_MIXER_USE_BRESENHAM_MIXER
/* #define PIMP_MIXER_NO_MIXING */
/* #define PIMP_MIXER_NO_CLIPPING */

Erik Faye-Lund's avatar
Erik Faye-Lund committed
37
#endif /* PIMP_CONFIG_H */