Changeset 390 for GPL/trunk/include


Ignore:
Timestamp:
Oct 8, 2008, 7:52:36 PM (17 years ago)
Author:
rjerant
Message:

Port OSS32_WaveGetHwPtr() to Uniaud32 1.1.4 from Uniaud32 2.0

Location:
GPL/trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/include/ossidc.h

    r265 r390  
    3939
    4040//IDC communication packet
    41 typedef struct 
     41typedef struct
    4242{
    4343  OSSSTREAMID streamid; //IN:  stream id
     
    164164#define IDC32_WAVE_GETPOS               0x1B
    165165#define IDC32_WAVE_SETVOLUME            0x1C
     166#define IDC32_WAVE_GETHWPTR             0x1D
    166167
    167168#define IDC32_MIXER_OPEN                0x20
     
    278279
    279280
    280 typedef struct 
     281typedef struct
    281282{
    282283    char  name[SIZE_DEVICE_NAME];
     
    287288
    288289#define SIZE_DEVICE_NAME            32
    289 typedef struct 
     290typedef struct
    290291{
    291292    ULONG nrchannels;
     
    367368typedef struct {
    368369    ULONG  nrStreams;            //nr of activate wave streams supported
    369     ULONG  ulMinChannels;        //min nr of channels 
    370     ULONG  ulMaxChannels;        //max nr of channels 
     370    ULONG  ulMinChannels;        //min nr of channels
     371    ULONG  ulMaxChannels;        //max nr of channels
    371372    ULONG  ulChanFlags;          //channel flags
    372373    ULONG  ulMinRate;            //min sample rate
  • GPL/trunk/include/ossidc32.h

    r265 r390  
    5858OSSRET OSS32_WaveGetPosition(OSSSTREAMID streamid, ULONG *pPosition);
    5959OSSRET OSS32_WaveGetSpace(OSSSTREAMID streamid, ULONG *pBytesAvail);
     60OSSRET OSS32_WaveGetHwPtr(OSSSTREAMID streamid, ULONG *pBytesAvail);
    6061OSSRET OSS32_WaveSetVolume(OSSSTREAMID streamid, ULONG volume);
    6162
Note: See TracChangeset for help on using the changeset viewer.