| 449 | // Subsequent setting (to the same volume) will get ignored, as DirectSound thinks that volume is already set. |
| 450 | |
| 451 | void SoundCore_TweakVolumes() |
| 452 | { |
| 453 | for (UINT i=0; i<g_uNumVoices; i++) |
| 454 | { |
| 455 | g_pVoices[i]->lpDSBvoice->SetVolume(g_pVoices[i]->nVolume-1); |
| 456 | g_pVoices[i]->lpDSBvoice->SetVolume(g_pVoices[i]->nVolume); |
| 457 | } |
| 458 | } |
| 459 | |
| 460 | //----------------------------------------------------------------------------- |
| 461 |