Rev 550 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 550 | Rev 573 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | extern "C" |
5 | extern "C" |
6 | { |
6 | { |
7 | #endif |
7 | #endif |
8 | 8 | ||
Line 9... | Line 9... | ||
9 | #define SOUND_VERSION 0x0100 |
9 | #define SOUND_VERSION 0x0101 |
10 | #define PCM_ALL 0 |
10 | #define PCM_ALL 0 |
Line 11... | Line 11... | ||
11 | 11 | ||
12 | #define PCM_OUT 0x08000000 |
12 | #define PCM_OUT 0x08000000 |
13 | #define PCM_RING 0x10000000 |
13 | #define PCM_RING 0x10000000 |
Line 68... | Line 68... | ||
68 | #define SND_GETVOLUME 13 |
68 | #define SND_GETVOLUME 13 |
69 | #define SND_SETPAN 14 |
69 | #define SND_SETPAN 14 |
70 | #define SND_GETPAN 15 |
70 | #define SND_GETPAN 15 |
71 | #define SND_GETBUFFSIZE 16 |
71 | #define SND_GETBUFFSIZE 16 |
72 | 72 | #define SND_GETFREESPACE 17 |
|
- | 73 | ||
Line 73... | Line 74... | ||
73 | #define PLAY_SYNC 0x80000000 |
74 | #define PLAY_SYNC 0x80000000 |
Line 74... | Line 75... | ||
74 | 75 | ||
Line 85... | Line 86... | ||
85 | int _stdcall ResetBuffer(SNDBUF hBuff, unsigned int flags); |
86 | int _stdcall ResetBuffer(SNDBUF hBuff, unsigned int flags); |
86 | int _stdcall SetBufferPos(SNDBUF hBuff, int offset); |
87 | int _stdcall SetBufferPos(SNDBUF hBuff, int offset); |
87 | int _stdcall GetBufferPos(SNDBUF hBuff, int *offset); |
88 | int _stdcall GetBufferPos(SNDBUF hBuff, int *offset); |
88 | int _stdcall GetBufferSize(SNDBUF hBuff, int *size); |
89 | int _stdcall GetBufferSize(SNDBUF hBuff, int *size); |
- | 90 | int _stdcall GetBufferFree(SNDBUF hBuff, int *free); |
|
Line 89... | Line 91... | ||
89 | 91 | ||
90 | int _stdcall SetBuffer(SNDBUF hBuff,void* buff, |
92 | int _stdcall SetBuffer(SNDBUF hBuff,void* buff, |
91 | int offs, int size); |
93 | int offs, int size); |
92 | int _stdcall WaveOut(SNDBUF hBuff,void *buff, int size); |
94 | int _stdcall WaveOut(SNDBUF hBuff,void *buff, int size); |