I had lots of audio pops and sound loops that would briefly freeze the game.
I did the following and got much more smooth performance:
In Steam, right-click, Properties on the Black Mesa icon. Set Launch Options…
I set
-heapsize 1048576
That’s to allocate 1 GB of RAM to the heap.
I also made the following changes to my autoexec.cfg file in C:\Program Files (x86)\Steam\steamapps\sourcemods\BMS\cfg. You can test these without editing the file in the developer console.
[code]snd_mix_async 1
snd_async_fullyasync 1
cl_forcepreload 1
[/code]
The first two made a huge difference for me. The last one (coupled with the heapsize change) improved load times somewhat. snd_async_showmem will also show which .wavs are preloading.
My system:
Intel Core2Duo E6550
8GB DDR2
AMD Radeon HD5770
edit: I had this in there but not sure it’s doing anything meaningful. Cache seems the same size regardless.
snd_async_minsize 393216