ScummVM API documentation
vgmcoll.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  * VGMTrans (c) 2002-2019
23  * Licensed under the zlib license,
24  * refer to the included VGMTrans_LICENSE.txt file
25  */
26 #ifndef AUDIO_SOUNDFONT_VGMCOLL_H
27 #define AUDIO_SOUNDFONT_VGMCOLL_H
28 
29 #include "common.h"
30 #include "common/array.h"
31 
32 class VGMInstrSet;
33 class VGMSampColl;
34 class VGMSamp;
35 class SF2File;
36 class SynthFile;
37 
38 class VGMColl {
39 public:
40  SF2File *CreateSF2File(VGMInstrSet *theInstrSet);
41 
42 private:
43  SynthFile *CreateSynthFile(VGMInstrSet *theInstrSet);
44  void UnpackSampColl(SynthFile &synthfile, VGMSampColl *sampColl,
45  Common::Array<VGMSamp *> &finalSamps);
46 };
47 
48 #endif // AUDIO_SOUNDFONT_VGMCOLL_H
Definition: synthfile.h:48
Definition: array.h:52
Definition: vgmsamp.h:77
Definition: vgmsamp.h:41
Definition: vgmcoll.h:38
Definition: vgminstrset.h:45
Definition: sf2file.h:389