ScummVM API documentation
nfmopl.h
1
/* ScummVM - Graphic Adventure Engine
2
*
3
* ScummVM is the legal property of its developers, whose names
4
* are too numerous to list here. Please refer to the COPYRIGHT
5
* file distributed with this source distribution.
6
*
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*
20
*/
21
22
/*
23
OPL interface using nFM library(https://framagit.org/nokturnal/nfm)
24
for NokturnFM2 / 3, CE OPL2 Audio board, CE OPL3 Duo!, Serdaco OPL2LPT / OPL3LPT, ST Bus ISA / VME SoundBlaster and NatFeats
25
(c) 2023-26 Paweł Góralski
26
*/
27
28
#ifndef AUDIO_SYNTH_NFM_OPL_H
29
#define AUDIO_SYNTH_NFM_OPL_H
30
31
#include "audio/fmopl.h"
32
33
namespace
OPL {
34
namespace
NfmOPL {
35
enum
OplDevice : int16_t {
36
dtNokturnFM2 = 0,
37
dtNokturnFM3,
38
dtOPL2LPT,
39
dtOPL3LPT,
40
dtOPL2AudioBoard,
41
dtOPL3Duo,
42
dtStBusIsaVmeSb,
43
dtNatfeatsOpl,
44
dtNumDevices
45
};
46
47
namespace
RealChip {
48
OPL *create(
Config::OplType
type, OplDevice device);
49
}
// End of namespace RealChip
50
51
}
// End of namespace NfmOPL
52
}
// End of namespace OPL
53
54
#endif
OPL::Config::OplType
OplType
Definition:
fmopl.h:58
audio
nfmopl.h
Generated on Sat Oct 24 2026 09:08:45 for ScummVM API documentation by
1.9.4