Changeset 82
- Timestamp:
- Sep 13, 2006, 10:19:27 PM (19 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/include/version.mak
r80 r82 11 11 BLDLVL_REVISION = 1.1 12 12 BLDLVL_FILEVER = 4 13 BLDLVL_DATETIME = 29.08.2006 22:06:3213 BLDLVL_DATETIME = 10.09.2006 17:47:50 14 14 BLDLVL_MACHINE = VLAD -
GPL/trunk/lib32/sound.c
r77 r82 534 534 printk("OSS32_WaveOpen: cp1\n"); 535 535 ret = alsa_fops->open(&pHandle->inode, &pHandle->file); 536 printk("OSS32_WaveOpen : cp2\n");536 printk("OSS32_WaveOpen. ret: %i\n", ret); 537 537 /* check if PCM already opened (stupid uniaud16.sys doesnt closes it) */ 538 538 if (ret == -16) 539 539 { 540 kfree(pHandle);541 540 for (i=0; i < 8*256; i++) 542 541 { … … 545 544 if (pStreamId) 546 545 *pStreamId = (ULONG)opened_handles[i].handle; 547 opened_handles[i].reuse = 1; 548 printk("OSS32_WaveOpen. Reuse streamid %X\n",(ULONG)opened_handles[i].handle); 549 return OSSERR_SUCCESS; 546 opened_handles[i].reuse = 0; /* prevent from reusing */ 547 if (OSS32_WaveClose((OSSSTREAMID)opened_handles[i].handle) == 0) 548 { 549 OSS32_CloseUNI16(); /* say to UNIAUD16 that we closing now */ 550 opened_handles[i].handle = 0; 551 ret = alsa_fops->open(&pHandle->inode, &pHandle->file); 552 printk("OSS32_WaveOpen. Reopen ret: %i\n", ret); 553 break; 554 } 550 555 } 551 556 }
Note:
See TracChangeset
for help on using the changeset viewer.