Changeset 21916 for trunk/src/winmm/mixer.cpp
- Timestamp:
- Dec 18, 2011, 10:28:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk
-
-
Property svn:mergeinfo
set to
/branches/gcc-kmk merged eligible
- Property svn:ignore
-
trunk/src/winmm/mixer.cpp
r21570 r21916 34 34 #include "waveoutdart.h" 35 35 #include "winmm.h" 36 #include "init winmm.h"36 #include "initterm.h" 37 37 #include "mixer.h" 38 38 #include "mixeros2.h" … … 749 749 //find line associated with this control 750 750 lpMlc->dwLineID = -1; 751 for(int i=0;i<nrLines;i++) { 751 int i; 752 for(i=0;i<nrLines;i++) { 752 753 for(int j=0;j<pmixerLines[i]->cControls;j++) { 753 754 if(pmixerLines[i]->Controls[j] == lpMlc->u.dwControlID) { … … 1086 1087 #endif 1087 1088 //search all lines (src & dest) for one with specified type 1088 for(int i=0;i<nrLines;i++) { 1089 int i; 1090 for(i=0;i<nrLines;i++) { 1089 1091 if(pmixerLines[i]->line.dwComponentType == lpMl->dwComponentType) { 1090 1092 break; … … 1130 1132 //TODO: Should we compare mid, pid & pddname too? (must be initialized according to MSDN) 1131 1133 // (see below; unicode version doesn't copy pddname; change if these checks are required) 1134 int i; 1132 1135 for(int i=0;i<nrLines;i++) { 1133 1136 if(pmixerLines[i]->line.Target.dwType == lpMl->Target.dwType) { … … 1371 1374 1372 1375 memset(mixerDest, 0, sizeof(mixerDest)); 1373 for(int i=0;i<MIXER_DEST_MAX;i++) { 1376 int i; 1377 for(i=0;i<MIXER_DEST_MAX;i++) { 1374 1378 memset(mixerDest[i].Connections, -1, sizeof(mixerDest[i].Connections)); 1375 1379 memset(mixerDest[i].Controls, -1, sizeof(mixerDest[i].Controls));
Note:
See TracChangeset
for help on using the changeset viewer.