kopia lustrzana https://github.com/rs1729/RS
portaudio: ups... cdecl <-> WINAPIV
rodzic
5b56569cf3
commit
c70c7e8dbc
|
@ -144,11 +144,11 @@ typedef int PaStreamCallback(
|
|||
|
||||
// prototypes ( __cdecl -> WINAPIV* , __stdcall -> WINAPI*)
|
||||
|
||||
typedef int (WINAPI* t_Pa_Initialize)(void);
|
||||
typedef int (WINAPI* t_Pa_GetDefaultInputDevice)(void);
|
||||
typedef int (WINAPI* t_Pa_GetDeviceCount)(void);
|
||||
typedef int (WINAPIV* t_Pa_Initialize)(void);
|
||||
typedef int (WINAPIV* t_Pa_GetDefaultInputDevice)(void);
|
||||
typedef int (WINAPIV* t_Pa_GetDeviceCount)(void);
|
||||
|
||||
typedef PaDeviceInfo* (WINAPI* t_Pa_GetDeviceInfo)(PaDeviceIndex device);
|
||||
typedef PaDeviceInfo* (WINAPIV* t_Pa_GetDeviceInfo)(PaDeviceIndex device);
|
||||
|
||||
t_Pa_Initialize Pa_Initialize;
|
||||
t_Pa_GetDefaultInputDevice Pa_GetDefaultInputDevice;
|
||||
|
@ -156,13 +156,13 @@ t_Pa_GetDeviceCount Pa_GetDeviceCount;
|
|||
t_Pa_GetDeviceInfo Pa_GetDeviceInfo;
|
||||
|
||||
|
||||
typedef int (WINAPI* t_Pa_OpenStream)(PaStream**,PaStreamParameters*,PaStreamParameters*,double,
|
||||
typedef int (WINAPIV* t_Pa_OpenStream)(PaStream**,PaStreamParameters*,PaStreamParameters*,double,
|
||||
unsigned long,PaStreamFlags,PaStreamCallback*,void*);
|
||||
typedef int (WINAPI* t_Pa_StartStream)(PaStream *);
|
||||
typedef int (WINAPI* t_Pa_ReadStream)(PaStream*,void *,unsigned long);
|
||||
typedef int (WINAPI* t_Pa_CloseStream)(PaStream*);
|
||||
typedef int (WINAPI* t_Pa_Terminate)(void);
|
||||
typedef char* (WINAPI* t_Pa_GetErrorText)(PaError);
|
||||
typedef int (WINAPIV* t_Pa_StartStream)(PaStream *);
|
||||
typedef int (WINAPIV* t_Pa_ReadStream)(PaStream*,void *,unsigned long);
|
||||
typedef int (WINAPIV* t_Pa_CloseStream)(PaStream*);
|
||||
typedef int (WINAPIV* t_Pa_Terminate)(void);
|
||||
typedef char* (WINAPIV* t_Pa_GetErrorText)(PaError);
|
||||
|
||||
t_Pa_OpenStream Pa_OpenStream;
|
||||
t_Pa_StartStream Pa_StartStream;
|
||||
|
|
Ładowanie…
Reference in New Issue