Closed freq-mod closed 1 year ago
It works under Wine
You should disable the JACK at RtAudio module 👀 (I'll try to take a look at code sooner, but now I am out of home)
Trying to build using vendored rtaudio and rtmidi doesnt work, it moans about RtAudio.h cant be found
Did you clonned submodules?
git submodule init
git submodule update
yes
I fixed the CMake build that you noted (QMake build works just fine): https://github.com/Wohlstand/OPL3BankEditor/commit/193bf190c71723707d13fd0d2aa930b41741b578
I also added an option to disable Jack support at vendored RtAudio.
OK so it builds, but still crashes... will try to disable jack
According to the log, it's just a failure of RtAudio that never tries other APIs and goes "Use JACK or die, m***!"
disableing jack fixes the crash. thanks!
I'll apply the same fix to the OPN2 Bank Editor too.
Init audioOut... Using RtAudio driver: jack RtApiJack::getDeviceInfo: error determining Jack input/output channels!
RtApiJack::getDeviceInfo: error determining Jack input/output channels! Desired latency 0.02 Buffer size 960 terminate called after throwing an instance of 'RtAudioError' what(): RtApiJack::probeDeviceOpen: requested number of channels (2) + offset (0) not found for specified device (0:Family 17h/19h HD Audio Controller Digital Microphone). Przerwane (zrzut pamięci) [anon@shitbox ~]$
build didnt fail...