summaryrefslogtreecommitdiff
path: root/mzf2wav/src/wav.h
blob: 6d3daa4feec9502debca8e0bfc269a64befc3c1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Defenitions.
#define DEFAULT_LONG_UP       21 // Normal mode.
#define DEFAULT_LONG_DOWN     21
#define DEFAULT_SHORT_UP      11
#define DEFAULT_SHORT_DOWN    11

#define FAST_LONG_UP          11 // Fastest in normal mode.
#define FAST_LONG_DOWN        21
#define FAST_SHORT_UP         11
#define FAST_SHORT_DOWN       12

#define TURBO_2_LONG_UP       11 // Turbo 2x.
#define TURBO_2_LONG_DOWN     11
#define TURBO_2_SHORT_UP      5
#define TURBO_2_SHORT_DOWN    6

#define TURBO_3_LONG_UP       7  // Turbo 3x.
#define TURBO_3_LONG_DOWN     7
#define TURBO_3_SHORT_UP      3
#define TURBO_3_SHORT_DOWN    4

#define TURBO_FAST_LONG_UP    3  // Fastest in turbo mode.
#define TURBO_FAST_LONG_DOWN  7
#define TURBO_FAST_SHORT_UP   3
#define TURBO_FAST_SHORT_DOWN 4

// Prototypes.
void outb(int, int),
     writewavheader(void),
     setheader(void);