[go: up one dir, main page]

File: XAPOFX.h

package info (click to toggle)
faudio 21.02-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,576 kB
  • sloc: ansic: 25,642; cpp: 10,815; cs: 1,899; sh: 82; makefile: 21
file content (48 lines) | stat: -rw-r--r-- 1,008 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef FAUDIO_CPP_XAPOFX_H
#define FAUDIO_CPP_XAPOFX_H

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#if defined _WIN32 || defined __CYGWIN__
  #define DLLIMPORT __declspec(dllimport)
  #define DLLEXPORT __declspec(dllexport)
#else
  #if __GNUC__ >= 4
    #define DLLIMPORT __attribute__((visibility ("default")))
    #define DLLEXPORT __attribute__((visibility ("default")))
  #else
    #define DLLIMPORT
    #define DLLEXPORT
  #endif
#endif

#ifdef FAUDIOCPP_EXPORTS
#define FAPOFXCPP_API extern "C" DLLEXPORT HRESULT __cdecl
#else
#define FAPOFXCPP_API extern "C" DLLIMPORT HRESULT __cdecl
#endif

#ifndef XAPOFX_VERSION
#define XAPOFX_VERSION 5
#endif

#include <FAPOFX.h>

#if XAUDIO2_VERSION >=8
FAPOFXCPP_API CreateFX(
	REFCLSID clsid,
	IUnknown **pEffect,
	const void *pInitData,
	UINT32 InitDataByteSize
);
#else
FAPOFXCPP_API CreateFX(REFCLSID clsid, IUnknown **pEffect);
#endif // XAUDIO2_VERSION >=8

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* FAUDIO_CPP_XAPOFX_H */