kometbomb / prototracker-opll

YM2413 (OPLL) fork of Prototracker
MIT License
19 stars 4 forks source link

"Weirdness" when running my builds #6

Open Kaens opened 2 years ago

Kaens commented 2 years ago

I've built this on msys2 mingw64 targeting x86_64 (and then mingw32 and i686), and ran it on Windows 10. The main window appeared, said it couldn't find an audio device; at the same time, there appeared a console window on the background saying this:

[DEBUG] Weirdness on line 12
[DEBUG] Weirdness on line 18
[DEBUG] Weirdness on line 26
[DEBUG] Opening audio device
[DEBUG] Failed to open audio: No such device.
[DEBUG] Audio init failed
[DEBUG] Opening audio device (null)
[DEBUG] sampleRate = 192000 buffer = 15360
[DEBUG] Running audio thread (deviceId = 2) 15360

In a few seconds, both builds crashed.

Interestingly, your w32 build also complains about my audio device on the first run, but instead of crashing it finds and enumerates its options properly.

kometbomb commented 2 years ago

The "weirdness" refers to the GUI definition file that it has a syntax error (IIRC it has comments or empty lines or so) - completely harmless. Not sure if the 192 kHz sampling rate might be a factor in the crash?

Kaens commented 2 years ago

Well, your build definitely works with the same mixer settings! Might not be that. A glitch somewhere in MinGW libs? I recently built HivelyTracker on it though, works like a charm... Oh yeah, this is what my sound stuff is like... image