Changeset 18 for trunk/src/helpers/syssound.c
- Timestamp:
- Jan 1, 2001, 4:30:29 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/syssound.c
r13 r18 173 173 *@@changed V0.9.6 (2000-10-16) [umoeller]: now using MMBASE environment variable 174 174 *@@changed V0.9.6 (2000-10-16) [umoeller]: added proper HAB param 175 *@@changed V0.9.7 (2000-12-17) [umoeller]: fixed broken MMBASE handling 175 176 */ 176 177 … … 186 187 // variable set: 187 188 PSZ p; 188 sprintf(szMMPM, "%s\\MMPM.INI", pszMMPMPath); 189 190 strcpy(szMMPM, pszMMPMPath); // V0.9.7 (2000-12-17) [umoeller] 191 189 192 // kill semicolon if present 190 193 p = strchr(szMMPM, ';'); 191 194 if (p) 192 195 *p = 0; 196 197 strcat(szMMPM, "\\MMPM.INI"); 193 198 } 194 199 else … … 251 256 BOOL rc = FALSE; 252 257 HINI hiniMMPM = sndOpenMmpmIni(hab); 258 259 #ifdef DEBUG_SOUNDS 260 _Pmpf((__FUNCTION__ ": entering, hiniMMPM is 0x%lX", hiniMMPM)); 261 #endif 262 253 263 if (hiniMMPM) 254 264 { … … 540 550 APIRET arc = NO_ERROR; 541 551 542 _Pmpf(("Entering sndLoadSoundScheme")); 552 #ifdef DEBUG_SOUNDS 553 _Pmpf(("Entering sndLoadSoundScheme")); 554 #endif 543 555 544 556 if (hiniMMPM) … … 550 562 pszScheme, 551 563 NULL); 552 _Pmpf((" pszSchemeAppName: %s", pszSchemeAppName)); 564 #ifdef DEBUG_SOUNDS 565 _Pmpf((" pszSchemeAppName: %s", pszSchemeAppName)); 566 #endif 553 567 554 568 if (pszSchemeAppName) … … 650 664 arc = ERROR_INVALID_HANDLE; 651 665 652 _Pmpf(("End of sndLoadSoundScheme, arc: %d", arc)); 666 #ifdef DEBUG_SOUNDS 667 _Pmpf(("End of sndLoadSoundScheme, arc: %d", arc)); 668 #endif 653 669 return (arc); 654 670 }
Note:
See TracChangeset
for help on using the changeset viewer.