Changeset 152 for sbliveos2/trunk/sblive/cardwo.c
- Timestamp:
- Jul 17, 2000, 8:37:33 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sbliveos2/trunk/sblive/cardwo.c
r142 r152 518 518 /* Save the stop position */ 519 519 emu10k1_voice_getcontrol(wave_out->voice, CCCA_CURRADDR, &wavexferbuf->stopposition); 520 521 520 wavexferbuf->stopposition -= wave_out->voice->params.start; 521 #ifdef TARGET_OS2 522 wavexferbuf->stopposition &= CCCA_CURRADDR_MASK; //SvL: mask off CCCA_8BITSELECT 523 #endif 522 524 523 525 /* Refer to voicemgr.c, CA is not started at zero. We need to take this into account. */ … … 721 723 722 724 emu10k1_voice_getcontrol(wave_out->voice, CCCA_CURRADDR, &curpos); 723 724 725 curpos -= wave_out->voice->params.start; 726 #ifdef TARGET_OS2 727 curpos &= CCCA_CURRADDR_MASK; //SvL: mask off CCCA_8BITSELECT 728 #endif 725 729 726 730 /* Get number of bytes in play buffer per channel.
Note:
See TracChangeset
for help on using the changeset viewer.