sound/Windows 11 instability?

Discuss IB/IBx engine ideas, bugs, etc.
Post Reply
zach_holbrook
Posts: 70
Joined: Thu Jan 16, 2020 5:00 am

sound/Windows 11 instability?

Post by zach_holbrook »

Hey all, it's been awhile! I've dipped back into testing Malkin in my very limited spare time -- it's been a rough semester.

I seem to be getting random crashes while playing, and I'm not sure what to attribute them to, but the error log suggests it's audio-related (the only errors that get logged are audio ones, anyway).

Unfortunately, I'm finding it impossible to reproduce, but once I even crashed on the New Game menu page -- maybe because of the clicking sound that plays when the pointer floats over a button. I know sound has always triggered errors, but it seems to be happening more often now, and I'm still using IB203. Is it possible that Windows 11 make this happen more often? That's the only thing that's really changed since I last tested extensively.
User avatar
slowdive
Site Admin
Posts: 448
Joined: Wed Jan 15, 2020 4:37 am

Re: sound/Windows 11 instability?

Post by slowdive »

It could be windows 11 since we are using a sound player that uses Windows Media Player and maybe Win11 has issues with that. I don't have win11 to check with (my computer says it is too old like me, haha), but i'll do some looking into it with google searches. I've been looking to change out the audio system in IB to use the one I have in IBbasic so maybe that will help (although I think it uses windows media player in the end as well).
zach_holbrook
Posts: 70
Joined: Thu Jan 16, 2020 5:00 am

Re: sound/Windows 11 instability?

Post by zach_holbrook »

Interesting! I also deleted the error log and am going to test with it -- I wonder if its being too big could also be a factor. I'll test more and let you know. Is there a way to integrate an open source audio system I wonder?
User avatar
slowdive
Site Admin
Posts: 448
Joined: Wed Jan 15, 2020 4:37 am

Re: sound/Windows 11 instability?

Post by slowdive »

The one I’m using for IBbasic is an open source library, but most will still tie into windows media player for the underlining output. I’ll try and see if there is a good solution that uses directX or some other sound diver. I’m not that knowledgeable in the subject so I’ll need to read up some more.
User avatar
slowdive
Site Admin
Posts: 448
Joined: Wed Jan 15, 2020 4:37 am

Re: sound/Windows 11 instability?

Post by slowdive »

I wonder if you could test the PC version of IBbasic and see if it has the sound issues as well. It is using a different sound control library. If it works okay then I'll convert IB to use the same setup.
Post Reply