Subversion Repositories Kolibri OS

Rev

Rev 570 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 570 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
 
-
 
74
 
Line 73... Line 75...
73
#define PLAY_SYNC     0x80000000
75
#define PLAY_SYNC     0x80000000
Line 74... Line 76...
74
 
76
 
Line 85... Line 87...
85
int _stdcall  ResetBuffer(SNDBUF hBuff, unsigned int flags);
87
int _stdcall  ResetBuffer(SNDBUF hBuff, unsigned int flags);
86
int _stdcall  SetBufferPos(SNDBUF hBuff, int offset);
88
int _stdcall  SetBufferPos(SNDBUF hBuff, int offset);
87
int _stdcall  GetBufferPos(SNDBUF hBuff, int *offset);
89
int _stdcall  GetBufferPos(SNDBUF hBuff, int *offset);
88
int _stdcall  GetBufferSize(SNDBUF hBuff, int *size);
90
int _stdcall  GetBufferSize(SNDBUF hBuff, int *size);
-
 
91
int _stdcall  GetBufferFree(SNDBUF hBuff, int *free);
Line 89... Line 92...
89
 
92
 
90
int _stdcall  SetBuffer(SNDBUF hBuff,void* buff,
93
int _stdcall  SetBuffer(SNDBUF hBuff,void* buff,
91
                        int offs, int size);
94
                        int offs, int size);
92
int _stdcall  WaveOut(SNDBUF hBuff,void *buff, int size);
95
int _stdcall  WaveOut(SNDBUF hBuff,void *buff, int size);