Wohlstand / libADLMIDI

A Software MIDI Synthesizer library with OPL3 (YMF262) emulator
GNU Lesser General Public License v3.0
174 stars 17 forks source link

WIP OPL3 MIDI2VGM #250

Open freq-mod opened 2 years ago

freq-mod commented 2 years ago

WIP, not ready to merge at all. Could say it was barely started... TODO:

freq-mod commented 2 years ago

In file included from ../src/adlmidi_opl3.cpp:66:0: ../src/chips/vgm_file_dumper.h:26:56: error: expected template-name before ‘<’ token class VGMFileDumper final : public ADLChipBaseBufferedT<VGMFileDumper>

../src/chips/vgm_file_dumper.h:26:56: error: expected ‘{’ before ‘<’ token ../src/chips/vgm_file_dumper.h:26:56: error: expected unqualified-id before ‘<’ token

Don't know why it is hapeens, maybe something obvious eludes me

freq-mod commented 2 years ago

OK, figured that one out... still borked though.

freq-mod commented 2 years ago

../src/adlmidi_opl3.cpp: In member function ‘void OPL3::reset(int, long unsigned int, void*)’: ../src/adlmidi_opl3.cpp:1813:75: error: cannot allocate an object of abstract type ‘VGMFileDumper’ chip = new VGMFileDumper(i, (i == 0 ? NULL : m_chips[0].get()));

can't get any further :pensive:

Wohlstand commented 2 years ago

../src/adlmidi_opl3.cpp: In member function ‘void OPL3::reset(int, long unsigned int, void*)’: ../src/adlmidi_opl3.cpp:1813:75: error: cannot allocate an object of abstract type ‘VGMFileDumper’ chip = new VGMFileDumper(i, (i == 0 ? NULL : m_chips[0].get()));

can't get any further pensive

You also should change the body at vgm_file_dumper.cpp too :eyes:

freq-mod commented 2 years ago

can't say it helped, still stuck

freq-mod commented 2 years ago

@Wohlstand once you have some time, can you look onto it?

Wohlstand commented 2 years ago

I'll try to get look soon, thanks for the note 😉