Changeset 253
- Timestamp:
- Sep 19, 2007, 8:05:49 AM (18 years ago)
- Location:
- OCO/trunk/drv16
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
OCO/trunk/drv16/strategy.cpp
r221 r253 82 82 extern "C" char szAZX[]; 83 83 84 #ifdef ENABLE_HW_CERTIFICATION 84 85 static char *pszIntelICH = (char *)szINTEL_ICH; 85 86 #if 0 // fixme to be gone … … 112 113 static char *pszBT87X = (char *)szBT87X; 113 114 static char *pszAZX = (char *)szAZX; 115 #endif /* ENABLE_HW_CERTIFICATION */ 114 116 115 117 BOOL fNoHardware = FALSE; … … 186 188 } 187 189 188 /* skip sertifying crap */ 189 190 return TRUE; 190 #ifdef ENABLE_HW_CERTIFICATION 191 191 192 //Check for certified audiocard/chipsets 192 193 if(!xorstrncmp(devCaps[0].szDeviceName, pszIntelICH, 6) || … … 311 312 goto failure; 312 313 } 314 #endif /* ENABLE_HW_CERTIFICATION */ 313 315 return TRUE; 314 316 -
OCO/trunk/drv16/waveplay.cpp
r252 r253 127 127 #endif // fixme to be gone? 128 128 { 129 //if(devCaps[ulDeviceNr].waveOutCaps.nrStreams > 1) 130 if (0) 129 130 /* Setting DISABLE_STREAM_REUSE will close the open stream here. */ 131 /* If left unset, the idea is the open stream will be reused instead. */ 132 /* FIXME: Does it make sense that a Close function does not close */ 133 /* anything? */ 134 #ifdef DISABLE_STREAM_REUSE 135 if(devCaps[ulDeviceNr].waveOutCaps.nrStreams > 1) 131 136 { 132 137 if (OSS16_WaveClose(StreamIdl) == OSSERR_SUCCESS) … … 139 144 return FALSE; 140 145 } 141 //else don't close stream; reuse it instead 146 else 147 #else /* !DISABLE_STREAM_REUSE */ 148 if (StreamIdl == NULL) 149 return FALSE; 150 #endif /* DISABLE_STREAM_REUSE */ 142 151 return TRUE; 143 152 }
Note:
See TracChangeset
for help on using the changeset viewer.