Open Wohlstand opened 3 years ago
On Windows, it properly builds via QMake only, by direct build via mingw32-make it fails strongly even on a pure master branch build.
For a friendly usage of MIDI playing API, I made the AdlSimpleMidiPlay
class, defined at adlcpp.h for public, and the simple usgae example through SDL Audio.
It's the shortlist of what I did in it:
midiplay.cpp
into multiple modules, called as adlinput.cc
for ADL_Input
, adlui.cc
for ADL_UserInterface
, and adlplay.cc
for OPL3
and MIDIPlay
.fraction.hpp
into the place of public headersUI
and Input
classes. I turned them into pointers which should be set to make them work (that what I did at midiplay.cc
)libadlcpp.so
shared library and adlmidi
which links itAdlSimpleMidiPlay
class that re-implements the minimal part of midiplay.cc
to make the easier programmatical re-use of the ADLCPP library part.gen_adldata
tool as it's needed the faster emulator than accurate for its measure work.The conflict that shown here is because I had to move src/midiplay.cc
to utils/midiplay.cc
.
Okay, I had to rebase my branch, and it should be ok to merge.
@bisqwit, ping?
@bisqwit, ping?
I am alive, just very backlogged and delayed with pretty much everything possible.
No problem, good luck then to resolve that as soon as possible! :wink:
Hello! A bit more than two months has left until the "year anniversary" will happen for this pull request. How are you? Do you have any news?
@bisqwit, ping?
@bisqwit, are you okay?
Yes, but I am only one person. Sorry.
I understand, I just wanted to ask how are you
@bisqwit, ping?
@bisqwit, Hello, how are you? Long time not see :)
@bisqwit, ping?
@bisqwit, ping? Are you okay?
As was discussed at #3, I started to work on a turning ADLMIDI into the library. This is my complete work to split ADLMIDI into the library part, and users part. Most of the code was been moved into own
cc
files but didn't change. Therefore, a thing is working with the same as before the rework.An updated build will produce two binaries:
However, I still need to complete the work, and there are items I need to complete:
make install
that will copy the library into/usr/local/libXX
and will copy all public headers into/usr/local/include/adlcpp
EDIT August 29, 2020:, I had to complete the full list, and now the thing is ready for merge.
The shortlist of all changes I made in this PR:
midiplay.cpp
into multiple modules, called asadlinput.cc
forADL_Input
,adlui.cc
forADL_UserInterface
, andadlplay.cc
forOPL3
andMIDIPlay
.fraction.hpp
into the place of public headersUI
andInput
classes. I turned them into pointers which should be set to make them work (that what I did atmidiplay.cc
)libadlcpp.so
shared library andadlmidi
which links itAdlSimpleMidiPlay
class that re-implements the minimal part ofmidiplay.cc
to make the easier programmatical re-use of the ADLCPP library part.gen_adldata
tool as it's needed the faster emulator than accurate for its measure work.Feel free to write any comments, suggestions, tips, and notices here.