libertyernie / brawltools

BrawlBox and BrawlLib
http://forums.kc-mm.com/index.php?topic=67847.0
142 stars 31 forks source link

When Playing BRSTM after full loop audio studders and RAM usage soars. (OpenAL) #178

Open The-Silver-Kid opened 6 years ago

libertyernie commented 6 years ago

It only happens after the audio loops, right?

Are you on Windows? Also check the Help > About screen and let me know if it says what audio backend it's using.

The-Silver-Kid commented 6 years ago

Windows 10 x64 BrawlBox .78 OpenAL Wrapper

The-Silver-Kid commented 6 years ago

Yes it only happens after one full loop and continues playing after that.

libertyernie commented 6 years ago

BrawlBox usually tries DirectSound first, and only uses OpenAL if that fails. I wrote the OpenAL wrapper code but it's kind of buggy.

Are you building BrawlBox yourself from Visual Studio? If you are, try changing the target platform to x86.

The-Silver-Kid commented 6 years ago

Changing target platform to x86 fixes not detecting (or using) DirectSound. But does not fix the OpenAL bug. It also corrects itself if you stop it from playing and restart it, but again appears after a full loop.

libertyernie commented 6 years ago

I'll keep that in mind, thanks.