61
Programming / Re: Strange behaviour in SDL2
« on: August 16, 2023, 01:26:49 pm »
Does the CAD handler still work? If yes, can you kill the process?
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
No crash on my machine.@Lars, I don't quite get, what you are getting at. On my machine, the SDL2 tests work.
Use the test apps to play the sound file and manipulate the volume while doing so.
Hi Jochen,Yes, PrBoom does some strange things with the SDL2 audio/mixer interface. I'm working at the moment to have the launcher dialog at startup.
According to PMDLL, 'Rocks and Diamonds' uses SDL2200.dll, SDL2I200.dll, SDL2M200.dll, and SDL2N200.dll. PRBoom uses SDL2I200.dll only (which in turn uses SDL2200.dll). So it looks like they are using the same version, but in a different manner...
Regards,.
Hi Jochen,That's a new one. Do you have some other SDL2 applications, you can test?
If I adjust the volume using the WPS volume knob app while PRBoom is running, the computer locks solid and I have to do a hard reset.
For MIDI, should I use 'SDL' or 'Fluidsynth' in PRBoom? Or does MIDI not work at all?Easiest way is using SDL. For fluidsynth, you would need a soundfont library, and something must be configured (which slips my minds ATM).
Regards,
Installed the new SDL2 from Bitwiseworks, but don't get any sound from PRBoom+, although it seems to work otherwise. Has anyone else tried the new SDL2 and able to get sound? Is there some setting in PRBoom+ needed to get sound on OS/2?Can you start the system volume controll application and adjust the volume while PrBoom is running? Does sound becomes audible, when you adjusted the volume?
Regards,
Would it be possible to compile and run ClassiCube for OS/2?I'm working on it.
https://github.com/UnknownShadow200/ClassiCube#compiling---other-desktop-oses
Thanks for the instruction.Paul, do we have build instructions for Qt6?
Rough instructions
- install dependencies per Qt5
- clone qt6-base - git clone https://github.com/psmedley/qt6-base-os2.git
- checkout 6.3.x branch - git checkout 6.3.x
- mkdir build
- cd build
- configure with something like:Code: [Select]set LIBS=-lpthread -lcx
- build with cmake --build .
set BEGINLIBPATH=u:\dev\qt6-base-os2-6.3.x\build\lib
dash ../configure -prefix /qt6 -no-opengl -release -system-sqlite -openssl-linked -no-pch -no-avx -- -DQT_BUILD_EXAMPLES=ON -DQT_BUILD_TESTS=OFF 2>&1 | tee configure.log
- install with cmake --install .
- clone qt6-multimedia - git clone https://github.com/psmedley/qt6-multimedia-os2.git
- checkout os2sound branch - git checkout os2sound
- mkdir build
- cd build
- configure with something like:Code: [Select]dash /qt6/bin/qt-configure-module .. 2>&1 | tee configure.log
- build with cmake --build .
- install with cmake --install .
The above should work - but it's kinda from memory....
EDIT: looks like Feathernotes uses <alt><shift> to left and right justify text, so probably not gonna work unfortunately...In FeatherPad, you can change key shortcuts. Perhaps, you are able to do that in FeatherNotes, too? (Sorry, I'm not at my dev machine for the day).