Changeset 535 for GPL/trunk/lib32/sound.c
- Timestamp:
- Aug 8, 2010, 5:35:47 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/lib32/sound.c
r530 r535 1322 1322 OSSRET OSS32_WaveGetStatus(ULONG streamid, ULONG *pStatus) 1323 1323 { 1324 struct snd_pcm_status status; 1324 1325 soundhandle *pHandle = (soundhandle *)streamid; 1325 struct snd_pcm_status status;1326 1326 int ret; 1327 1327 … … 1340 1340 //Get the status of the stream 1341 1341 ret = pHandle->file.f_op->ioctl(&pHandle->inode, &pHandle->file, SNDRV_PCM_IOCTL_STATUS, (ULONG)__Stack32ToFlat(&status)); 1342 1343 if(ret) { 1344 DebugInt3(); 1345 return UNIXToOSSError(ret); 1346 } 1347 1342 if(ret) return UNIXToOSSError(ret); 1348 1343 *pStatus = status.state; 1344 1349 1345 return OSSERR_SUCCESS; 1350 1346 }
Note:
See TracChangeset
for help on using the changeset viewer.