fix warning and use current i variable than misuse same variable

Oops...
This commit is contained in:
RadWolfie 2019-07-09 01:13:23 -05:00
parent a06341e0d2
commit b4b9f18769
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ inline void GenerateMixBinDefault(
// If format is PCM/XADPCM, then use stereo mixbin as default.
if (lpwfxFormat->wFormatTag != WAVE_FORMAT_EXTENSIBLE) {
counter = 2;
for (int i = 0; i < counter; i++) {
for (i = 0; i < counter; i++) {
xb_mixbinArray[i].dwMixBin = i;
xb_mixbinArray[i].lVolume = 0;
}