DirectSound: keep the main buffer active.

This was actually already considered in the surrounding code. I just had to uncomment it. This recommendation has remained consistent in the Microsoft documentation since this code was written. It's safe to uncomment it to ensure our main buffer stays active, since shutdown of the mixer engine is unwanted.
This commit is contained in:
sukibaby
2025-06-10 21:00:17 -07:00
committed by teejusb
parent 8c6c2524bb
commit 6eb58bbd66
+1 -1
View File
@@ -100,7 +100,7 @@ void DSound::SetPrimaryBufferMode()
* *
* However, I just added the above code and I don't want to change more until it's tested. * However, I just added the above code and I don't want to change more until it's tested.
*/ */
// pBuffer->Play( 0, 0, DSBPLAY_LOOPING ); pBuffer->Play( 0, 0, DSBPLAY_LOOPING );
pBuffer->Release(); pBuffer->Release();
} }