blob: 29828712ee17b8724c77b27200d549b1b4989e99 (
plain) (
blame)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
{$DEFINE DEBUG} // to-do : Remove b4 release
// Comment by eddie:
// The mac port currently also uses the WIN32 define.
// Once I get the beast compiled, linked and running
// I will change this.
// There are some parts where the WIN32 define could not
// be used. I changed the WIN32 to MSWINDOWS.
// So, for Windows-only code use the MSWINDOWS define.
{$IFDEF FPC}
{$IFDEF DARWIN}
{$H+}
{$R-}
{$DEFINE WIN32}
{$DEFINE TRANSLATE}
{$DEFINE UTF8_FILENAMES}
{$ELSE}
{$DEFINE LAZARUS}
{$ENDIF}
{$DEFINE DLL_CDECL}
{$UNDEF UseSerialPort}
{$UNDEF UseMIDIPort}
{$ELSE}
{$DEFINE Delphi}
{$DEFINE DLL_STDCALL}
{$UNDEF UseSerialPort}
{$DEFINE UseMIDIPort}
{$ENDIF}
{$IFDEF win32}
{$I config-win.inc}
{$DEFINE UseBASSPlayback}
{$DEFINE UseBASSInput}
//{$DEFINE UseFFMpegDecoder}
//{$DEFINE UsePortaudioPlayback}
//{$DEFINE UsePortaudioInput}
//{$DEFINE UsePortmixer}
{$IF Defined(HaveProjectM_0_9)}
{$DEFINE UseProjectM_0_9}
{$ELSEIF Defined(HaveProjectM_1_0_PLUS)}
{$DEFINE UseProjectM_1_0}
{$IFEND}
{$IFDEF DEBUG}
{$IFNDEF DARWIN}
{$APPTYPE CONSOLE}
{$ENDIF}
{$ENDIF}
{$ELSE}
{$DEFINE UseFFMpegAudio}
{$DEFINE UsePortaudio}
{$DEFINE UseProjectM_0_9}
{$ENDIF}
{$IF Defined(UseBASSInput) or Defined(UseBASSPlayback)}
{$DEFINE UseBASS}
{$IFEND}
{$IF Defined(UsePortaudioInput) or Defined(UsePortaudioPlayback)}
{$DEFINE UsePortaudio}
{$IFEND}
{$IF Defined(UseProjectM_0_9) or Defined(UseProjectM_1_0)}
{$DEFINE UseProjectM}
{$IFEND}
// I had to add these (jay)... but maybe henny has some way that the config script is meant to do this ?
// Ill need to check with him.
//{$DEFINE FPC_V220}
//{$DEFINE LAZARUS_V0924}
|