OS/2, eCS & ArcaOS - Technical > Programming

Strange behaviour in SDL2

<< < (2/17) > >>

Martin Iturbide:
Hi Jochen,

Sorry my last sentence was confusing because  I didn't understand this:

--- Quote from: Jochen Schäfer on May 24, 2023, 10:57:51 am ---My working copy has SDL Mixer linked, that doesn't seem to be the issue.

--- End quote ---
I got confused there, please ignore my last sentence.

I guess that it would be good to try to use Digi's SDL2 and if the problem gets solve like magic, it most be some issue with the Netlabs RPM SDL2.

Just in case I have Digi's SDL2 source code copied here:
- https://github.com/OS2World/LIB-SDL2/tree/master/packages
- Original source: ftp://digi.os2.snc.ru/pub/SDL

while Netlabs RPM Bitwise Source code is here:
- https://github.com/bitwiseworks/SDL2-os2
- https://github.com/bitwiseworks/SDL2_mixer-os2
- https://github.com/bitwiseworks/SDL2_image-os2
... and others


Jochen Schäfer:
Hi Martin.

Thanks for the hints, but I know them, because I made some fixes on them and use them for debugging.

Jochen Schäfer:
Upon further research, I noticed that the multimedia system, just doesn't do anything with the supplied data. The callback, when the buffer is played, never gets called, until I use the master volume application. Then suddenly the buffer is played and everything is fine. Any ideas why?

Another issue, which bugs me, is that OS/2 reports two sound card while onyl one is in my T480. One of the SDL2 test programs tries to open all reported devices, but the second one is already locked.
Any ideas why?

Can you use an USB sound device (with the corresponding drivers of course) and see if that makes a difference? If yes, it must be the UNIAUD drivers. Or AUDIOIF.DLL (that provides the interface between MMPM and the audio drivers and that I replaced for the USB audio drivers with my own version).

Jochen Schäfer:
I will try that on sunday.


[0] Message Index

[#] Next page

[*] Previous page

Go to full version