Changeset 171 for trunk/classes
- Timestamp:
- Mar 27, 2024, 10:40:40 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/classes/c/c_audio/cwaudio.c
r108 r171 2427 2427 This function inserts only write enabled IO procedures into the menu. 2428 2428 */ 2429 staticBOOL insertAudioIOProcMenuItems( HWND hwndMenu )2429 BOOL insertAudioIOProcMenuItems( HWND hwndMenu ) 2430 2430 { 2431 2431 CHAR szBuffer[ sizeof( FOURCC ) + CCHMAXPATH + 4 ]; … … 2527 2527 for ( index = 0; index <lNumIOProcs; index++ ) 2528 2528 { 2529 mmioGetFormatName(pmmFormatInfoArray, szBuffer, &lBytesRead, 0L, 0L); 2529 ulReturnCode = mmioGetFormatName(pmmFormatInfoArray, szBuffer, &lBytesRead, 0L, 0L); 2530 if(ulReturnCode) 2531 { 2532 //SysWriteToTrapLog("IO-Proc 2: %s %u\n\n", szBuffer, ulReturnCode); 2533 continue; 2534 } 2530 2535 2531 2536 /* Insert NULL string terminator */ … … 2630 2635 strcat(chrPtr,"\" \""); 2631 2636 chrPtr=strrchr(chrPtr, 0); 2632 mmioGetFormatName(&g_pmmFormatInfoArray[ulMenuId-ID_ITEM_FIRSTCONVERT], chrPtr,(LONG*) &ulSize, 0L, 0L); 2633 *( chrPtr + ulSize ) = (CHAR)NULL; 2637 if(mmioGetFormatName(&g_pmmFormatInfoArray[ulMenuId-ID_ITEM_FIRSTCONVERT], chrPtr,(LONG*) &ulSize, 0L, 0L)) 2638 SysWriteToTrapLog("cwaudio_wpMenuItemSelected: %s\n\n", chrPtr); 2639 else 2640 *( chrPtr + ulSize ) = (CHAR)NULL; 2634 2641 strcat(chrPtr,"\""); 2635 2642 … … 3220 3227 for ( index = 0; index <lNumIOProcs; index++ ) 3221 3228 { 3222 mmioGetFormatName(pmmFormatInfoArray, szBuffer, &lBytesRead, 0L, 0L); 3223 3229 if(mmioGetFormatName(pmmFormatInfoArray, szBuffer, &lBytesRead, 0L, 0L)) 3230 { 3231 //SysWriteToTrapLog("checkForWriteEnabledAudioIOProc: %s\n\n", szBuffer); 3232 continue; 3233 } 3234 3224 3235 /* Insert NULL string terminator */ 3225 3236 *( szBuffer + lBytesRead ) = (CHAR)NULL;
Note:
See TracChangeset
for help on using the changeset viewer.