LMMS
Loading...
Searching...
No Matches
nemuopl.h
Go to the documentation of this file.
1/*
2 * Adplug - Replayer for many OPL2/OPL3 audio file formats.
3 * Copyright (C) 1999 - 2008 Simon Peter, <dn.tlp@gmx.net>, et al.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 *
19 * nemuopl.h - Emulated OPL using the Nuked OPL3 emulator
20 */
21
22#ifndef H_ADPLUG_NEMUOPL
23#define H_ADPLUG_NEMUOPL
24
25#include "opl.h"
26
27typedef struct _opl3_chip opl3_chip;
28
29class CNemuopl: public Copl
30{
31public:
32 CNemuopl(int rate);
33 ~CNemuopl();
34
35 void update(short *buf, int samples);
36
37 void write(int reg, int val);
38
39 void init();
40
41private:
43};
44
45#endif
void init()
Definition nemuopl.cpp:50
void write(int reg, int val)
Definition nemuopl.cpp:45
opl3_chip * opl
Definition nemuopl.h:42
CNemuopl(int rate)
Definition nemuopl.cpp:28
void update(short *buf, int samples)
Definition nemuopl.cpp:40
~CNemuopl()
Definition nemuopl.cpp:35
Copl()
Definition opl.h:32
int val
Definition jpeglib.h:956
struct _opl3_chip opl3_chip
Definition nemuopl.h:27
Definition nukedopl.h:104