sound.lib: SetTimeBase() & GetTimeStamp()

git-svn-id: svn://kolibrios.org@1691 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2010-11-07 10:04:15 +00:00
parent d80f7d849a
commit 20515d609d
3 changed files with 11 additions and 0 deletions

View File

@ -30,6 +30,9 @@ SND_SETPAN equ 14
SND_GETPAN equ 15 SND_GETPAN equ 15
SND_GETBUFFSIZE equ 16 SND_GETBUFFSIZE equ 16
SND_GETFREESPACE equ 17 SND_GETFREESPACE equ 17
SND_SETTIMEBASE equ 18
SND_GETTIMESTAMP equ 19
DEV_SET_BUFF equ 4 DEV_SET_BUFF equ 4
DEV_NOTIFY equ 5 DEV_NOTIFY equ 5

View File

@ -71,6 +71,9 @@ extern "C"
#define SND_GETPAN 15 #define SND_GETPAN 15
#define SND_GETBUFFSIZE 16 #define SND_GETBUFFSIZE 16
#define SND_GETFREESPACE 17 #define SND_GETFREESPACE 17
#define SND_SETTIMEBASE 18
#define SND_GETTIMESTAMP 19
#define PLAY_SYNC 0x80000000 #define PLAY_SYNC 0x80000000
@ -104,6 +107,9 @@ int _stdcall GetPan(SNDBUF hBuff, int *pan);
int _stdcall GetMasterVol(int* vol); int _stdcall GetMasterVol(int* vol);
int _stdcall SetMasterVol(int vol); int _stdcall SetMasterVol(int vol);
int _stdcall SetTimeBase(SNDBUF hBuff, double base);
int _stdcall GetTimeStamp(SNDBUF hBuff, double *stamp);
typedef struct typedef struct
{ {

View File

@ -30,6 +30,8 @@ SND_SETPAN equ 14
SND_GETPAN equ 15 SND_GETPAN equ 15
SND_GETBUFFSIZE equ 16 SND_GETBUFFSIZE equ 16
SND_GETFREESPACE equ 17 SND_GETFREESPACE equ 17
SND_SETTIMEBASE equ 18
SND_GETTIMESTAMP equ 19
DEV_SET_BUFF equ 4 DEV_SET_BUFF equ 4
DEV_NOTIFY equ 5 DEV_NOTIFY equ 5