Ignore:
Timestamp:
Oct 6, 2008, 10:00:13 PM (17 years ago)
Author:
rjerant
Message:

Add OSS32_WaveGetHwPtr() to sound.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-2.0/drv32/idc.c

    r265 r386  
    137137  }
    138138
    139   case IDC32_WAVE_SETVOLUME:
     139      case IDC32_WAVE_GETHWPTR:
     140  {
     141       ULONG position = 0;
     142       rc = OSS32_WaveGetHwPtr(pPacket->streamid, &position);
     143       pPacket->getpos.position = position;
     144       return rc;
     145  }
     146
     147    case IDC32_WAVE_SETVOLUME:
    140148       return OSS32_WaveSetVolume(pPacket->streamid, pPacket->setwavevol.volume);
    141149
Note: See TracChangeset for help on using the changeset viewer.