OROCHI
Loading...
Searching...
No Matches
GxSound.h
Go to the documentation of this file.
1
//===========================================================================
10
//===========================================================================
11
#pragma once
12
13
//---------------------------------------------------------------------------
14
// ネームスペースマクロ
15
//---------------------------------------------------------------------------
16
#define GX_SOUND_NAMESPACE_BEGIN() namespace gx { namespace sound {
17
#define GX_SOUND_NAMESPACE_END() } }
18
19
#include "
Gx.h
"
20
using namespace
::gx::core;
21
22
#define USE_GXSOUND 0
23
24
//---------------------------------------------------------------------------
25
// 関数
26
//---------------------------------------------------------------------------
27
GX_SOUND_NAMESPACE_BEGIN()
28
29
30
extern
void
GxSoundUsage
(
void
);
31
32
GX_SOUND_NAMESPACE_END()
33
34
#if GX_EVALUATION
35
#define PLATFORM_WWISE_SUPPORT 0
36
#define PLATFORM_ADX_SUPPORT 0
37
#endif
//GX_EVALUATION
38
39
#if defined(_WINDOWS) || defined(_XBOX_XS)
40
#include <xaudio2.h>
41
#include <xaudio2fx.h>
42
#include <xapofx.h>
43
#include <x3daudio.h>
44
#endif
//_WINDOWS || _XBOX_XS
45
#include "
GxSysSound.h
"
46
#include "
GxResSound.h
"
47
#include "
GxUnitSound.h
"
48
#include "
GxUnitSoundInteractive.h
"
49
50
//---------------------------------------------------------------------------
51
// ADX関連
52
//---------------------------------------------------------------------------
53
#if !defined(PLATFORM_ADX_SUPPORT)
54
#if defined(_WINDOWS) || defined(_PS4) || defined(_PS5) || defined(_NX64) || defined(_XBOX_XS)
55
#define PLATFORM_ADX_SUPPORT 1
56
#else
//(_WINDOWS || _PS4 || _PS5 || _NX64 || _XBOX_XS)
57
#define PLATFORM_ADX_SUPPORT 0
58
#endif
// !(_WINDOWS || _PS4 || _PS5 || _NX64 || _XBOX_XS)
59
#endif
// !PLATFORM_ADX_SUPPORT
60
61
#if PLATFORM_ADX_SUPPORT
62
// CRIのハンドル系はポインタになっている
63
#define GX_CRI_HANDLE u64
64
65
#define GX_CRI_PLAYBACK_ID u32
//CriAtomExPlaybackId
66
#define GX_CRI_CUE_ID s32
//CriAtomExCueId
67
68
#include "Adx2/GxCriAdx2Player.h"
69
#include "Adx2/GxSysCriAdx2.h"
70
#include "Adx2/GxResCriAtomConfiguration.h"
71
#include "Adx2/GxResCriAtomCueSheetBinary.h"
72
#include "Adx2/GxResCriAtomWaveBank.h"
73
#include "Adx2/GxUnitCriAtomStream.h"
74
#endif
//PLATFORM_ADX_SUPPORT
75
76
//---------------------------------------------------------------------------
77
// wWise関連
78
//---------------------------------------------------------------------------
79
#if !defined(PLATFORM_WWISE_SUPPORT)
80
#if defined(_WINDOWS) || defined(_PS4) || defined(_PS5) || defined(_NX64) || defined(_XBOX_XS)
81
#define PLATFORM_WWISE_SUPPORT 1
82
#else
//_WINDOWS || _PS4 || _PS5 || _NX64 || _XBOX_XS
83
#define PLATFORM_WWISE_SUPPORT 0
84
#endif
// !(_WINDOWS || _PS4 || _PS5 || _NX64 || _XBOX_XS)
85
#endif
// !PLATFORM_WWISE_SUPPORT
86
87
#if PLATFORM_WWISE_SUPPORT
88
#if defined(_WINDOWS) || defined(_XBOX_XS)
89
#pragma warning(push)
90
#pragma warning(disable:4100)
// warning: 引数は関数の本体部で1度も参照されません
91
#pragma warning(disable:4819)
// warning: ファイルをUnicode形式で保存してください
92
#endif
//_WINDOWS || _XBOX_XS
93
#include <AK/SoundEngine/Common/AkTypes.h>
94
#include <AK/SoundEngine/Common/AkMemoryMgr.h>
95
#include <AK/SoundEngine/Common/AkModule.h>
96
#include <AK/SoundEngine/Common/IAkStreamMgr.h>
97
#include <AK/SoundEngine/Common/AkSoundEngine.h>
98
#include <AK/MusicEngine/Common/AkMusicEngine.h>
99
#include <AK/SoundEngine/Common/AkStreamMgrModule.h>
100
#include <AK/SpatialAudio/Common/AkSpatialAudio.h>
101
#include <AK/SoundEngine/Common/AkCallback.h>
102
#include <AK/Comm/AkCommunication.h>
103
#if defined(_WINDOWS) || defined(_XBOX_XS)
104
#pragma warning(pop)
105
#endif
//_WINDOWS || _XBOX_XS
106
#include "wWise/GxSysSoundWWise.h"
107
#include "wWise/GxResWWiseBank.h"
108
#include "wWise/GxUnitSoundWWise.h"
109
#endif
//PLATFORM_WWISE_SUPPORT
Gx.h
コアインクルードヘッダ
GxResSound.h
サウンドリソースクラス
GxSoundUsage
void GxSoundUsage(void)
最適化で消されないためのusage呼び出し
Definition
GxSound.cpp:18
GxSysSound.h
サウンドシステムクラス
GxUnitSound.h
サウンド再生ユニット
GxUnitSoundInteractive.h
インタラクティブサウンド再生ユニット
middleware
GxSound
src
GxSound.h
Generated by
1.12.0