Ignore:
Timestamp:
May 28, 2000, 6:50:46 PM (25 years ago)
Author:
sandervl
Message:

update

File:
1 edited

Legend:

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

    r148 r151  
    7171                ULONG   volume;
    7272        } mixer;
     73        struct {
     74                ULONG   streamtype;
     75                ULONG   streamid;
     76                ULONG   midiByte;
     77        } midiwrite;
     78        struct {
     79                ULONG   streamtype;
     80                ULONG   streamid;
     81                ULONG   buffer;
     82                ULONG   bufsize;
     83        } midiread;
    7384        struct {
    7485                ULONG   param1;
     
    121132#define IDC32_STREAM_IOCTL              10
    122133#define IDC32_STREAM_MIXER              11
     134#define IDC32_MIDI_WRITE                12
     135#define IDC32_MIDI_READ                 13
    123136
    124137#define MIX_SETMASTERVOL                0
     
    164177#define IDC16_VMFREE                    11
    165178#define IDC16_PROCESS                   12
     179
     180#define IDC16_WAVEIN_IRQ                0
     181#define IDC16_WAVEOUT_IRQ               1
     182#define IDC16_MIDI_IRQ                  2
    166183
    167184#define MAX_RES_IRQ     2
     
    237254ULONG OSS32_StreamAddBuffer(ULONG streamtype, ULONG streamid, ULONG buffer, ULONG size);
    238255ULONG OSS32_SetVolume(ULONG streamtype, ULONG streamid, ULONG cmd, ULONG volume);
     256ULONG OSS32_StreamMidiWrite(ULONG streamid, ULONG midiByte);
     257ULONG OSS32_StreamMidiRead(ULONG streamid, char NEAR *buffer, ULONG bufsize);
    239258
    240259//Sets file id in current task structure
     
    263282} MIDITYPE;
    264283ULONG OSS16_OpenMidiStream(MIDITYPE midiType);
    265 void OSS16_CloseMidiStream(MIDITYPE midiType, ULONG streamid);
     284void  OSS16_CloseMidiStream(MIDITYPE midiType, ULONG streamid);
     285BOOL  OSS16_WriteMidiByte(ULONG streamid, BYTE midiByte);
     286int   OSS16_ReadMidiBytes(ULONG streamid, char far *buffer, int bufsize);
    266287
    267288#endif //TARGET_OS216
Note: See TracChangeset for help on using the changeset viewer.