Changeset 104 for trunk/classes/mm-progs/MMPlayer/display.c
- Timestamp:
- Oct 2, 2023, 11:34:35 PM (23 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to
/branches/v2.9 merged eligible /branches/v2.9_Lars merged eligible
-
Property svn:mergeinfo
set to
-
trunk/classes/mm-progs/MMPlayer/display.c
r2 r104 21 21 * If you need another license for your project/product (commercial, 22 22 * noncommercial, whatever) contact me at 23 * 23 * 24 24 * http://www.os2world.com/cdwriting 25 25 * http://www.geocities.com/SiliconValley/Sector/5785/ … … 42 42 #include <stdio.h> 43 43 #include <stdlib.h> 44 #include <string.h> 44 45 45 46 /* 0: time, 1: remaining, 2: filename */ … … 88 89 89 90 90 /* This fun ktion sets the playtime display according to the user settings.91 /* This function sets the playtime display according to the user settings. 91 92 Supported are remaining time, elapsed time and ID3-tag display */ 92 void setPlayTimeText( hwndFrame)93 void setPlayTimeText(HWND hwndFrame) 93 94 { 94 95 char text[CCHMAXPATH]; … … 112 113 /* Show filename */ 113 114 text[0]=0; 114 115 115 116 if(ulTemp>=3) 116 117 text[0]=0; 117 118 else if(ulTemp>=0) 118 119 strcpy(text, chrPtrName); 119 120 120 121 #if 0 121 122 else 122 123 ulTemp=15; /* Show playtime for midi files */ 123 124 #endif 124 125 125 126 if(ulTemp>=3||!strlen(text)) { 126 127 /* Play time */ … … 135 136 ulDisplayTimer=ulTemp; 136 137 break; 137 138 138 139 #if 0 139 140 /* Show ID3 tag */ … … 149 150 if(ulTemp>=15) 150 151 text[0]=0; 151 else if(ulTemp>=12) 152 else if(ulTemp>=12) 152 153 methodPtr(cwAudio, &chrPtr, sizeof(text), IDINFO_GENRE); 153 154 else if(ulTemp>=9) … … 162 163 else 163 164 ulTemp=15; /* Show playtime for midi files */ 164 165 165 166 if(ulTemp>=15||!strlen(text)) { 166 167 /* Play time */
Note:
See TracChangeset
for help on using the changeset viewer.