OS/2, eCS & ArcaOS - Technical > Programming
Strange behaviour in SDL2
David McKenna:
Hey Martin,
Thanks for the tip, but doesn't seem to work here - probably for the same reason I don't get any sound in PRBoom. I'm hoping Jochen's next version will help with that.
Regards,
David McKenna:
OK - got sound working in PRBoom. I noticed there was a directory in 'Home' for PRBoom, so deleted it. Restarted PRBoom and now everything works - even MIDI music. Also no hang on exit. So anyone having trouble with it - delete that directory in 'Home' and try again...
Regards,
David McKenna:
Wait - there's more! Next time I ran PRBoom, there was no sound again. So again I deleted the PRBoom directory under 'Home', then restarted and sound worked. Closed the game, tried to restart - no sound, and hang on exit. So I started looking in the '.prboom-plus' directory under 'Home' and opened the file 'prboom-plus.cfg' to have a look. I was suspicious of the line 'samplerate 44100' so changed it to 'samplerate 48000' and now PRBoom starts every time with sound and no hang on exit!
So it seems the default samplerate of 44100 is not always appropriate...
Regards,
Martin Iturbide:
Hi David
--- Quote from: David McKenna on August 19, 2023, 03:53:29 pm --- Wait - there's more! Next time I ran PRBoom, there was no sound again. So again I deleted the PRBoom directory under 'Home', then restarted and sound worked. Closed the game, tried to restart - no sound, and hang on exit. So I started looking in the '.prboom-plus' directory under 'Home' and opened the file 'prboom-plus.cfg' to have a look. I was suspicious of the line 'samplerate 44100' so changed it to 'samplerate 48000' and now PRBoom starts every time with sound and no hang on exit!
So it seems the default samplerate of 44100 is not always appropriate...
--- End quote ---
I'm also experiencing the same "No Sound at PRBoom restart". But I'm not sure if that is an issue of the samplerate config. In my case, if I reboot ArcaOS I get the sound back on PRBoom+.
I did the following:
- Turned on PRBoom with 44100. Sounds OK (Music and sounds)
- Restart PRBoom with 44100. No sound
- change PRBoom to 48000 and run. No sound.
- deleted all the .prboom configs at \home\. Run PRBoom to 48000. No sound.
- Restart ArcaOS
- run PRBoom to 48000. No sound
- change back to 44100. No sound.
- Restart ArcaOS
- run PRBoom with 44100. Sounds again.
My PRBoom is stable for the moment (on the first run after rebooting ArcaOS). I'm running the automatic demo for some 15 minutes now with Music and Sounds.
I'm using Uniaud32 3.1.3 (2021-10-23), ArcaOS 5.0.8, on my Thinkpad L420 (Intel 6 Series/C200 Series Chipset Family High Definition Audio Controller 8086:1C20)
Regards
Martin Iturbide:
Hi again
I also found another way to get the sound back, but it is not consistent.
- I get 2nd start of PrBoom without sound, and exit PrBoom
- play arround with some other sounds on the desktop. Drag Drop to produce some sounds
- Restart PrBoom and sometimes, I get back sound (Music and Sound).
Deleting the .\home\.prboom-plus, also does not gives me consistent results. Sometimes I get sound back, sometimes don't.
Regards
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version