Changeset 253 for OCO/trunk/drv16/waveplay.cpp
- Timestamp:
- Sep 19, 2007, 8:05:49 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.