libresidfp
1.2.3
Main Page
Classes
Files
File List
src
residfp
residfp_defs.h
Go to the documentation of this file.
1
/*
2
* This file is part of libsidplayfp, a SID player engine.
3
*
4
* Copyright 2011-2026 Leandro Nini <drfiemost@users.sourceforge.net>
5
* Copyright 2007-2010 Antti Lankila
6
* Copyright 1999 Dag Lem <resid@nimrod.no>
7
*
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
*/
22
23
#ifndef RESIDFP_DEFS_H
24
#define RESIDFP_DEFS_H
25
32
#ifndef RESIDFP_EXTERN
33
/* DLL building support on win32 hosts */
34
# ifdef DLL_EXPORT
/* defined by libtool (if required) */
35
# define RESIDFP_EXTERN __declspec(dllexport)
36
# endif
37
# ifdef RESIDFP_DLL_IMPORT
/* define if linking with this dll */
38
# define RESIDFP_EXTERN __declspec(dllimport)
39
# endif
40
# ifndef RESIDFP_EXTERN
/* static linking or !_WIN32 */
41
# if (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__)
42
# define RESIDFP_EXTERN __attribute__ ((visibility("default")))
43
# else
44
# define RESIDFP_EXTERN
45
# endif
46
# endif
47
#endif
48
49
namespace
reSIDfp
50
{
54
typedef
enum
{
55
MOS6581,
56
CSG8580
57
} ChipModel;
58
62
typedef
enum
{ AVERAGE, WEAK, STRONG } CombinedWaveforms;
63
67
typedef
enum
{
68
DECIMATE,
69
RESAMPLE,
70
NONE
71
} SamplingMethod;
72
}
73
74
#endif
reSIDfp
Definition:
Dac.cpp:27
Generated by
1.8.10