diff --git a/.gitattributes b/.gitattributes
index 467d6642e..d5459c96f 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -52,4 +52,7 @@
*.bundle filter=lfs diff=lfs merge=lfs -text
*.engine filter=lfs diff=lfs merge=lfs -text
*.sbsar filter=lfs diff=lfs merge=lfs -text
-*.a filter=lfs diff=lfs merge=lfs -text
\ No newline at end of file
+*.a filter=lfs diff=lfs merge=lfs -text
+*AkSoundEngine filter=lfs diff=lfs merge=lfs -text
+*AkWaapiClient filter=lfs diff=lfs merge=lfs -text
+*.ilk filter=lfs diff=lfs merge=lfs -text
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 9f4415dfa..9a8f469c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,9 @@
/[Mm]emoryCaptures/
/Recordings/
+# Wwise profiling sessions
+*.prof
+
# Asset meta data should only be ignored when the corresponding asset is also ignored
!/[Aa]ssets/**/*.meta
diff --git a/.idea/.idea.Aetheria-Economy/.idea/contentModel.xml b/.idea/.idea.Aetheria-Economy/.idea/contentModel.xml
index 8411c1a2b..2d45a5a87 100644
--- a/.idea/.idea.Aetheria-Economy/.idea/contentModel.xml
+++ b/.idea/.idea.Aetheria-Economy/.idea/contentModel.xml
@@ -2144,6 +2144,9 @@
+
+
+
@@ -2172,6 +2175,330 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/.idea.Aetheria-Economy/.idea/indexLayout.xml b/.idea/.idea.Aetheria-Economy/.idea/indexLayout.xml
index 1667e6372..a438db0ef 100644
--- a/.idea/.idea.Aetheria-Economy/.idea/indexLayout.xml
+++ b/.idea/.idea.Aetheria-Economy/.idea/indexLayout.xml
@@ -29,6 +29,7 @@
.git
.idea
.vs
+ Aetheria-Economy_WwiseProject
Asset Sources
Build
Builds
diff --git a/Aetheria-Economy.sln b/Aetheria-Economy.sln
index 97736c2c4..af86605f8 100644
--- a/Aetheria-Economy.sln
+++ b/Aetheria-Economy.sln
@@ -15,10 +15,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Substance.EditorHelper", "S
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Substance.Platform", "Substance.Platform.csproj", "{2ca9591a-f6e2-fafd-e598-0f0563c5ae57}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp-Editor-firstpass", "Assembly-CSharp-Editor-firstpass.csproj", "{b813e4c7-10f6-4f4d-0de5-991510834dc3}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp-Editor", "Assembly-CSharp-Editor.csproj", "{a7fc89e3-14ca-fb82-7d67-c13788bee74a}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp-Editor-firstpass", "Assembly-CSharp-Editor-firstpass.csproj", "{b813e4c7-10f6-4f4d-0de5-991510834dc3}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -53,14 +53,14 @@ Global
{2ca9591a-f6e2-fafd-e598-0f0563c5ae57}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2ca9591a-f6e2-fafd-e598-0f0563c5ae57}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2ca9591a-f6e2-fafd-e598-0f0563c5ae57}.Release|Any CPU.Build.0 = Release|Any CPU
- {b813e4c7-10f6-4f4d-0de5-991510834dc3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {b813e4c7-10f6-4f4d-0de5-991510834dc3}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {b813e4c7-10f6-4f4d-0de5-991510834dc3}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {b813e4c7-10f6-4f4d-0de5-991510834dc3}.Release|Any CPU.Build.0 = Release|Any CPU
{a7fc89e3-14ca-fb82-7d67-c13788bee74a}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{a7fc89e3-14ca-fb82-7d67-c13788bee74a}.Debug|Any CPU.Build.0 = Debug|Any CPU
{a7fc89e3-14ca-fb82-7d67-c13788bee74a}.Release|Any CPU.ActiveCfg = Release|Any CPU
{a7fc89e3-14ca-fb82-7d67-c13788bee74a}.Release|Any CPU.Build.0 = Release|Any CPU
+ {b813e4c7-10f6-4f4d-0de5-991510834dc3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {b813e4c7-10f6-4f4d-0de5-991510834dc3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {b813e4c7-10f6-4f4d-0de5-991510834dc3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {b813e4c7-10f6-4f4d-0de5-991510834dc3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/Aetheria-Economy_WwiseProject/.cache/CacheVersion b/Aetheria-Economy_WwiseProject/.cache/CacheVersion
new file mode 100644
index 000000000..f75a6a499
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/CacheVersion differ
diff --git a/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/Wwise.dat b/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/Wwise.dat
new file mode 100644
index 000000000..4c92b5a21
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/Wwise.dat differ
diff --git a/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/blip1_10C4C929.wem b/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/blip1_10C4C929.wem
new file mode 100644
index 000000000..4d09f43c1
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/blip1_10C4C929.wem differ
diff --git a/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/blip2_10C4C929.wem b/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/blip2_10C4C929.wem
new file mode 100644
index 000000000..1772f5821
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/blip2_10C4C929.wem differ
diff --git a/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/equip_10C4C929.wem b/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/equip_10C4C929.wem
new file mode 100644
index 000000000..9c481a7c9
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/equip_10C4C929.wem differ
diff --git a/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/pickup_10C4C929.wem b/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/pickup_10C4C929.wem
new file mode 100644
index 000000000..f2fcaffc0
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/pickup_10C4C929.wem differ
diff --git a/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/putdown_10C4C929.wem b/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/putdown_10C4C929.wem
new file mode 100644
index 000000000..e4aab8409
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/putdown_10C4C929.wem differ
diff --git a/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/unequip_10C4C929.wem b/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/unequip_10C4C929.wem
new file mode 100644
index 000000000..65448a6ad
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/Mac/SFX/unequip_10C4C929.wem differ
diff --git a/Aetheria-Economy_WwiseProject/.cache/SoundBankInfoCache.dat b/Aetheria-Economy_WwiseProject/.cache/SoundBankInfoCache.dat
new file mode 100644
index 000000000..93fe8a867
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/SoundBankInfoCache.dat differ
diff --git a/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/Wwise.dat b/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/Wwise.dat
new file mode 100644
index 000000000..4c92b5a21
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/Wwise.dat differ
diff --git a/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/blip1_10C4C929.wem b/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/blip1_10C4C929.wem
new file mode 100644
index 000000000..4d09f43c1
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/blip1_10C4C929.wem differ
diff --git a/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/blip2_10C4C929.wem b/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/blip2_10C4C929.wem
new file mode 100644
index 000000000..1772f5821
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/blip2_10C4C929.wem differ
diff --git a/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/equip_10C4C929.wem b/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/equip_10C4C929.wem
new file mode 100644
index 000000000..9c481a7c9
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/equip_10C4C929.wem differ
diff --git a/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/pickup_10C4C929.wem b/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/pickup_10C4C929.wem
new file mode 100644
index 000000000..f2fcaffc0
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/pickup_10C4C929.wem differ
diff --git a/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/putdown_10C4C929.wem b/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/putdown_10C4C929.wem
new file mode 100644
index 000000000..e4aab8409
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/putdown_10C4C929.wem differ
diff --git a/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/unequip_10C4C929.wem b/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/unequip_10C4C929.wem
new file mode 100644
index 000000000..65448a6ad
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/.cache/Windows/SFX/unequip_10C4C929.wem differ
diff --git a/Aetheria-Economy_WwiseProject/Actor-Mixer Hierarchy/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Actor-Mixer Hierarchy/Default Work Unit.wwu
new file mode 100644
index 000000000..065b71665
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Actor-Mixer Hierarchy/Default Work Unit.wwu
@@ -0,0 +1,163 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SFX
+ blip1.wav
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SFX
+ blip2.wav
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SFX
+ equip.wav
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SFX
+ mouseover.wav
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SFX
+ pickup.wav
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SFX
+ putdown.wav
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SFX
+ unequip.wav
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Aetheria-Economy_WwiseProject.rwvens.validationcache b/Aetheria-Economy_WwiseProject/Aetheria-Economy_WwiseProject.rwvens.validationcache
new file mode 100644
index 000000000..e0fe14e16
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Aetheria-Economy_WwiseProject.rwvens.validationcache
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Aetheria-Economy_WwiseProject.rwvens.wsettings b/Aetheria-Economy_WwiseProject/Aetheria-Economy_WwiseProject.rwvens.wsettings
new file mode 100644
index 000000000..9c621a178
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Aetheria-Economy_WwiseProject.rwvens.wsettings
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ GeneratedSoundBanks\Mac\
+ GeneratedSoundBanks\Windows\
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ GeneratedSoundBanks\Mac\
+ GeneratedSoundBanks\Windows\
+
+
+
+
+ Copy Streamed Files
+ Copy Streamed Files
+
+
+
+
+ "$(CopyStreamedFilesExePath)" -info "$(InfoFilePath)" -outputpath "$(SoundBankPath)" -banks "$(SoundBankListAsTextFile)" -languages "$(LanguageList)"
+ "$(CopyStreamedFilesExePath)" -info "$(InfoFilePath)" -outputpath "$(SoundBankPath)" -banks "$(SoundBankListAsTextFile)" -languages "$(LanguageList)"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Aetheria-Economy_WwiseProject.wproj b/Aetheria-Economy_WwiseProject/Aetheria-Economy_WwiseProject.wproj
new file mode 100644
index 000000000..a55fcba31
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Aetheria-Economy_WwiseProject.wproj
@@ -0,0 +1,9780 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ GeneratedSoundBanks\Mac\
+ GeneratedSoundBanks\Windows\
+
+
+
+
+
+ GeneratedSoundBanks\Mac\
+ GeneratedSoundBanks\Windows\
+
+
+
+
+ Copy Streamed Files
+ Copy Streamed Files
+
+
+
+
+ "$(CopyStreamedFilesExePath)" -info "$(InfoFilePath)" -outputpath "$(SoundBankPath)" -banks "$(SoundBankListAsTextFile)" -languages "$(LanguageList)"
+ "$(CopyStreamedFilesExePath)" -info "$(InfoFilePath)" -outputpath "$(SoundBankPath)" -banks "$(SoundBankListAsTextFile)" -languages "$(LanguageList)"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 8
+
+
+
+
+ 0
+
+
+
+
+ -0.001
+
+
+
+
+ -0.001
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ -0.001
+
+
+
+
+ -0.001
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 12
+
+
+
+
+ False
+
+
+
+
+ 20
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 2
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ False
+
+
+
+
+ 65535
+
+
+
+
+ 127
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 60
+
+
+
+
+ 0
+
+
+
+
+ 127
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ 50
+
+
+
+
+ False
+
+
+
+
+ -10
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ False
+
+
+
+
+ 512
+
+
+
+
+ -50
+
+
+
+
+ -30
+
+
+
+
+ -40
+
+
+
+
+ 0
+
+
+
+
+ 24024
+
+
+
+
+ 0
+
+
+
+
+ 8
+
+
+
+
+ English(US)
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 256
+
+
+
+
+
+
+
+
+
+ 50
+
+
+
+
+ 100
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+
+ True
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ -80
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 64
+
+
+
+
+ 1.5
+
+
+
+
+ 2
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 64
+
+
+
+
+ 64
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0.1
+
+
+
+
+ 4
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 4
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 12
+
+
+
+
+ False
+
+
+
+
+ 20
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ False
+
+
+
+
+ 65535
+
+
+
+
+ 127
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 60
+
+
+
+
+ 0
+
+
+
+
+ 127
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ False
+
+
+
+
+ -10
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 12
+
+
+
+
+ False
+
+
+
+
+ 20
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ False
+
+
+
+
+ 65535
+
+
+
+
+ 127
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 60
+
+
+
+
+ 0
+
+
+
+
+ 127
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+ 2
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 1
+
+
+
+
+ 50
+
+
+
+
+ False
+
+
+
+
+ -10
+
+
+
+
+ True
+
+
+
+
+ 1
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 3
+
+
+
+
+ 9
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 12
+
+
+
+
+ False
+
+
+
+
+ 20
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ False
+
+
+
+
+ 65535
+
+
+
+
+ 127
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 60
+
+
+
+
+ 0
+
+
+
+
+ 127
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ False
+
+
+
+
+ -10
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+
+
+
+
+ 1000
+
+
+
+
+ 5000
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 35
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 1
+
+
+
+
+ True
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 3
+
+
+
+
+ 64
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 3
+
+
+
+
+ 64
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 100
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 100
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ -96
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ 100
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ 50
+
+
+
+
+ 50
+
+
+
+
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 4000
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 12
+
+
+
+
+ False
+
+
+
+
+ 20
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 1
+
+
+
+
+ 50
+
+
+
+
+ False
+
+
+
+
+ -10
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ 120
+
+
+
+
+ 4
+
+
+
+
+ 4
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 12
+
+
+
+
+ False
+
+
+
+
+ 20
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 100
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 100
+
+
+
+
+ 50
+
+
+
+
+ False
+
+
+
+
+ -10
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 12
+
+
+
+
+ False
+
+
+
+
+ 20
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ False
+
+
+
+
+ 65535
+
+
+
+
+ 127
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 60
+
+
+
+
+ 0
+
+
+
+
+ 127
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ False
+
+
+
+
+ -10
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ -1
+
+
+
+
+ 0
+
+
+
+
+ -1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 12
+
+
+
+
+ False
+
+
+
+
+ 20
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 1
+
+
+
+
+ 50
+
+
+
+
+ False
+
+
+
+
+ -10
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ 120
+
+
+
+
+ 4
+
+
+
+
+ 4
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 12
+
+
+
+
+ False
+
+
+
+
+ 20
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 1
+
+
+
+
+ 50
+
+
+
+
+ False
+
+
+
+
+ -10
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ 120
+
+
+
+
+ 4
+
+
+
+
+ 4
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 50
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 7
+
+
+
+
+
+
+
+
+
+ False
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ -6
+
+
+
+
+ 0
+
+
+
+
+ 90
+
+
+
+
+ 0
+
+
+
+
+ 245
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 100
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 100
+
+
+
+
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ True
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 8
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 100
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ 0.2
+
+
+
+
+ False
+
+
+
+
+ 0.2
+
+
+
+
+ 0.5
+
+
+
+
+ True
+
+
+
+
+ 100
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 1
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 1
+
+
+
+
+ 440
+
+
+
+
+ -12
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 1000
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1000
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ -12
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ -12
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 4
+
+
+
+
+ 6
+
+
+
+
+ 5
+
+
+
+
+ 100
+
+
+
+
+ 1000
+
+
+
+
+ 12000
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 1
+
+
+
+
+ 1
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0.5
+
+
+
+
+ 15
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 25
+
+
+
+
+
+
+
+
+ 0.1
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 1.5
+
+
+
+
+ 0.1
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0.1
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 3
+
+
+
+
+ 0.01
+
+
+
+
+ -40
+
+
+
+
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0.01
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 10
+
+
+
+
+ 0.1
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 13.62
+
+
+
+
+ 26.09
+
+
+
+
+ 26.55
+
+
+
+
+ 26.91
+
+
+
+
+ 28.04
+
+
+
+
+ 29.09
+
+
+
+
+ 29.9
+
+
+
+
+ 30.86
+
+
+
+
+ 15.66
+
+
+
+
+ 17.52
+
+
+
+
+ 19.02
+
+
+
+
+ 20.83
+
+
+
+
+ 22.6
+
+
+
+
+ 24.05
+
+
+
+
+ 24.78
+
+
+
+
+ 25.6
+
+
+
+
+ -96.3
+
+
+
+
+ 2
+
+
+
+
+ True
+
+
+
+
+ 8
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 4
+
+
+
+
+ -35
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 40
+
+
+
+
+ 1.2
+
+
+
+
+ 80
+
+
+
+
+ 50
+
+
+
+
+ 8
+
+
+
+
+ 2
+
+
+
+
+ 100
+
+
+
+
+ 15
+
+
+
+
+ 5
+
+
+
+
+ 66
+
+
+
+
+ -96.3
+
+
+
+
+ 0
+
+
+
+
+ -20
+
+
+
+
+ 23
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+ 0
+
+
+
+
+ 3
+
+
+
+
+ 1
+
+
+
+
+ 1
+
+
+
+
+ 1000
+
+
+
+
+ 0
+
+
+
+
+ 3
+
+
+
+
+ 1
+
+
+
+
+ 2
+
+
+
+
+ 10000
+
+
+
+
+ 0
+
+
+
+
+ 3
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 2.25
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ -96.3
+
+
+
+
+ -96.3
+
+
+
+
+ False
+
+
+
+
+ 25
+
+
+
+
+ 8
+
+
+
+
+ 0
+
+
+
+
+ -20
+
+
+
+
+ 100
+
+
+
+
+ 50
+
+
+
+
+ 100
+
+
+
+
+ 0.8
+
+
+
+
+ 0.1
+
+
+
+
+ 0
+
+
+
+
+ 180
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 5
+
+
+
+
+ 1
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ True
+
+
+
+
+ 50
+
+
+
+
+ 1
+
+
+
+
+ 50
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 100
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ 50
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 1000
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 1000
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 1000
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 1000
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 1000
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 1000
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 100
+
+
+
+
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ -48
+
+
+
+
+ False
+
+
+
+
+ 0.1
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 100
+
+
+
+
+ 0
+
+
+
+
+ 2048
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 100
+
+
+
+
+ 1
+
+
+
+
+ 50
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+ Recorder.wav
+
+
+
+
+ -3
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ True
+
+
+
+
+ -96.3
+
+
+
+
+ False
+
+
+
+
+ -3
+
+
+
+
+ -3
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 1000
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ -100
+
+
+
+
+ True
+
+
+
+
+ -12
+
+
+
+
+ 0.1
+
+
+
+
+ -12
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ -12
+
+
+
+
+ 0.1
+
+
+
+
+ -12
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 50
+
+
+
+
+ -96
+
+
+
+
+ 1000
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ 1000
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 1000
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1024
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 1000
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ -96
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ -6
+
+
+
+
+ 50
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ -6
+
+
+
+
+ 50
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ False
+
+
+
+
+ 0.01
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0.1
+
+
+
+
+ 0
+
+
+
+
+ 0.01
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0.1
+
+
+
+
+ 0
+
+
+
+
+ 0.01
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0.1
+
+
+
+
+ 0
+
+
+
+
+ 0.01
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 0.1
+
+
+
+
+ 0
+
+
+
+
+ 150
+
+
+
+
+ 1000
+
+
+
+
+ 6000
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ True
+
+
+
+
+ 5
+
+
+
+
+ 100
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ True
+
+
+
+
+ 3
+
+
+
+
+ 200
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ True
+
+
+
+
+ 3
+
+
+
+
+ 500
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ True
+
+
+
+
+ 4
+
+
+
+
+ 1000
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+ 3
+
+
+
+
+ 3000
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ False
+
+
+
+
+ 3
+
+
+
+
+ 6000
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 4
+
+
+
+
+
+
+
+
+ -12
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ False
+
+
+
+
+ True
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ False
+
+
+
+
+ 2
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+ 100
+
+
+
+
+ 50
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 0
+ 5
+
+
+ 100
+ -200
+ 37
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 0
+ 5
+
+
+ 100
+ 100
+ 37
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 0
+ 5
+
+
+ 100
+ 100
+ 37
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 0
+ 5
+
+
+ 100
+ -200
+ 37
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 0
+ 5
+
+
+ 100
+ 100
+ 37
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 0
+ 5
+
+
+ 100
+ 100
+ 37
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Attenuations/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Attenuations/Default Work Unit.wwu
new file mode 100644
index 000000000..8e8de78b8
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Attenuations/Default Work Unit.wwu
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Audio Devices/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Audio Devices/Default Work Unit.wwu
new file mode 100644
index 000000000..085dbb9d6
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Audio Devices/Default Work Unit.wwu
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Control Surface Sessions/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Control Surface Sessions/Default Work Unit.wwu
new file mode 100644
index 000000000..f5159ed83
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Control Surface Sessions/Default Work Unit.wwu
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Conversion Settings/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Conversion Settings/Default Work Unit.wwu
new file mode 100644
index 000000000..963e0c05b
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Conversion Settings/Default Work Unit.wwu
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+ 4
+ 4
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Conversion Settings/Factory Conversion Settings.wwu b/Aetheria-Economy_WwiseProject/Conversion Settings/Factory Conversion Settings.wwu
new file mode 100644
index 000000000..abd3bf396
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Conversion Settings/Factory Conversion Settings.wwu
@@ -0,0 +1,505 @@
+
+
+
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 3
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 3
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 0
+
+
+
+
+ 3
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Dynamic Dialogue/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Dynamic Dialogue/Default Work Unit.wwu
new file mode 100644
index 000000000..b68c2279a
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Dynamic Dialogue/Default Work Unit.wwu
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Effects/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Effects/Default Work Unit.wwu
new file mode 100644
index 000000000..7d5fd99bf
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Effects/Default Work Unit.wwu
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Effects/Factory Effects.wwu b/Aetheria-Economy_WwiseProject/Effects/Factory Effects.wwu
new file mode 100644
index 000000000..ac716afb9
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Effects/Factory Effects.wwu
@@ -0,0 +1,1990 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Events/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Events/Default Work Unit.wwu
new file mode 100644
index 000000000..92a60fa09
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Events/Default Work Unit.wwu
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Game Parameters/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Game Parameters/Default Work Unit.wwu
new file mode 100644
index 000000000..20b20621e
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Game Parameters/Default Work Unit.wwu
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/Init.bnk b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/Init.bnk
new file mode 100644
index 000000000..8bbaa2898
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/Init.bnk differ
diff --git a/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/Init.txt b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/Init.txt
new file mode 100644
index 000000000..bb5e1799d
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/Init.txt
@@ -0,0 +1,7 @@
+Audio Bus ID Name Wwise Object Path Notes
+ 3803692087 Master Audio Bus \Default Work Unit\Master Audio Bus
+
+Audio Devices ID Name Type Notes
+ 2317455096 No_Output No Output
+ 3859886410 System System
+
diff --git a/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/PluginInfo.xml b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/PluginInfo.xml
new file mode 100644
index 000000000..94d6f006f
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/PluginInfo.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/SoundbanksInfo.xml b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/SoundbanksInfo.xml
new file mode 100644
index 000000000..6ecb71560
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/SoundbanksInfo.xml
@@ -0,0 +1,75 @@
+
+
+
+ E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\
+ E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\.cache\Mac\
+ E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\GeneratedSoundBanks\Mac\
+
+ E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\GeneratedSoundBanks\Mac
+
+
+
+
+
+
+ Init
+ Init
+ Init.bnk
+
+
+ \SoundBanks\Default Work Unit\UI
+ UI
+ UI.bnk
+
+
+
+
+ putdown.wav
+ SFX\putdown_10C4C929.wem
+
+
+
+
+
+
+ equip.wav
+ SFX\equip_10C4C929.wem
+
+
+
+
+
+
+ pickup.wav
+ SFX\pickup_10C4C929.wem
+
+
+
+
+
+
+ blip2.wav
+ SFX\blip2_10C4C929.wem
+
+
+
+
+
+
+ blip1.wav
+ SFX\blip1_10C4C929.wem
+
+
+
+
+
+
+ unequip.wav
+ SFX\unequip_10C4C929.wem
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/UI.bnk b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/UI.bnk
new file mode 100644
index 000000000..bd4623e4d
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/UI.bnk differ
diff --git a/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/UI.txt b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/UI.txt
new file mode 100644
index 000000000..3af155dc0
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Mac/UI.txt
@@ -0,0 +1,16 @@
+Event ID Name Wwise Object Path Notes
+ 588409068 Unequip \Default Work Unit\Unequip
+ 981465891 UI_Success \Default Work Unit\UI_Success
+ 1878686274 Drop \Default Work Unit\Drop
+ 2412608643 Equip \Default Work Unit\Equip
+ 3050276906 UI_Fail \Default Work Unit\UI_Fail
+ 3978245845 Pickup \Default Work Unit\Pickup
+
+In Memory Audio ID Name Audio source file Wwise Object Path Notes Data Size
+ 105294056 unequip E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\.cache\Mac\SFX\unequip_10C4C929.wem \Actor-Mixer Hierarchy\Default Work Unit\unequip 238460
+ 286482309 equip E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\.cache\Mac\SFX\equip_10C4C929.wem \Actor-Mixer Hierarchy\Default Work Unit\equip 220356
+ 375041892 pickup E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\.cache\Mac\SFX\pickup_10C4C929.wem \Actor-Mixer Hierarchy\Default Work Unit\pickup 169332
+ 409680203 putdown E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\.cache\Mac\SFX\putdown_10C4C929.wem \Actor-Mixer Hierarchy\Default Work Unit\putdown 282668
+ 628544089 blip2 E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\.cache\Mac\SFX\blip2_10C4C929.wem \Actor-Mixer Hierarchy\Default Work Unit\blip2 13580
+ 907378552 blip1 E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\.cache\Mac\SFX\blip1_10C4C929.wem \Actor-Mixer Hierarchy\Default Work Unit\blip1 22460
+
diff --git a/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/Init.bnk b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/Init.bnk
new file mode 100644
index 000000000..3472fbb10
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/Init.bnk differ
diff --git a/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/Init.txt b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/Init.txt
new file mode 100644
index 000000000..bb5e1799d
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/Init.txt
@@ -0,0 +1,7 @@
+Audio Bus ID Name Wwise Object Path Notes
+ 3803692087 Master Audio Bus \Default Work Unit\Master Audio Bus
+
+Audio Devices ID Name Type Notes
+ 2317455096 No_Output No Output
+ 3859886410 System System
+
diff --git a/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/PluginInfo.xml b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/PluginInfo.xml
new file mode 100644
index 000000000..65dce4b0a
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/PluginInfo.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/SoundbanksInfo.xml b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/SoundbanksInfo.xml
new file mode 100644
index 000000000..a768459be
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/SoundbanksInfo.xml
@@ -0,0 +1,75 @@
+
+
+
+ E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\
+ E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\.cache\Windows\
+ E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\GeneratedSoundBanks\Windows\
+
+ E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\GeneratedSoundBanks\Windows
+
+
+
+
+
+
+ Init
+ Init
+ Init.bnk
+
+
+ \SoundBanks\Default Work Unit\UI
+ UI
+ UI.bnk
+
+
+
+
+ putdown.wav
+ SFX\putdown_10C4C929.wem
+
+
+
+
+
+
+ equip.wav
+ SFX\equip_10C4C929.wem
+
+
+
+
+
+
+ pickup.wav
+ SFX\pickup_10C4C929.wem
+
+
+
+
+
+
+ blip2.wav
+ SFX\blip2_10C4C929.wem
+
+
+
+
+
+
+ blip1.wav
+ SFX\blip1_10C4C929.wem
+
+
+
+
+
+
+ unequip.wav
+ SFX\unequip_10C4C929.wem
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/UI.bnk b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/UI.bnk
new file mode 100644
index 000000000..bd4623e4d
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/UI.bnk differ
diff --git a/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/UI.txt b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/UI.txt
new file mode 100644
index 000000000..2b95df1cb
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/GeneratedSoundBanks/Windows/UI.txt
@@ -0,0 +1,16 @@
+Event ID Name Wwise Object Path Notes
+ 588409068 Unequip \Default Work Unit\Unequip
+ 981465891 UI_Success \Default Work Unit\UI_Success
+ 1878686274 Drop \Default Work Unit\Drop
+ 2412608643 Equip \Default Work Unit\Equip
+ 3050276906 UI_Fail \Default Work Unit\UI_Fail
+ 3978245845 Pickup \Default Work Unit\Pickup
+
+In Memory Audio ID Name Audio source file Wwise Object Path Notes Data Size
+ 105294056 unequip E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\.cache\Windows\SFX\unequip_10C4C929.wem \Actor-Mixer Hierarchy\Default Work Unit\unequip 238460
+ 286482309 equip E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\.cache\Windows\SFX\equip_10C4C929.wem \Actor-Mixer Hierarchy\Default Work Unit\equip 220356
+ 375041892 pickup E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\.cache\Windows\SFX\pickup_10C4C929.wem \Actor-Mixer Hierarchy\Default Work Unit\pickup 169332
+ 409680203 putdown E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\.cache\Windows\SFX\putdown_10C4C929.wem \Actor-Mixer Hierarchy\Default Work Unit\putdown 282668
+ 628544089 blip2 E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\.cache\Windows\SFX\blip2_10C4C929.wem \Actor-Mixer Hierarchy\Default Work Unit\blip2 13580
+ 907378552 blip1 E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\.cache\Windows\SFX\blip1_10C4C929.wem \Actor-Mixer Hierarchy\Default Work Unit\blip1 22460
+
diff --git a/Aetheria-Economy_WwiseProject/Interactive Music Hierarchy/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Interactive Music Hierarchy/Default Work Unit.wwu
new file mode 100644
index 000000000..61eb14443
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Interactive Music Hierarchy/Default Work Unit.wwu
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Master-Mixer Hierarchy/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Master-Mixer Hierarchy/Default Work Unit.wwu
new file mode 100644
index 000000000..2dcab7635
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Master-Mixer Hierarchy/Default Work Unit.wwu
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Mixing Sessions/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Mixing Sessions/Default Work Unit.wwu
new file mode 100644
index 000000000..821f9f125
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Mixing Sessions/Default Work Unit.wwu
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Modulators/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Modulators/Default Work Unit.wwu
new file mode 100644
index 000000000..da148e8d4
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Modulators/Default Work Unit.wwu
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Originals/SFX/blip1.akd b/Aetheria-Economy_WwiseProject/Originals/SFX/blip1.akd
new file mode 100644
index 000000000..9b04c3b49
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/Originals/SFX/blip1.akd differ
diff --git a/Aetheria-Economy_WwiseProject/Originals/SFX/blip1.wav b/Aetheria-Economy_WwiseProject/Originals/SFX/blip1.wav
new file mode 100644
index 000000000..742d9607e
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Originals/SFX/blip1.wav
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5a8a1dbff2a4e54adaaf53164eefbc2685e392f7553cf0e06f5636b62984ff7b
+size 35796
diff --git a/Aetheria-Economy_WwiseProject/Originals/SFX/blip2.akd b/Aetheria-Economy_WwiseProject/Originals/SFX/blip2.akd
new file mode 100644
index 000000000..0bbc4e322
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/Originals/SFX/blip2.akd differ
diff --git a/Aetheria-Economy_WwiseProject/Originals/SFX/blip2.wav b/Aetheria-Economy_WwiseProject/Originals/SFX/blip2.wav
new file mode 100644
index 000000000..64094aa0e
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Originals/SFX/blip2.wav
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7d9ca8f2c8652f578b4f189adf32e2c33d1ffe70cec2099605fbd818e9047e97
+size 22476
diff --git a/Aetheria-Economy_WwiseProject/Originals/SFX/equip.akd b/Aetheria-Economy_WwiseProject/Originals/SFX/equip.akd
new file mode 100644
index 000000000..c37d3e949
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/Originals/SFX/equip.akd differ
diff --git a/Aetheria-Economy_WwiseProject/Originals/SFX/equip.wav b/Aetheria-Economy_WwiseProject/Originals/SFX/equip.wav
new file mode 100644
index 000000000..5556ba938
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Originals/SFX/equip.wav
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:05d931c83e73ecfe4333ee2aa07d6756c3da62480a14a2dc3a5289a19b1adae1
+size 332744
diff --git a/Aetheria-Economy_WwiseProject/Originals/SFX/mouseover.akd b/Aetheria-Economy_WwiseProject/Originals/SFX/mouseover.akd
new file mode 100644
index 000000000..9caaacf1f
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/Originals/SFX/mouseover.akd differ
diff --git a/Aetheria-Economy_WwiseProject/Originals/SFX/mouseover.wav b/Aetheria-Economy_WwiseProject/Originals/SFX/mouseover.wav
new file mode 100644
index 000000000..4624f7a8d
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Originals/SFX/mouseover.wav
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cb9ce3a6e99fae7fd33c74a98e8e5022b499ff01a7695cd26cb650f3dab3f080
+size 3186
diff --git a/Aetheria-Economy_WwiseProject/Originals/SFX/pickup.akd b/Aetheria-Economy_WwiseProject/Originals/SFX/pickup.akd
new file mode 100644
index 000000000..856707cc3
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/Originals/SFX/pickup.akd differ
diff --git a/Aetheria-Economy_WwiseProject/Originals/SFX/pickup.wav b/Aetheria-Economy_WwiseProject/Originals/SFX/pickup.wav
new file mode 100644
index 000000000..ecce8d942
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Originals/SFX/pickup.wav
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2e8fd71448d73f1f516f15bd8aa600980d09ce5460c8c07e88307af739a598b6
+size 256208
diff --git a/Aetheria-Economy_WwiseProject/Originals/SFX/putdown.akd b/Aetheria-Economy_WwiseProject/Originals/SFX/putdown.akd
new file mode 100644
index 000000000..c3060b512
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/Originals/SFX/putdown.akd differ
diff --git a/Aetheria-Economy_WwiseProject/Originals/SFX/putdown.wav b/Aetheria-Economy_WwiseProject/Originals/SFX/putdown.wav
new file mode 100644
index 000000000..112e84d22
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Originals/SFX/putdown.wav
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c1182f5e035430ed74323c6a20427bdcd14dd2044f9566e18216ee1feb7cc393
+size 426212
diff --git a/Aetheria-Economy_WwiseProject/Originals/SFX/unequip.akd b/Aetheria-Economy_WwiseProject/Originals/SFX/unequip.akd
new file mode 100644
index 000000000..e8e8f91de
Binary files /dev/null and b/Aetheria-Economy_WwiseProject/Originals/SFX/unequip.akd differ
diff --git a/Aetheria-Economy_WwiseProject/Originals/SFX/unequip.wav b/Aetheria-Economy_WwiseProject/Originals/SFX/unequip.wav
new file mode 100644
index 000000000..cbf2a00e7
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Originals/SFX/unequip.wav
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c322bb4229b257e7e5b058ac0f321433de66cb035bf0e16d815934885fe116bb
+size 359898
diff --git a/Aetheria-Economy_WwiseProject/Presets/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Presets/Default Work Unit.wwu
new file mode 100644
index 000000000..57d1e1604
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Presets/Default Work Unit.wwu
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Presets/Factory Spatial Audio.wwu b/Aetheria-Economy_WwiseProject/Presets/Factory Spatial Audio.wwu
new file mode 100644
index 000000000..fa4b0e2f8
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Presets/Factory Spatial Audio.wwu
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Queries/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Queries/Default Work Unit.wwu
new file mode 100644
index 000000000..aa93c956b
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Queries/Default Work Unit.wwu
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Queries/Factory Queries.wwu b/Aetheria-Economy_WwiseProject/Queries/Factory Queries.wwu
new file mode 100644
index 000000000..527315de6
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Queries/Factory Queries.wwu
@@ -0,0 +1,623 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/SoundBanks/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/SoundBanks/Default Work Unit.wwu
new file mode 100644
index 000000000..96beac2ca
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/SoundBanks/Default Work Unit.wwu
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Soundcaster Sessions/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Soundcaster Sessions/Default Work Unit.wwu
new file mode 100644
index 000000000..1bdc2898d
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Soundcaster Sessions/Default Work Unit.wwu
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/States/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/States/Default Work Unit.wwu
new file mode 100644
index 000000000..4c47f85af
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/States/Default Work Unit.wwu
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Switches/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Switches/Default Work Unit.wwu
new file mode 100644
index 000000000..de00317ba
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Switches/Default Work Unit.wwu
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Triggers/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Triggers/Default Work Unit.wwu
new file mode 100644
index 000000000..f5f39f508
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Triggers/Default Work Unit.wwu
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Aetheria-Economy_WwiseProject/Virtual Acoustics/Default Work Unit.wwu b/Aetheria-Economy_WwiseProject/Virtual Acoustics/Default Work Unit.wwu
new file mode 100644
index 000000000..3f73110fb
--- /dev/null
+++ b/Aetheria-Economy_WwiseProject/Virtual Acoustics/Default Work Unit.wwu
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Assembly-CSharp-Editor-firstpass.csproj b/Assembly-CSharp-Editor-firstpass.csproj
index 4bea8ec54..672a842b2 100644
--- a/Assembly-CSharp-Editor-firstpass.csproj
+++ b/Assembly-CSharp-Editor-firstpass.csproj
@@ -350,9 +350,6 @@
E:/Projects/Aetheria-Economy/Assets/Plugins/Remotion.Linq.dll
-
- E:/Projects/Aetheria-Economy/Assets/Plugins/Newtonsoft.Json.dll
-
E:/Projects/Aetheria-Economy/Assets/Plugins/System.Memory.dll
@@ -362,21 +359,24 @@
E:/Projects/Aetheria-Economy/Library/PackageCache/com.unity.ext.nunit@1.0.5/net35/unity-custom/nunit.framework.dll
+
+ E:/Projects/Aetheria-Economy/Library/PackageCache/com.unity.burst@1.4.3/Unity.Burst.Unsafe.dll
+
E:/Projects/Aetheria-Economy/Assets/Plugins/Google.Protobuf/lib/net45/Google.Protobuf.dll
E:/Projects/Aetheria-Economy/Assets/Plugins/System.Buffers.dll
-
- E:/Projects/Aetheria-Economy/Library/PackageCache/com.unity.burst@1.4.3/Unity.Burst.Unsafe.dll
+
+ E:/Projects/Aetheria-Economy/Assets/Allegorithmic/Plugins/Substance.Game.dll
+
+
+ E:/Projects/Aetheria-Economy/Assets/Plugins/Newtonsoft.Json.dll
E:/Projects/Aetheria-Economy/Assets/Plugins/QuickGraph.dll
-
- E:/Projects/Aetheria-Economy/Assets/Allegorithmic/Plugins/Substance.Game.dll
-
E:/Projects/Aetheria-Economy/Assets/Allegorithmic/Plugins/Substance/Substance Source/Editor/SourceUnityLib.dll
diff --git a/Assembly-CSharp-Editor.csproj b/Assembly-CSharp-Editor.csproj
index 9716c9379..ddd37bd57 100644
--- a/Assembly-CSharp-Editor.csproj
+++ b/Assembly-CSharp-Editor.csproj
@@ -52,14 +52,66 @@
false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
C:/Program Files/Unity/Hub/Editor/2020.2.1f1/Editor/Data/Managed/UnityEngine/UnityEngine.dll
@@ -294,9 +346,6 @@
E:/Projects/Aetheria-Economy/Assets/Plugins/Remotion.Linq.dll
-
- E:/Projects/Aetheria-Economy/Assets/Plugins/Newtonsoft.Json.dll
-
E:/Projects/Aetheria-Economy/Assets/Plugins/System.Memory.dll
@@ -306,21 +355,24 @@
E:/Projects/Aetheria-Economy/Library/PackageCache/com.unity.ext.nunit@1.0.5/net35/unity-custom/nunit.framework.dll
+
+ E:/Projects/Aetheria-Economy/Library/PackageCache/com.unity.burst@1.4.3/Unity.Burst.Unsafe.dll
+
E:/Projects/Aetheria-Economy/Assets/Plugins/Google.Protobuf/lib/net45/Google.Protobuf.dll
E:/Projects/Aetheria-Economy/Assets/Plugins/System.Buffers.dll
-
- E:/Projects/Aetheria-Economy/Library/PackageCache/com.unity.burst@1.4.3/Unity.Burst.Unsafe.dll
+
+ E:/Projects/Aetheria-Economy/Assets/Allegorithmic/Plugins/Substance.Game.dll
+
+
+ E:/Projects/Aetheria-Economy/Assets/Plugins/Newtonsoft.Json.dll
E:/Projects/Aetheria-Economy/Assets/Plugins/QuickGraph.dll
-
- E:/Projects/Aetheria-Economy/Assets/Allegorithmic/Plugins/Substance.Game.dll
-
E:/Projects/Aetheria-Economy/Assets/Allegorithmic/Plugins/Substance/Substance Source/Editor/SourceUnityLib.dll
diff --git a/Assembly-CSharp-firstpass.csproj b/Assembly-CSharp-firstpass.csproj
index 23969979b..6a50652c8 100644
--- a/Assembly-CSharp-firstpass.csproj
+++ b/Assembly-CSharp-firstpass.csproj
@@ -117,8 +117,8 @@
-
+
@@ -232,8 +232,8 @@
-
+
@@ -521,8 +521,8 @@
-
+
@@ -942,9 +942,6 @@
E:/Projects/Aetheria-Economy/Assets/Plugins/Remotion.Linq.dll
-
- E:/Projects/Aetheria-Economy/Assets/Plugins/Newtonsoft.Json.dll
-
E:/Projects/Aetheria-Economy/Assets/Plugins/System.Memory.dll
@@ -954,21 +951,24 @@
E:/Projects/Aetheria-Economy/Library/PackageCache/com.unity.ext.nunit@1.0.5/net35/unity-custom/nunit.framework.dll
+
+ E:/Projects/Aetheria-Economy/Library/PackageCache/com.unity.burst@1.4.3/Unity.Burst.Unsafe.dll
+
E:/Projects/Aetheria-Economy/Assets/Plugins/Google.Protobuf/lib/net45/Google.Protobuf.dll
E:/Projects/Aetheria-Economy/Assets/Plugins/System.Buffers.dll
-
- E:/Projects/Aetheria-Economy/Library/PackageCache/com.unity.burst@1.4.3/Unity.Burst.Unsafe.dll
+
+ E:/Projects/Aetheria-Economy/Assets/Allegorithmic/Plugins/Substance.Game.dll
+
+
+ E:/Projects/Aetheria-Economy/Assets/Plugins/Newtonsoft.Json.dll
E:/Projects/Aetheria-Economy/Assets/Plugins/QuickGraph.dll
-
- E:/Projects/Aetheria-Economy/Assets/Allegorithmic/Plugins/Substance.Game.dll
-
E:/Projects/Aetheria-Economy/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll
diff --git a/Assembly-CSharp.csproj b/Assembly-CSharp.csproj
index aaeb93345..a48905a6d 100644
--- a/Assembly-CSharp.csproj
+++ b/Assembly-CSharp.csproj
@@ -57,136 +57,344 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -205,6 +413,7 @@
+
@@ -229,6 +438,7 @@
+
@@ -237,6 +447,7 @@
+
@@ -486,9 +697,6 @@
E:/Projects/Aetheria-Economy/Assets/Plugins/Remotion.Linq.dll
-
- E:/Projects/Aetheria-Economy/Assets/Plugins/Newtonsoft.Json.dll
-
E:/Projects/Aetheria-Economy/Assets/Plugins/System.Memory.dll
@@ -498,21 +706,24 @@
E:/Projects/Aetheria-Economy/Library/PackageCache/com.unity.ext.nunit@1.0.5/net35/unity-custom/nunit.framework.dll
+
+ E:/Projects/Aetheria-Economy/Library/PackageCache/com.unity.burst@1.4.3/Unity.Burst.Unsafe.dll
+
E:/Projects/Aetheria-Economy/Assets/Plugins/Google.Protobuf/lib/net45/Google.Protobuf.dll
E:/Projects/Aetheria-Economy/Assets/Plugins/System.Buffers.dll
-
- E:/Projects/Aetheria-Economy/Library/PackageCache/com.unity.burst@1.4.3/Unity.Burst.Unsafe.dll
+
+ E:/Projects/Aetheria-Economy/Assets/Allegorithmic/Plugins/Substance.Game.dll
+
+
+ E:/Projects/Aetheria-Economy/Assets/Plugins/Newtonsoft.Json.dll
E:/Projects/Aetheria-Economy/Assets/Plugins/QuickGraph.dll
-
- E:/Projects/Aetheria-Economy/Assets/Allegorithmic/Plugins/Substance.Game.dll
-
E:/Projects/Aetheria-Economy/Assets/Plugins/System.Runtime.CompilerServices.Unsafe.dll
diff --git a/Assets/Materials/UI/Map Gravity Lines.mat b/Assets/Materials/UI/Map Gravity Lines.mat
index 5f7364dda..318ee80b0 100644
--- a/Assets/Materials/UI/Map Gravity Lines.mat
+++ b/Assets/Materials/UI/Map Gravity Lines.mat
@@ -86,7 +86,7 @@ Material:
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- - _Scale: 2.3182888
+ - _Scale: 5.1991053
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
diff --git a/Assets/Resources/Prefabs/Shield.prefab b/Assets/Resources/Prefabs/Shield.prefab
index 72b47098f..6b917499e 100644
--- a/Assets/Resources/Prefabs/Shield.prefab
+++ b/Assets/Resources/Prefabs/Shield.prefab
@@ -29,13 +29,13 @@ MonoBehaviour:
m_Curve:
- serializedVersion: 3
time: 0
- value: 1
- inSlope: -2.6076918
- outSlope: -2.6076918
+ value: 10
+ inSlope: -33.07317
+ outSlope: -33.07317
tangentMode: 0
weightedMode: 0
inWeight: 0
- outWeight: 0.057522126
+ outWeight: 0.045353983
- serializedVersion: 3
time: 1
value: 0
@@ -258,6 +258,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
ShieldPrototype: {fileID: 6560402906539973100}
+ CollisionHitDuration: 3
--- !u!1001 &3514832566420628377
PrefabInstance:
m_ObjectHideFlags: 0
diff --git a/Assets/Resources/Prefabs/Weapons/Machinegun.prefab b/Assets/Resources/Prefabs/Weapons/Machinegun.prefab
index 46b22cf21..174c2a868 100644
--- a/Assets/Resources/Prefabs/Weapons/Machinegun.prefab
+++ b/Assets/Resources/Prefabs/Weapons/Machinegun.prefab
@@ -27,7 +27,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1038711833328602429}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalPosition: {x: 0, y: 0, z: 0.81}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 7266740123558298384}
@@ -60,7 +60,12 @@ MonoBehaviour:
m_EditorClassIdentifier:
Trail: {fileID: 2983319151296838409}
Gravity: 1
+ Drag: 0.1
HitEffect: {fileID: 6014187763460843580}
+ AirburstDistance: 0
+ AirburstRange: 0
+ AirburstVelocity: 0
+ DirectHitDamageMultiplier: 1
--- !u!120 &1782208234081298454
LineRenderer:
m_ObjectHideFlags: 0
@@ -102,8 +107,8 @@ LineRenderer:
m_SortingLayer: 0
m_SortingOrder: 0
m_Positions:
- - {x: 0, y: 0, z: 4}
- - {x: 0, y: 0, z: -2}
+ - {x: 0, y: 0, z: 1}
+ - {x: 0, y: 0, z: -3}
m_Parameters:
serializedVersion: 3
widthMultiplier: 1
@@ -184,7 +189,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1666871289929742290}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalPosition: {x: 0, y: 0, z: -1.5}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 7093708978518643867}
@@ -431,7 +436,7 @@ ParticleSystem:
serializedVersion: 7
lengthInSec: 2
simulationSpeed: 2
- stopAction: 0
+ stopAction: 3
cullingMode: 3
ringBufferMode: 0
ringBufferLoopRange: {x: 0, y: 1}
diff --git a/Assets/Scenes/ARPG.unity b/Assets/Scenes/ARPG.unity
index 03aafa4c6..52fd9d2f5 100644
--- a/Assets/Scenes/ARPG.unity
+++ b/Assets/Scenes/ARPG.unity
@@ -1476,6 +1476,8 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 134113271}
+ - component: {fileID: 134113273}
+ - component: {fileID: 134113272}
m_Layer: 0
m_Name: Weapon Effects
m_TagString: Untagged
@@ -1497,6 +1499,62 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!114 &134113272
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 134113270}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: e6a98c45007fbec48b47b122c40889c3, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ triggerList:
+ useOtherObject: 0
+ actionOnEventType: 0
+ curveInterpolation: 4
+ enableActionOnEvent: 0
+ data:
+ idInternal: 0
+ valueGuidInternal:
+ WwiseObjectReference: {fileID: 11400000, guid: afe2baef276b4b34f98f465e29ce4bfe,
+ type: 2}
+ useCallbacks: 0
+ Callbacks: []
+ playingId: 0
+ soundEmitterObject: {fileID: 0}
+ transitionDuration: 0
+ eventIdInternal: 0
+ valueGuidInternal:
+ m_callbackDataInternal: {fileID: 0}
+ MultiPositionType: 1
+ multiPositionTypeLabel: 0
+ LargeModePositions: []
+ multiPositionArray: []
+--- !u!114 &134113273
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 134113270}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: f27db6b94e477054e96392f94dc50c9d, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_listeners:
+ initialListenerList: []
+ useDefaultListeners: 1
+ isEnvironmentAware: 0
+ isStaticObject: 0
+ m_positionOffsetData:
+ KeepMe: 0
+ positionOffset: {x: 0, y: 0, z: 0}
+ m_posOffsetData: {fileID: 0}
+ listenerMask: 1
--- !u!1 &146394774
GameObject:
m_ObjectHideFlags: 0
@@ -13482,6 +13540,90 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1012981707}
m_CullTransparentMesh: 0
+--- !u!1 &1019449640
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1019449642}
+ - component: {fileID: 1019449641}
+ - component: {fileID: 1019449643}
+ m_Layer: 0
+ m_Name: WwiseGlobal
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1019449641
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1019449640}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: a4eab75687879a445a2a2397d86a2172, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ InitializationSettings: {fileID: 11400000, guid: ca1886ece3dfc5e49902e78defccd355,
+ type: 2}
+ basePath:
+ language:
+ defaultPoolSize: 0
+ lowerPoolSize: 0
+ streamingPoolSize: 0
+ memoryCutoffThreshold: 0
+ monitorPoolSize: 0
+ monitorQueuePoolSize: 0
+ callbackManagerBufferSize: 0
+ spatialAudioPoolSize: 0
+ maxSoundPropagationDepth: 0
+ diffractionFlags: 11
+ engineLogging: 0
+--- !u!4 &1019449642
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1019449640}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 8
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!114 &1019449643
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1019449640}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: d1f1a89fa3598c644a67edc70006ab8b, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ triggerList: f7e1664c
+ useOtherObject: 0
+ data:
+ idInternal: 0
+ valueGuidInternal:
+ WwiseObjectReference: {fileID: 11400000, guid: 1f7596d26fd55df42a4027d547caa78a,
+ type: 2}
+ decodeBank: 0
+ loadAsynchronous: 0
+ saveDecodedBank: 0
+ unloadTriggerList: 958ca0ea
+ bankNameInternal:
+ valueGuidInternal:
--- !u!1 &1029396710
GameObject:
m_ObjectHideFlags: 0
@@ -17886,7 +18028,7 @@ PrefabInstance:
- target: {fileID: 878382121558056004, guid: 2758dfa2744d7ad4d8877545189d116e,
type: 3}
propertyPath: m_AnchoredPosition.x
- value: 0
+ value: 55.675
objectReference: {fileID: 0}
- target: {fileID: 878382121558056004, guid: 2758dfa2744d7ad4d8877545189d116e,
type: 3}
@@ -18817,7 +18959,7 @@ PrefabInstance:
- target: {fileID: 878382121558056004, guid: 2758dfa2744d7ad4d8877545189d116e,
type: 3}
propertyPath: m_AnchoredPosition.x
- value: 0
+ value: 60.98
objectReference: {fileID: 0}
- target: {fileID: 878382121558056004, guid: 2758dfa2744d7ad4d8877545189d116e,
type: 3}
@@ -23139,11 +23281,12 @@ GameObject:
m_Component:
- component: {fileID: 2115559090}
- component: {fileID: 2115559089}
- - component: {fileID: 2115559088}
- component: {fileID: 2115559091}
- component: {fileID: 2115559092}
- component: {fileID: 2115559093}
- component: {fileID: 2115559094}
+ - component: {fileID: 2115559095}
+ - component: {fileID: 2115559088}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
@@ -23151,14 +23294,20 @@ GameObject:
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
---- !u!81 &2115559088
-AudioListener:
+--- !u!114 &2115559088
+MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2115559087}
m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 4ae335524e949404bb57f1612ec4b9b5, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ isDefaultListener: 1
+ listenerId: 0
--- !u!20 &2115559089
Camera:
m_ObjectHideFlags: 0
@@ -23339,6 +23488,28 @@ MonoBehaviour:
_shader: {fileID: 4800000, guid: 2d020ca820b3647479e78b8c3d26e3a6, type: 3}
_downSampleMode: 2
_iteration: 4
+--- !u!114 &2115559095
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2115559087}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: f27db6b94e477054e96392f94dc50c9d, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_listeners:
+ initialListenerList: []
+ useDefaultListeners: 1
+ isEnvironmentAware: 0
+ isStaticObject: 0
+ m_positionOffsetData:
+ KeepMe: 0
+ positionOffset: {x: 0, y: 0, z: 0}
+ m_posOffsetData: {fileID: 0}
+ listenerMask: 1
--- !u!1 &2122035459
GameObject:
m_ObjectHideFlags: 0
diff --git a/Assets/Scenes/ARPG_Profiles/Postprocessing Profile.asset b/Assets/Scenes/ARPG_Profiles/Postprocessing Profile.asset
index 2698acd6d..2173785a7 100644
--- a/Assets/Scenes/ARPG_Profiles/Postprocessing Profile.asset
+++ b/Assets/Scenes/ARPG_Profiles/Postprocessing Profile.asset
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:cadad0b275dddaac37d40f8b96693a47357343aabe1a5835f4643701972ffbdc
-size 25033
+oid sha256:1234dcaed3b2de3e54d94614162415c17688e02eb570d9da58d27c4daa961db1
+size 25029
diff --git a/Assets/Scripts/Gameplay/Weapons/Projectile.cs b/Assets/Scripts/Gameplay/Weapons/Projectile.cs
index 7ea22cedc..aa97c91c7 100644
--- a/Assets/Scripts/Gameplay/Weapons/Projectile.cs
+++ b/Assets/Scripts/Gameplay/Weapons/Projectile.cs
@@ -15,7 +15,6 @@ public class Projectile : MonoBehaviour
public float AirburstDistance;
public float AirburstRange;
- public float AirburstVelocity;
public float DirectHitDamageMultiplier = 1;
private bool _alive;
@@ -87,7 +86,7 @@ public class Projectile : MonoBehaviour
var distanceTraveled = (transform.position - StartPosition).magnitude;
if(distanceTraveled > Range)
StartCoroutine(Kill());
- if (AirburstDistance > 1 && distanceTraveled > AirburstDistance)
+ if (AirburstRange > 1 && distanceTraveled > AirburstDistance)
{
StartCoroutine(Kill());
var ht = HitEffect.Instantiate();
diff --git a/Assets/Scripts/Gameplay/Weapons/ProjectileManager.cs b/Assets/Scripts/Gameplay/Weapons/ProjectileManager.cs
index 4024bf589..f60db5e5e 100644
--- a/Assets/Scripts/Gameplay/Weapons/ProjectileManager.cs
+++ b/Assets/Scripts/Gameplay/Weapons/ProjectileManager.cs
@@ -17,13 +17,13 @@ public class ProjectileManager : InstantWeaponEffectManager
var barrel = source.GetBarrel(hp);
var angle = weapon.Spread / 2;
p.SourceEntity = source.Entity;
- p.StartPosition = p.transform.position = barrel.position;
p.Velocity = Quaternion.Euler(
Random.Range(-angle, angle),
Random.Range(-angle, angle),
Random.Range(-angle, angle)) *
barrel.forward *
weapon.Velocity;
+ p.StartPosition = p.transform.position = barrel.position + p.Velocity * (Random.value * Time.deltaTime);
if(InheritVelocity)
p.Velocity += new Vector3(source.Entity.Velocity.x, 0, source.Entity.Velocity.y);
p.Damage = weapon.Damage;
diff --git a/Assets/Scripts/ServerShared/Agents/States/Combat.cs b/Assets/Scripts/ServerShared/Agents/States/Combat.cs
index 0e65298c9..e741dbe65 100644
--- a/Assets/Scripts/ServerShared/Agents/States/Combat.cs
+++ b/Assets/Scripts/ServerShared/Agents/States/Combat.cs
@@ -85,6 +85,7 @@ public class CombatState : BaseState
{
var targetHullData = _agent.ItemManager.GetData(target.Hull) as HullData;
var targetVelocity = float3(target.Velocity.x, 0, target.Velocity.y);
+ var shipVelocity = float3(_agent.Ship.Velocity.x, 0, _agent.Ship.Velocity.y);
var predictedPosition = AetheriaMath.FirstOrderIntercept(
_agent.Ship.Position,
float3.zero,
diff --git a/Assets/Scripts/ServerShared/Behaviors/TurretController.cs b/Assets/Scripts/ServerShared/Behaviors/TurretController.cs
index 187dc6b4c..74fac3a64 100644
--- a/Assets/Scripts/ServerShared/Behaviors/TurretController.cs
+++ b/Assets/Scripts/ServerShared/Behaviors/TurretController.cs
@@ -105,6 +105,11 @@ public class TurretController : IBehavior
}
else
{
+ foreach (var x in _weapons)
+ {
+ if (x.Firing)
+ x.Deactivate();
+ }
EquippedEntity.Target.Value = EquippedEntity.VisibleHostiles.FirstOrDefault(e => e is Ship);
}
return true;
diff --git a/Assets/Scripts/ServerShared/Entity.cs b/Assets/Scripts/ServerShared/Entity.cs
index d775da861..e4d170403 100644
--- a/Assets/Scripts/ServerShared/Entity.cs
+++ b/Assets/Scripts/ServerShared/Entity.cs
@@ -162,7 +162,7 @@ public abstract class Entity
{
VisibleEntities.Remove(replace.Key);
if(IsHostileTo(replace.Key))
- VisibleHostiles.Add(replace.Key);
+ VisibleHostiles.Remove(replace.Key);
}
});
EntityInfoGathered.ObserveRemove().Subscribe(remove => VisibleEntities.Remove(remove.Key));
diff --git a/Assets/Scripts/UI/InventoryMenu.cs b/Assets/Scripts/UI/InventoryMenu.cs
index 0dcba5b1d..c7912d280 100644
--- a/Assets/Scripts/UI/InventoryMenu.cs
+++ b/Assets/Scripts/UI/InventoryMenu.cs
@@ -48,6 +48,7 @@ public class InventoryMenu : MonoBehaviour
private void OnEnable()
{
+ AkSoundEngine.RegisterGameObj(gameObject);
BackgroundEntered.gameObject.SetActive(true);
BackgroundEntered.OnPointerEnterAsObservable().Subscribe(enter =>
@@ -68,6 +69,7 @@ public class InventoryMenu : MonoBehaviour
private void OnDisable()
{
+ AkSoundEngine.UnregisterGameObj(gameObject);
BackgroundEntered.gameObject.SetActive(false);
}
@@ -103,6 +105,7 @@ public class InventoryMenu : MonoBehaviour
_dragOffsets = _dragCells.Select(x => (Vector2) x.position - data.PointerEventData.position).ToArray();
panel.IgnoreOccupancy = _originalOccupancy;
panel.RefreshCells(_originalOccupancy.Expand().Coordinates);
+ AkSoundEngine.PostEvent("Pickup", gameObject);
}
}
else if (data is InventoryEntityEventData entityEvent)
@@ -130,6 +133,7 @@ public class InventoryMenu : MonoBehaviour
_dragOffsets = _dragCells.Select(x => (Vector2) x.position - data.PointerEventData.position).ToArray();
panel.IgnoreOccupancy = _originalOccupancy;
panel.RefreshCells(_originalOccupancy.Expand().Coordinates);
+ AkSoundEngine.PostEvent("Pickup", gameObject);
}
}
});
@@ -155,15 +159,21 @@ public class InventoryMenu : MonoBehaviour
{
cargoEvent.CargoBay.Remove(_dragItem);
_dragTargetPanel.DropItem(_dragItem, _dragTargetPosition);
+ if(_dragTargetPanel.Target == InventoryPanelTarget.Cargo)
+ AkSoundEngine.PostEvent("Drop", gameObject);
+ else
+ AkSoundEngine.PostEvent("Equip", gameObject);
}
else if (data is InventoryEntityEventData entityEvent)
{
if (entityEvent.Entity.Unequip(_originalEquippedItem) != null)
{
_dragTargetPanel.DropItem(_dragItem, _dragTargetPosition);
+ AkSoundEngine.PostEvent("Unequip", gameObject);
}
else
{
+ AkSoundEngine.PostEvent("UI_Fail", gameObject);
Dialog.Clear();
Dialog.Title.text = "Unable to move item!";
Dialog.AddProperty("Verify that cargo bays are empty before un-equipping them.");
@@ -282,6 +292,7 @@ public class InventoryMenu : MonoBehaviour
var otherPanel = panel == InventoryPanels[0] ? InventoryPanels[1] : InventoryPanels[0];
if (otherPanel.DropItem(item))
{
+ AkSoundEngine.PostEvent("Equip", gameObject);
cargoEvent.CargoBay.Remove(item);
panel.RefreshCells();
otherPanel.RefreshCells();
@@ -313,6 +324,7 @@ public class InventoryMenu : MonoBehaviour
var v2 = _selectedItemData.Shape.Rotate(v, _selectedItem.Rotation) + _selectedPosition;
_selectedPanel.CellInstances[v2].Icon.color = _selectedPanel.GetColor(v2, true);
}
+ AkSoundEngine.PostEvent("UI_Success", gameObject);
}
}
}
@@ -326,6 +338,7 @@ public class InventoryMenu : MonoBehaviour
var otherPanel = panel == InventoryPanels[0] ? InventoryPanels[1] : InventoryPanels[0];
if (otherPanel.DropItem(item.EquippableItem))
{
+ AkSoundEngine.PostEvent("Unequip", gameObject);
entityEvent.Entity.Unequip(item);
panel.RefreshCells();
otherPanel.RefreshCells();
@@ -355,6 +368,7 @@ public class InventoryMenu : MonoBehaviour
var v2 = _selectedItemData.Shape.Rotate(v, _selectedItem.Rotation) + _selectedPosition;
_selectedPanel.CellInstances[v2].Icon.color = _selectedPanel.GetColor(v2, true);
}
+ AkSoundEngine.PostEvent("UI_Success", gameObject);
}
}
}
diff --git a/Assets/Scripts/UI/InventoryPanel.cs b/Assets/Scripts/UI/InventoryPanel.cs
index 5657f112b..5181bfb0c 100644
--- a/Assets/Scripts/UI/InventoryPanel.cs
+++ b/Assets/Scripts/UI/InventoryPanel.cs
@@ -85,6 +85,10 @@ public class InventoryPanel : MonoBehaviour
int2(-1, 1)
};
+ public InventoryPanelTarget Target =>
+ _displayedEntity != null ? InventoryPanelTarget.Equipment :
+ _displayedCargo != null ? InventoryPanelTarget.Cargo : InventoryPanelTarget.None;
+
private void Start()
{
if (Thermal)
@@ -692,3 +696,10 @@ public class InventoryCargoEventData : InventoryEventData
public EquippedCargoBay CargoBay { get; }
}
+
+public enum InventoryPanelTarget
+{
+ None,
+ Cargo,
+ Equipment
+}
diff --git a/Assets/StreamingAssets.meta b/Assets/StreamingAssets.meta
new file mode 100644
index 000000000..ed0175068
--- /dev/null
+++ b/Assets/StreamingAssets.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: c818fb5057962b64aa4bae382a40fb79
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/StreamingAssets/Audio.meta b/Assets/StreamingAssets/Audio.meta
new file mode 100644
index 000000000..65279581c
--- /dev/null
+++ b/Assets/StreamingAssets/Audio.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: c457b87776989534592b4efac4cf99ed
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/StreamingAssets/Audio/GeneratedSoundBanks.meta b/Assets/StreamingAssets/Audio/GeneratedSoundBanks.meta
new file mode 100644
index 000000000..1b3f564d2
--- /dev/null
+++ b/Assets/StreamingAssets/Audio/GeneratedSoundBanks.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 6322012e1a2a10a458fe1202b9f00a29
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/StreamingAssets/Audio/GeneratedSoundBanks/Wwise_IDs.h b/Assets/StreamingAssets/Audio/GeneratedSoundBanks/Wwise_IDs.h
new file mode 100644
index 000000000..310fc475e
--- /dev/null
+++ b/Assets/StreamingAssets/Audio/GeneratedSoundBanks/Wwise_IDs.h
@@ -0,0 +1,43 @@
+/////////////////////////////////////////////////////////////////////////////////////////////////////
+//
+// Audiokinetic Wwise generated include file. Do not edit.
+//
+/////////////////////////////////////////////////////////////////////////////////////////////////////
+
+#ifndef __WWISE_IDS_H__
+#define __WWISE_IDS_H__
+
+#include
+
+namespace AK
+{
+ namespace EVENTS
+ {
+ static const AkUniqueID DROP = 1878686274U;
+ static const AkUniqueID EQUIP = 2412608643U;
+ static const AkUniqueID PICKUP = 3978245845U;
+ static const AkUniqueID UI_FAIL = 3050276906U;
+ static const AkUniqueID UI_SUCCESS = 981465891U;
+ static const AkUniqueID UNEQUIP = 588409068U;
+ } // namespace EVENTS
+
+ namespace BANKS
+ {
+ static const AkUniqueID INIT = 1355168291U;
+ static const AkUniqueID UI = 1551306167U;
+ } // namespace BANKS
+
+ namespace BUSSES
+ {
+ static const AkUniqueID MASTER_AUDIO_BUS = 3803692087U;
+ } // namespace BUSSES
+
+ namespace AUDIO_DEVICES
+ {
+ static const AkUniqueID NO_OUTPUT = 2317455096U;
+ static const AkUniqueID SYSTEM = 3859886410U;
+ } // namespace AUDIO_DEVICES
+
+}// namespace AK
+
+#endif // __WWISE_IDS_H__
diff --git a/Assets/StreamingAssets/Audio/GeneratedSoundBanks/Wwise_IDs.h.meta b/Assets/StreamingAssets/Audio/GeneratedSoundBanks/Wwise_IDs.h.meta
new file mode 100644
index 000000000..53f7efa0a
--- /dev/null
+++ b/Assets/StreamingAssets/Audio/GeneratedSoundBanks/Wwise_IDs.h.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: afcfe58e0d900b041ac94804f35e1a3a
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/StreamingAssets/desc.txt b/Assets/StreamingAssets/desc.txt
new file mode 100644
index 000000000..da7a53c78
--- /dev/null
+++ b/Assets/StreamingAssets/desc.txt
@@ -0,0 +1 @@
+AK: Do not delete the folder (StreamingAssets) of this file. The folder is required in the Wwise Unity Integration to avoid DirectoryNotFoundException on Unity Editor for Windows when there is no such a folder in the active Unity project.
\ No newline at end of file
diff --git a/Assets/StreamingAssets/desc.txt.meta b/Assets/StreamingAssets/desc.txt.meta
new file mode 100644
index 000000000..0a482a586
--- /dev/null
+++ b/Assets/StreamingAssets/desc.txt.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 9b864f84ae0f9c047b55031c174cc691
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise.meta b/Assets/Wwise.meta
new file mode 100644
index 000000000..c9ffe63ce
--- /dev/null
+++ b/Assets/Wwise.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: f6bd1e7de98f4ec42bd5f8801681e5e9
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment.meta b/Assets/Wwise/Deployment.meta
new file mode 100644
index 000000000..49ebd5dbf
--- /dev/null
+++ b/Assets/Wwise/Deployment.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: c3555f9897037b24f98da189e619b1f4
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API.meta b/Assets/Wwise/Deployment/API.meta
new file mode 100644
index 000000000..0a772c160
--- /dev/null
+++ b/Assets/Wwise/Deployment/API.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 0c9efb7ccc7e4f34eba0dbf754fd7973
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated.meta b/Assets/Wwise/Deployment/API/Generated.meta
new file mode 100644
index 000000000..939ab05d1
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: ffcde2add0efe794ca3f04b79ca2c54c
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common.meta b/Assets/Wwise/Deployment/API/Generated/Common.meta
new file mode 100644
index 000000000..852d4586c
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 984a6869d50ae124c934e124fb24f312
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AKRESULT.cs b/Assets/Wwise/Deployment/API/Generated/Common/AKRESULT.cs
new file mode 100644
index 000000000..85ac64172
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AKRESULT.cs
@@ -0,0 +1,81 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AKRESULT {
+ AK_NotImplemented = 0,
+ AK_Success = 1,
+ AK_Fail = 2,
+ AK_PartialSuccess = 3,
+ AK_NotCompatible = 4,
+ AK_AlreadyConnected = 5,
+ AK_InvalidFile = 7,
+ AK_AudioFileHeaderTooLarge = 8,
+ AK_MaxReached = 9,
+ AK_InvalidID = 14,
+ AK_IDNotFound = 15,
+ AK_InvalidInstanceID = 16,
+ AK_NoMoreData = 17,
+ AK_InvalidStateGroup = 20,
+ AK_ChildAlreadyHasAParent = 21,
+ AK_InvalidLanguage = 22,
+ AK_CannotAddItseflAsAChild = 23,
+ AK_InvalidParameter = 31,
+ AK_ElementAlreadyInList = 35,
+ AK_PathNotFound = 36,
+ AK_PathNoVertices = 37,
+ AK_PathNotRunning = 38,
+ AK_PathNotPaused = 39,
+ AK_PathNodeAlreadyInList = 40,
+ AK_PathNodeNotInList = 41,
+ AK_DataNeeded = 43,
+ AK_NoDataNeeded = 44,
+ AK_DataReady = 45,
+ AK_NoDataReady = 46,
+ AK_InsufficientMemory = 52,
+ AK_Cancelled = 53,
+ AK_UnknownBankID = 54,
+ AK_BankReadError = 56,
+ AK_InvalidSwitchType = 57,
+ AK_FormatNotReady = 63,
+ AK_WrongBankVersion = 64,
+ AK_FileNotFound = 66,
+ AK_DeviceNotReady = 67,
+ AK_BankAlreadyLoaded = 69,
+ AK_RenderedFX = 71,
+ AK_ProcessNeeded = 72,
+ AK_ProcessDone = 73,
+ AK_MemManagerNotInitialized = 74,
+ AK_StreamMgrNotInitialized = 75,
+ AK_SSEInstructionsNotSupported = 76,
+ AK_Busy = 77,
+ AK_UnsupportedChannelConfig = 78,
+ AK_PluginMediaNotAvailable = 79,
+ AK_MustBeVirtualized = 80,
+ AK_CommandTooLarge = 81,
+ AK_RejectedByFilter = 82,
+ AK_InvalidCustomPlatformName = 83,
+ AK_DLLCannotLoad = 84,
+ AK_DLLPathNotFound = 85,
+ AK_NoJavaVM = 86,
+ AK_OpenSLError = 87,
+ AK_PluginNotRegistered = 88,
+ AK_DataAlignmentError = 89,
+ AK_DeviceNotCompatible = 90,
+ AK_DuplicateUniqueID = 91,
+ AK_InitBankNotLoaded = 92,
+ AK_DeviceNotFound = 93,
+ AK_PlayingIDNotFound = 94,
+ AK_InvalidFloatValue = 95,
+ AK_FileFormatMismatch = 96,
+ AK_NoDistinctListener = 97
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AKRESULT.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AKRESULT.cs.meta
new file mode 100644
index 000000000..e12348b98
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AKRESULT.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: be12f857e76ce9943a7636d14862ef2e
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/Ak3DPositionType.cs b/Assets/Wwise/Deployment/API/Generated/Common/Ak3DPositionType.cs
new file mode 100644
index 000000000..4ba5f818e
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/Ak3DPositionType.cs
@@ -0,0 +1,18 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum Ak3DPositionType {
+ AK_3DPositionType_Emitter = 0,
+ AK_3DPositionType_EmitterWithAutomation = 1,
+ AK_3DPositionType_ListenerWithAutomation = 2
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/Ak3DPositionType.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/Ak3DPositionType.cs.meta
new file mode 100644
index 000000000..ed949cc41
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/Ak3DPositionType.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 6c6b4bf4927a5fc4ebb96d3b3e6782aa
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/Ak3DSpatializationMode.cs b/Assets/Wwise/Deployment/API/Generated/Common/Ak3DSpatializationMode.cs
new file mode 100644
index 000000000..ef2ea2a5d
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/Ak3DSpatializationMode.cs
@@ -0,0 +1,18 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum Ak3DSpatializationMode {
+ AK_SpatializationMode_None = 0,
+ AK_SpatializationMode_PositionOnly = 1,
+ AK_SpatializationMode_PositionAndOrientation = 2
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/Ak3DSpatializationMode.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/Ak3DSpatializationMode.cs.meta
new file mode 100644
index 000000000..f239df94b
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/Ak3DSpatializationMode.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: dea89fb38739e4646ad2ffd06ddc8425
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkAcousticSurface.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkAcousticSurface.cs
new file mode 100644
index 000000000..f231f0bea
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkAcousticSurface.cs
@@ -0,0 +1,69 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkAcousticSurface : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkAcousticSurface(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkAcousticSurface obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkAcousticSurface() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkAcousticSurface(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkAcousticSurface() : this(AkSoundEnginePINVOKE.CSharp_new_AkAcousticSurface(), true) {
+ }
+
+ public uint textureID { set { AkSoundEnginePINVOKE.CSharp_AkAcousticSurface_textureID_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkAcousticSurface_textureID_get(swigCPtr); }
+ }
+
+ public float occlusion { set { AkSoundEnginePINVOKE.CSharp_AkAcousticSurface_occlusion_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkAcousticSurface_occlusion_get(swigCPtr); }
+ }
+
+ public string strName { set { AkSoundEnginePINVOKE.CSharp_AkAcousticSurface_strName_set(swigCPtr, value); } get { return AkSoundEngine.StringFromIntPtrString(AkSoundEnginePINVOKE.CSharp_AkAcousticSurface_strName_get(swigCPtr)); }
+ }
+
+ public void Clear() { AkSoundEnginePINVOKE.CSharp_AkAcousticSurface_Clear(swigCPtr); }
+
+ public void DeleteName() { AkSoundEnginePINVOKE.CSharp_AkAcousticSurface_DeleteName(swigCPtr); }
+
+ public static int GetSizeOf() { return AkSoundEnginePINVOKE.CSharp_AkAcousticSurface_GetSizeOf(); }
+
+ public void Clone(AkAcousticSurface other) { AkSoundEnginePINVOKE.CSharp_AkAcousticSurface_Clone(swigCPtr, AkAcousticSurface.getCPtr(other)); }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkAcousticSurface.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkAcousticSurface.cs.meta
new file mode 100644
index 000000000..c4f198331
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkAcousticSurface.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a53db2988b0b4a542bf16918fc9b7d1b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkActionOnEventType.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkActionOnEventType.cs
new file mode 100644
index 000000000..a9186c9f3
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkActionOnEventType.cs
@@ -0,0 +1,20 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkActionOnEventType {
+ AkActionOnEventType_Stop = 0,
+ AkActionOnEventType_Pause = 1,
+ AkActionOnEventType_Resume = 2,
+ AkActionOnEventType_Break = 3,
+ AkActionOnEventType_ReleaseEnvelope = 4
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkActionOnEventType.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkActionOnEventType.cs.meta
new file mode 100644
index 000000000..a2e375480
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkActionOnEventType.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e9584663b54a1b14b970d918c6683ee1
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkAudioDeviceState.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioDeviceState.cs
new file mode 100644
index 000000000..4022ba3da
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioDeviceState.cs
@@ -0,0 +1,21 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkAudioDeviceState {
+ AkDeviceState_Unknown = 0,
+ AkDeviceState_Active = 1 << 0,
+ AkDeviceState_Disabled = 1 << 1,
+ AkDeviceState_NotPresent = 1 << 2,
+ AkDeviceState_Unplugged = 1 << 3,
+ AkDeviceState_All = AkDeviceState_Active|AkDeviceState_Disabled|AkDeviceState_NotPresent|AkDeviceState_Unplugged
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkAudioDeviceState.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioDeviceState.cs.meta
new file mode 100644
index 000000000..2d25fcba3
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioDeviceState.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4b883402ba621044c9258a9be864d90a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkAudioFormat.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioFormat.cs
new file mode 100644
index 000000000..9d18d738c
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioFormat.cs
@@ -0,0 +1,89 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkAudioFormat : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkAudioFormat(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkAudioFormat obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkAudioFormat() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkAudioFormat(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public uint uSampleRate { set { AkSoundEnginePINVOKE.CSharp_AkAudioFormat_uSampleRate_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkAudioFormat_uSampleRate_get(swigCPtr); }
+ }
+
+ public AkChannelConfig channelConfig { set { AkSoundEnginePINVOKE.CSharp_AkAudioFormat_channelConfig_set(swigCPtr, AkChannelConfig.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkAudioFormat_channelConfig_get(swigCPtr);
+ AkChannelConfig ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkChannelConfig(cPtr, false);
+ return ret;
+ }
+ }
+
+ public uint uBitsPerSample { set { AkSoundEnginePINVOKE.CSharp_AkAudioFormat_uBitsPerSample_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkAudioFormat_uBitsPerSample_get(swigCPtr); }
+ }
+
+ public uint uBlockAlign { set { AkSoundEnginePINVOKE.CSharp_AkAudioFormat_uBlockAlign_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkAudioFormat_uBlockAlign_get(swigCPtr); }
+ }
+
+ public uint uTypeID { set { AkSoundEnginePINVOKE.CSharp_AkAudioFormat_uTypeID_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkAudioFormat_uTypeID_get(swigCPtr); }
+ }
+
+ public uint uInterleaveID { set { AkSoundEnginePINVOKE.CSharp_AkAudioFormat_uInterleaveID_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkAudioFormat_uInterleaveID_get(swigCPtr); }
+ }
+
+ public uint GetNumChannels() { return AkSoundEnginePINVOKE.CSharp_AkAudioFormat_GetNumChannels(swigCPtr); }
+
+ public uint GetBitsPerSample() { return AkSoundEnginePINVOKE.CSharp_AkAudioFormat_GetBitsPerSample(swigCPtr); }
+
+ public uint GetBlockAlign() { return AkSoundEnginePINVOKE.CSharp_AkAudioFormat_GetBlockAlign(swigCPtr); }
+
+ public uint GetTypeID() { return AkSoundEnginePINVOKE.CSharp_AkAudioFormat_GetTypeID(swigCPtr); }
+
+ public uint GetInterleaveID() { return AkSoundEnginePINVOKE.CSharp_AkAudioFormat_GetInterleaveID(swigCPtr); }
+
+ public void SetAll(uint in_uSampleRate, AkChannelConfig in_channelConfig, uint in_uBitsPerSample, uint in_uBlockAlign, uint in_uTypeID, uint in_uInterleaveID) { AkSoundEnginePINVOKE.CSharp_AkAudioFormat_SetAll(swigCPtr, in_uSampleRate, AkChannelConfig.getCPtr(in_channelConfig), in_uBitsPerSample, in_uBlockAlign, in_uTypeID, in_uInterleaveID); }
+
+ public bool IsChannelConfigSupported() { return AkSoundEnginePINVOKE.CSharp_AkAudioFormat_IsChannelConfigSupported(swigCPtr); }
+
+ public AkAudioFormat() : this(AkSoundEnginePINVOKE.CSharp_new_AkAudioFormat(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkAudioFormat.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioFormat.cs.meta
new file mode 100644
index 000000000..ef5c61574
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioFormat.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: fe3bedc0739a6e2409dabc2128d6ecff
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkAudioInterruptionCallbackInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioInterruptionCallbackInfo.cs
new file mode 100644
index 000000000..18f24e8a2
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioInterruptionCallbackInfo.cs
@@ -0,0 +1,55 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkAudioInterruptionCallbackInfo : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkAudioInterruptionCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkAudioInterruptionCallbackInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkAudioInterruptionCallbackInfo() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkAudioInterruptionCallbackInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public bool bEnterInterruption { get { return AkSoundEnginePINVOKE.CSharp_AkAudioInterruptionCallbackInfo_bEnterInterruption_get(swigCPtr); }
+ }
+
+ public AkAudioInterruptionCallbackInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkAudioInterruptionCallbackInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkAudioInterruptionCallbackInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioInterruptionCallbackInfo.cs.meta
new file mode 100644
index 000000000..6cc2399b6
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioInterruptionCallbackInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9621c483e77aaae46912341e9b10133a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkAudioSettings.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioSettings.cs
new file mode 100644
index 000000000..c25a85aa0
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioSettings.cs
@@ -0,0 +1,58 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkAudioSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkAudioSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkAudioSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkAudioSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkAudioSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public uint uNumSamplesPerFrame { set { AkSoundEnginePINVOKE.CSharp_AkAudioSettings_uNumSamplesPerFrame_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkAudioSettings_uNumSamplesPerFrame_get(swigCPtr); }
+ }
+
+ public uint uNumSamplesPerSecond { set { AkSoundEnginePINVOKE.CSharp_AkAudioSettings_uNumSamplesPerSecond_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkAudioSettings_uNumSamplesPerSecond_get(swigCPtr); }
+ }
+
+ public AkAudioSettings() : this(AkSoundEnginePINVOKE.CSharp_new_AkAudioSettings(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkAudioSettings.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioSettings.cs.meta
new file mode 100644
index 000000000..98a614bc1
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioSettings.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 97b02c783899f5646844a0adeb359cc9
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkAudioSourceChangeCallbackInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioSourceChangeCallbackInfo.cs
new file mode 100644
index 000000000..eab716803
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioSourceChangeCallbackInfo.cs
@@ -0,0 +1,55 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkAudioSourceChangeCallbackInfo : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkAudioSourceChangeCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkAudioSourceChangeCallbackInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkAudioSourceChangeCallbackInfo() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkAudioSourceChangeCallbackInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public bool bOtherAudioPlaying { get { return AkSoundEnginePINVOKE.CSharp_AkAudioSourceChangeCallbackInfo_bOtherAudioPlaying_get(swigCPtr); }
+ }
+
+ public AkAudioSourceChangeCallbackInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkAudioSourceChangeCallbackInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkAudioSourceChangeCallbackInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioSourceChangeCallbackInfo.cs.meta
new file mode 100644
index 000000000..fdfa78e54
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkAudioSourceChangeCallbackInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 5cbb6d11a8df2fb45b607ae5dd17ff0b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkAuxSendValue.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkAuxSendValue.cs
new file mode 100644
index 000000000..259ca4a66
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkAuxSendValue.cs
@@ -0,0 +1,76 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkAuxSendValue : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkAuxSendValue(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkAuxSendValue obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkAuxSendValue() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkAuxSendValue(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public ulong listenerID { set { AkSoundEnginePINVOKE.CSharp_AkAuxSendValue_listenerID_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkAuxSendValue_listenerID_get(swigCPtr); }
+ }
+
+ public uint auxBusID { set { AkSoundEnginePINVOKE.CSharp_AkAuxSendValue_auxBusID_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkAuxSendValue_auxBusID_get(swigCPtr); }
+ }
+
+ public float fControlValue { set { AkSoundEnginePINVOKE.CSharp_AkAuxSendValue_fControlValue_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkAuxSendValue_fControlValue_get(swigCPtr); }
+ }
+
+ public void Set(UnityEngine.GameObject listener, uint id, float value) {
+
+ var listener_id = AkSoundEngine.GetAkGameObjectID(listener);
+ AkSoundEngine.PreGameObjectAPICall(listener, listener_id);
+
+ { AkSoundEnginePINVOKE.CSharp_AkAuxSendValue_Set(swigCPtr, listener_id, id, value); }
+ }
+
+ public bool IsSame(UnityEngine.GameObject listener, uint id) {
+
+ var listener_id = AkSoundEngine.GetAkGameObjectID(listener);
+ AkSoundEngine.PreGameObjectAPICall(listener, listener_id);
+
+ { return AkSoundEnginePINVOKE.CSharp_AkAuxSendValue_IsSame(swigCPtr, listener_id, id); }
+ }
+
+ public static int GetSizeOf() { return AkSoundEnginePINVOKE.CSharp_AkAuxSendValue_GetSizeOf(); }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkAuxSendValue.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkAuxSendValue.cs.meta
new file mode 100644
index 000000000..604a473c5
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkAuxSendValue.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: de42b0e06a8b9ec41a9da98bef2437ed
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkBankCallbackInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkBankCallbackInfo.cs
new file mode 100644
index 000000000..da841c946
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkBankCallbackInfo.cs
@@ -0,0 +1,61 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkBankCallbackInfo : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkBankCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkBankCallbackInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkBankCallbackInfo() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkBankCallbackInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public uint bankID { get { return AkSoundEnginePINVOKE.CSharp_AkBankCallbackInfo_bankID_get(swigCPtr); }
+ }
+
+ public global::System.IntPtr inMemoryBankPtr { get { return AkSoundEnginePINVOKE.CSharp_AkBankCallbackInfo_inMemoryBankPtr_get(swigCPtr); }
+ }
+
+ public AKRESULT loadResult { get { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AkBankCallbackInfo_loadResult_get(swigCPtr); }
+ }
+
+ public AkBankCallbackInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkBankCallbackInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkBankCallbackInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkBankCallbackInfo.cs.meta
new file mode 100644
index 000000000..723da2015
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkBankCallbackInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 85f55c2d82366694c94756a1dd350057
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkBankContent.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkBankContent.cs
new file mode 100644
index 000000000..c5e7ef9a9
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkBankContent.cs
@@ -0,0 +1,17 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkBankContent {
+ AkBankContent_StructureOnly,
+ AkBankContent_All
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkBankContent.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkBankContent.cs.meta
new file mode 100644
index 000000000..4a1017ad3
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkBankContent.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 009731e54ee91e74c969d6b687561512
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkBusHierarchyFlags.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkBusHierarchyFlags.cs
new file mode 100644
index 000000000..ead35e4c1
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkBusHierarchyFlags.cs
@@ -0,0 +1,18 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkBusHierarchyFlags {
+ AkBusHierarchy_Primary = 1 << 0,
+ AkBusHierarchy_Secondary = 1 << 1,
+ AkBusHierarchy_IsMaster = 1 << 7
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkBusHierarchyFlags.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkBusHierarchyFlags.cs.meta
new file mode 100644
index 000000000..ba8a87425
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkBusHierarchyFlags.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: caae90d09c3df2940a46dc008540a75c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackInfo.cs
new file mode 100644
index 000000000..3bf8a435b
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackInfo.cs
@@ -0,0 +1,58 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkCallbackInfo : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkCallbackInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkCallbackInfo() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkCallbackInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public global::System.IntPtr pCookie { get { return AkSoundEnginePINVOKE.CSharp_AkCallbackInfo_pCookie_get(swigCPtr); }
+ }
+
+ public ulong gameObjID { get { return AkSoundEnginePINVOKE.CSharp_AkCallbackInfo_gameObjID_get(swigCPtr); }
+ }
+
+ public AkCallbackInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkCallbackInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackInfo.cs.meta
new file mode 100644
index 000000000..508165e6a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: fb465a3bb3aeb8640affe36a6e79d2b7
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackSerializer.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackSerializer.cs
new file mode 100644
index 000000000..55dacfe54
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackSerializer.cs
@@ -0,0 +1,64 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkCallbackSerializer : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkCallbackSerializer(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkCallbackSerializer obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkCallbackSerializer() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkCallbackSerializer(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public static AKRESULT Init(global::System.IntPtr in_pMemory, uint in_uSize) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AkCallbackSerializer_Init(in_pMemory, in_uSize); }
+
+ public static void Term() { AkSoundEnginePINVOKE.CSharp_AkCallbackSerializer_Term(); }
+
+ public static global::System.IntPtr Lock() { return AkSoundEnginePINVOKE.CSharp_AkCallbackSerializer_Lock(); }
+
+ public static void Unlock() { AkSoundEnginePINVOKE.CSharp_AkCallbackSerializer_Unlock(); }
+
+ public static void SetLocalOutput(uint in_uErrorLevel) { AkSoundEnginePINVOKE.CSharp_AkCallbackSerializer_SetLocalOutput(in_uErrorLevel); }
+
+ public static AKRESULT AudioSourceChangeCallbackFunc(bool in_bOtherAudioPlaying, object in_pCookie) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AkCallbackSerializer_AudioSourceChangeCallbackFunc(in_bOtherAudioPlaying, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); }
+
+ public AkCallbackSerializer() : this(AkSoundEnginePINVOKE.CSharp_new_AkCallbackSerializer(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackSerializer.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackSerializer.cs.meta
new file mode 100644
index 000000000..d2daec101
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackSerializer.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 65dd70b2ae7344b47ac0ddf6af83542c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackType.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackType.cs
new file mode 100644
index 000000000..949d862d5
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackType.cs
@@ -0,0 +1,40 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkCallbackType {
+ AK_EndOfEvent = 0x0001,
+ AK_EndOfDynamicSequenceItem = 0x0002,
+ AK_Marker = 0x0004,
+ AK_Duration = 0x0008,
+ AK_SpeakerVolumeMatrix = 0x0010,
+ AK_Starvation = 0x0020,
+ AK_MusicPlaylistSelect = 0x0040,
+ AK_MusicPlayStarted = 0x0080,
+ AK_MusicSyncBeat = 0x0100,
+ AK_MusicSyncBar = 0x0200,
+ AK_MusicSyncEntry = 0x0400,
+ AK_MusicSyncExit = 0x0800,
+ AK_MusicSyncGrid = 0x1000,
+ AK_MusicSyncUserCue = 0x2000,
+ AK_MusicSyncPoint = 0x4000,
+ AK_MusicSyncAll = 0x7f00,
+ AK_MIDIEvent = 0x10000,
+ AK_CallbackBits = 0xfffff,
+ AK_EnableGetSourcePlayPosition = 0x100000,
+ AK_EnableGetMusicPlayPosition = 0x200000,
+ AK_EnableGetSourceStreamBuffering = 0x400000,
+ AK_Monitoring = 0x20000000,
+ AK_AudioSourceChange = 0x23000000,
+ AK_Bank = 0x40000000,
+ AK_AudioInterruption = 0x22000000
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackType.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackType.cs.meta
new file mode 100644
index 000000000..f7c6d32e5
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkCallbackType.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 6960ad49a4f5a054ba01d0db752de081
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkChannelConfig.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelConfig.cs
new file mode 100644
index 000000000..77aa42901
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelConfig.cs
@@ -0,0 +1,92 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkChannelConfig : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkChannelConfig(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkChannelConfig obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkChannelConfig() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkChannelConfig(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public uint uNumChannels { set { AkSoundEnginePINVOKE.CSharp_AkChannelConfig_uNumChannels_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkChannelConfig_uNumChannels_get(swigCPtr); }
+ }
+
+ public uint eConfigType { set { AkSoundEnginePINVOKE.CSharp_AkChannelConfig_eConfigType_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkChannelConfig_eConfigType_get(swigCPtr); }
+ }
+
+ public uint uChannelMask { set { AkSoundEnginePINVOKE.CSharp_AkChannelConfig_uChannelMask_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkChannelConfig_uChannelMask_get(swigCPtr); }
+ }
+
+ public AkChannelConfig() : this(AkSoundEnginePINVOKE.CSharp_new_AkChannelConfig__SWIG_0(), true) {
+ }
+
+ public AkChannelConfig(uint in_uNumChannels, uint in_uChannelMask) : this(AkSoundEnginePINVOKE.CSharp_new_AkChannelConfig__SWIG_1(in_uNumChannels, in_uChannelMask), true) {
+ }
+
+ public void Clear() { AkSoundEnginePINVOKE.CSharp_AkChannelConfig_Clear(swigCPtr); }
+
+ public void SetStandard(uint in_uChannelMask) { AkSoundEnginePINVOKE.CSharp_AkChannelConfig_SetStandard(swigCPtr, in_uChannelMask); }
+
+ public void SetStandardOrAnonymous(uint in_uNumChannels, uint in_uChannelMask) { AkSoundEnginePINVOKE.CSharp_AkChannelConfig_SetStandardOrAnonymous(swigCPtr, in_uNumChannels, in_uChannelMask); }
+
+ public void SetAnonymous(uint in_uNumChannels) { AkSoundEnginePINVOKE.CSharp_AkChannelConfig_SetAnonymous(swigCPtr, in_uNumChannels); }
+
+ public void SetAmbisonic(uint in_uNumChannels) { AkSoundEnginePINVOKE.CSharp_AkChannelConfig_SetAmbisonic(swigCPtr, in_uNumChannels); }
+
+ public bool IsValid() { return AkSoundEnginePINVOKE.CSharp_AkChannelConfig_IsValid(swigCPtr); }
+
+ public uint Serialize() { return AkSoundEnginePINVOKE.CSharp_AkChannelConfig_Serialize(swigCPtr); }
+
+ public void Deserialize(uint in_uChannelConfig) { AkSoundEnginePINVOKE.CSharp_AkChannelConfig_Deserialize(swigCPtr, in_uChannelConfig); }
+
+ public AkChannelConfig RemoveLFE() {
+ AkChannelConfig ret = new AkChannelConfig(AkSoundEnginePINVOKE.CSharp_AkChannelConfig_RemoveLFE(swigCPtr), true);
+ return ret;
+ }
+
+ public AkChannelConfig RemoveCenter() {
+ AkChannelConfig ret = new AkChannelConfig(AkSoundEnginePINVOKE.CSharp_AkChannelConfig_RemoveCenter(swigCPtr), true);
+ return ret;
+ }
+
+ public bool IsChannelConfigSupported() { return AkSoundEnginePINVOKE.CSharp_AkChannelConfig_IsChannelConfigSupported(swigCPtr); }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkChannelConfig.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelConfig.cs.meta
new file mode 100644
index 000000000..35b479a7d
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelConfig.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 6312c92b5d7ed344e8c74756831185aa
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkChannelConfigType.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelConfigType.cs
new file mode 100644
index 000000000..26f11a2a0
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelConfigType.cs
@@ -0,0 +1,18 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkChannelConfigType {
+ AK_ChannelConfigType_Anonymous = 0x0,
+ AK_ChannelConfigType_Standard = 0x1,
+ AK_ChannelConfigType_Ambisonic = 0x2
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkChannelConfigType.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelConfigType.cs.meta
new file mode 100644
index 000000000..e95389755
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelConfigType.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a030a8e47c381e54b852e60412682ecc
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkChannelEmitter.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelEmitter.cs
new file mode 100644
index 000000000..08ec19b85
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelEmitter.cs
@@ -0,0 +1,60 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkChannelEmitter : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkChannelEmitter(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkChannelEmitter obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkChannelEmitter() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkChannelEmitter(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkTransform position { set { AkSoundEnginePINVOKE.CSharp_AkChannelEmitter_position_set(swigCPtr, AkTransform.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkChannelEmitter_position_get(swigCPtr);
+ AkTransform ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkTransform(cPtr, false);
+ return ret;
+ }
+ }
+
+ public uint uInputChannels { set { AkSoundEnginePINVOKE.CSharp_AkChannelEmitter_uInputChannels_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkChannelEmitter_uInputChannels_get(swigCPtr); }
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkChannelEmitter.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelEmitter.cs.meta
new file mode 100644
index 000000000..da05704a2
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelEmitter.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 779cc02d97f29404799dc580470dbcdf
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkChannelOrdering.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelOrdering.cs
new file mode 100644
index 000000000..a590583c8
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelOrdering.cs
@@ -0,0 +1,17 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkChannelOrdering {
+ ChannelOrdering_Standard,
+ ChannelOrdering_RunTime
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkChannelOrdering.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelOrdering.cs.meta
new file mode 100644
index 000000000..47139bf91
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkChannelOrdering.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 881aa347d38c79746bb2ff9ac83bbc6f
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkConnectionType.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkConnectionType.cs
new file mode 100644
index 000000000..56fee2c46
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkConnectionType.cs
@@ -0,0 +1,19 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkConnectionType {
+ ConnectionType_Direct = 0x0,
+ ConnectionType_GameDefSend = 0x1,
+ ConnectionType_UserDefSend = 0x2,
+ ConnectionType_ReflectionsSend = 0x3
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkConnectionType.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkConnectionType.cs.meta
new file mode 100644
index 000000000..d791bff7d
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkConnectionType.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: d94922171c2ba884ca44aa673c4792cb
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkCurveInterpolation.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkCurveInterpolation.cs
new file mode 100644
index 000000000..7b9a80590
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkCurveInterpolation.cs
@@ -0,0 +1,26 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkCurveInterpolation {
+ AkCurveInterpolation_Log3 = 0,
+ AkCurveInterpolation_Sine = 1,
+ AkCurveInterpolation_Log1 = 2,
+ AkCurveInterpolation_InvSCurve = 3,
+ AkCurveInterpolation_Linear = 4,
+ AkCurveInterpolation_SCurve = 5,
+ AkCurveInterpolation_Exp1 = 6,
+ AkCurveInterpolation_SineRecip = 7,
+ AkCurveInterpolation_Exp3 = 8,
+ AkCurveInterpolation_LastFadeCurve = 8,
+ AkCurveInterpolation_Constant = 9
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkCurveInterpolation.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkCurveInterpolation.cs.meta
new file mode 100644
index 000000000..a2c6165fe
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkCurveInterpolation.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a1d45d50b2fbcd24c8a724f72a08fedc
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkDeviceDescription.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkDeviceDescription.cs
new file mode 100644
index 000000000..f39cfaae9
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkDeviceDescription.cs
@@ -0,0 +1,70 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkDeviceDescription : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkDeviceDescription(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkDeviceDescription obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkDeviceDescription() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkDeviceDescription(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public uint idDevice { set { AkSoundEnginePINVOKE.CSharp_AkDeviceDescription_idDevice_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDeviceDescription_idDevice_get(swigCPtr); }
+ }
+
+ public string deviceName { set { AkSoundEnginePINVOKE.CSharp_AkDeviceDescription_deviceName_set(swigCPtr, value); } get { return AkSoundEngine.StringFromIntPtrOSString(AkSoundEnginePINVOKE.CSharp_AkDeviceDescription_deviceName_get(swigCPtr)); }
+ }
+
+ public AkAudioDeviceState deviceStateMask { set { AkSoundEnginePINVOKE.CSharp_AkDeviceDescription_deviceStateMask_set(swigCPtr, (int)value); } get { return (AkAudioDeviceState)AkSoundEnginePINVOKE.CSharp_AkDeviceDescription_deviceStateMask_get(swigCPtr); }
+ }
+
+ public bool isDefaultDevice { set { AkSoundEnginePINVOKE.CSharp_AkDeviceDescription_isDefaultDevice_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDeviceDescription_isDefaultDevice_get(swigCPtr); }
+ }
+
+ public void Clear() { AkSoundEnginePINVOKE.CSharp_AkDeviceDescription_Clear(swigCPtr); }
+
+ public static int GetSizeOf() { return AkSoundEnginePINVOKE.CSharp_AkDeviceDescription_GetSizeOf(); }
+
+ public void Clone(AkDeviceDescription other) { AkSoundEnginePINVOKE.CSharp_AkDeviceDescription_Clone(swigCPtr, AkDeviceDescription.getCPtr(other)); }
+
+ public AkDeviceDescription() : this(AkSoundEnginePINVOKE.CSharp_new_AkDeviceDescription(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkDeviceDescription.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkDeviceDescription.cs.meta
new file mode 100644
index 000000000..14760b739
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkDeviceDescription.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 6a7e6745abc40574cadd9dec44ca3fa8
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkDeviceSettings.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkDeviceSettings.cs
new file mode 100644
index 000000000..a6c021dab
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkDeviceSettings.cs
@@ -0,0 +1,87 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkDeviceSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkDeviceSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkDeviceSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkDeviceSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkDeviceSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public global::System.IntPtr pIOMemory { set { AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_pIOMemory_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_pIOMemory_get(swigCPtr); }
+ }
+
+ public uint uIOMemorySize { set { AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_uIOMemorySize_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_uIOMemorySize_get(swigCPtr); }
+ }
+
+ public uint uIOMemoryAlignment { set { AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_uIOMemoryAlignment_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_uIOMemoryAlignment_get(swigCPtr); }
+ }
+
+ public uint ePoolAttributes { set { AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_ePoolAttributes_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_ePoolAttributes_get(swigCPtr); }
+ }
+
+ public uint uGranularity { set { AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_uGranularity_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_uGranularity_get(swigCPtr); }
+ }
+
+ public uint uSchedulerTypeFlags { set { AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_uSchedulerTypeFlags_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_uSchedulerTypeFlags_get(swigCPtr); }
+ }
+
+ public AkThreadProperties threadProperties { set { AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_threadProperties_set(swigCPtr, AkThreadProperties.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_threadProperties_get(swigCPtr);
+ AkThreadProperties ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkThreadProperties(cPtr, false);
+ return ret;
+ }
+ }
+
+ public float fTargetAutoStmBufferLength { set { AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_fTargetAutoStmBufferLength_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_fTargetAutoStmBufferLength_get(swigCPtr); }
+ }
+
+ public uint uMaxConcurrentIO { set { AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_uMaxConcurrentIO_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_uMaxConcurrentIO_get(swigCPtr); }
+ }
+
+ public bool bUseStreamCache { set { AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_bUseStreamCache_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_bUseStreamCache_get(swigCPtr); }
+ }
+
+ public uint uMaxCachePinnedBytes { set { AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_uMaxCachePinnedBytes_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDeviceSettings_uMaxCachePinnedBytes_get(swigCPtr); }
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkDeviceSettings.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkDeviceSettings.cs.meta
new file mode 100644
index 000000000..fb41301fe
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkDeviceSettings.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b3e47d127838f394baa2a0050d97afa9
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkDiffractionFlags.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkDiffractionFlags.cs
new file mode 100644
index 000000000..05a5a4619
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkDiffractionFlags.cs
@@ -0,0 +1,19 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkDiffractionFlags {
+ DiffractionFlags_UseBuiltInParam = 1 << 0,
+ DiffractionFlags_UseObstruction = 1 << 1,
+ DiffractionFlags_CalcEmitterVirtualPosition = 1 << 3,
+ DefaultDiffractionFlags = DiffractionFlags_UseBuiltInParam|DiffractionFlags_UseObstruction|DiffractionFlags_CalcEmitterVirtualPosition
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkDiffractionFlags.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkDiffractionFlags.cs.meta
new file mode 100644
index 000000000..d8e7bf30c
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkDiffractionFlags.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: fe66cffa0179e084d960d46c715dd153
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkDiffractionPathInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkDiffractionPathInfo.cs
new file mode 100644
index 000000000..a4528cd9d
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkDiffractionPathInfo.cs
@@ -0,0 +1,85 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkDiffractionPathInfo : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkDiffractionPathInfo(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkDiffractionPathInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkDiffractionPathInfo() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkDiffractionPathInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkTransform virtualPos { set { AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_virtualPos_set(swigCPtr, AkTransform.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_virtualPos_get(swigCPtr);
+ AkTransform ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkTransform(cPtr, false);
+ return ret;
+ }
+ }
+
+ public uint nodeCount { set { AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_nodeCount_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_nodeCount_get(swigCPtr); }
+ }
+
+ public float diffraction { set { AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_diffraction_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_diffraction_get(swigCPtr); }
+ }
+
+ public float totLength { set { AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_totLength_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_totLength_get(swigCPtr); }
+ }
+
+ public float obstructionValue { set { AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_obstructionValue_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_obstructionValue_get(swigCPtr); }
+ }
+
+ public static int GetSizeOf() { return AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_GetSizeOf(); }
+
+ public UnityEngine.Vector3 GetNodes(uint idx) { return AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_GetNodes(swigCPtr, idx); }
+
+ public float GetAngles(uint idx) { return AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_GetAngles(swigCPtr, idx); }
+
+ public ulong GetPortals(uint idx) { return AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_GetPortals(swigCPtr, idx); }
+
+ public ulong GetRooms(uint idx) { return AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_GetRooms(swigCPtr, idx); }
+
+ public void Clone(AkDiffractionPathInfo other) { AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_Clone(swigCPtr, AkDiffractionPathInfo.getCPtr(other)); }
+
+ public AkDiffractionPathInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkDiffractionPathInfo(), true) {
+ }
+
+ public const uint kMaxNodes = 8;
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkDiffractionPathInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkDiffractionPathInfo.cs.meta
new file mode 100644
index 000000000..607213069
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkDiffractionPathInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 696fa6b66d76ed64c9599d0ef2911098
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkDurationCallbackInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkDurationCallbackInfo.cs
new file mode 100644
index 000000000..7fcc5571d
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkDurationCallbackInfo.cs
@@ -0,0 +1,66 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkDurationCallbackInfo : AkEventCallbackInfo {
+ private global::System.IntPtr swigCPtr;
+
+ internal AkDurationCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(AkSoundEnginePINVOKE.CSharp_AkDurationCallbackInfo_SWIGUpcast(cPtr), cMemoryOwn) {
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkDurationCallbackInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal override void setCPtr(global::System.IntPtr cPtr) {
+ base.setCPtr(AkSoundEnginePINVOKE.CSharp_AkDurationCallbackInfo_SWIGUpcast(cPtr));
+ swigCPtr = cPtr;
+ }
+
+ ~AkDurationCallbackInfo() {
+ Dispose();
+ }
+
+ public override void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkDurationCallbackInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ base.Dispose();
+ }
+ }
+
+ public float fDuration { get { return AkSoundEnginePINVOKE.CSharp_AkDurationCallbackInfo_fDuration_get(swigCPtr); }
+ }
+
+ public float fEstimatedDuration { get { return AkSoundEnginePINVOKE.CSharp_AkDurationCallbackInfo_fEstimatedDuration_get(swigCPtr); }
+ }
+
+ public uint audioNodeID { get { return AkSoundEnginePINVOKE.CSharp_AkDurationCallbackInfo_audioNodeID_get(swigCPtr); }
+ }
+
+ public uint mediaID { get { return AkSoundEnginePINVOKE.CSharp_AkDurationCallbackInfo_mediaID_get(swigCPtr); }
+ }
+
+ public bool bStreaming { get { return AkSoundEnginePINVOKE.CSharp_AkDurationCallbackInfo_bStreaming_get(swigCPtr); }
+ }
+
+ public AkDurationCallbackInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkDurationCallbackInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkDurationCallbackInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkDurationCallbackInfo.cs.meta
new file mode 100644
index 000000000..add1b50c4
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkDurationCallbackInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9c1fcbba544bf7d4db250578917ca9fe
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkDynamicSequenceItemCallbackInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkDynamicSequenceItemCallbackInfo.cs
new file mode 100644
index 000000000..e60e0ed90
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkDynamicSequenceItemCallbackInfo.cs
@@ -0,0 +1,60 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkDynamicSequenceItemCallbackInfo : AkCallbackInfo {
+ private global::System.IntPtr swigCPtr;
+
+ internal AkDynamicSequenceItemCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(AkSoundEnginePINVOKE.CSharp_AkDynamicSequenceItemCallbackInfo_SWIGUpcast(cPtr), cMemoryOwn) {
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkDynamicSequenceItemCallbackInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal override void setCPtr(global::System.IntPtr cPtr) {
+ base.setCPtr(AkSoundEnginePINVOKE.CSharp_AkDynamicSequenceItemCallbackInfo_SWIGUpcast(cPtr));
+ swigCPtr = cPtr;
+ }
+
+ ~AkDynamicSequenceItemCallbackInfo() {
+ Dispose();
+ }
+
+ public override void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkDynamicSequenceItemCallbackInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ base.Dispose();
+ }
+ }
+
+ public uint playingID { get { return AkSoundEnginePINVOKE.CSharp_AkDynamicSequenceItemCallbackInfo_playingID_get(swigCPtr); }
+ }
+
+ public uint audioNodeID { get { return AkSoundEnginePINVOKE.CSharp_AkDynamicSequenceItemCallbackInfo_audioNodeID_get(swigCPtr); }
+ }
+
+ public global::System.IntPtr pCustomInfo { get { return AkSoundEnginePINVOKE.CSharp_AkDynamicSequenceItemCallbackInfo_pCustomInfo_get(swigCPtr); }
+ }
+
+ public AkDynamicSequenceItemCallbackInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkDynamicSequenceItemCallbackInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkDynamicSequenceItemCallbackInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkDynamicSequenceItemCallbackInfo.cs.meta
new file mode 100644
index 000000000..98c6ce9fb
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkDynamicSequenceItemCallbackInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 5b255f5ef44b73b4cbbb066806ed1411
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkDynamicSequenceType.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkDynamicSequenceType.cs
new file mode 100644
index 000000000..8845ee6e2
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkDynamicSequenceType.cs
@@ -0,0 +1,17 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkDynamicSequenceType {
+ DynamicSequenceType_SampleAccurate,
+ DynamicSequenceType_NormalTransition
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkDynamicSequenceType.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkDynamicSequenceType.cs.meta
new file mode 100644
index 000000000..d1a4dbe6e
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkDynamicSequenceType.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e3e503b3818602945bb590d45a19c494
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkEventCallbackInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkEventCallbackInfo.cs
new file mode 100644
index 000000000..0711fad1a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkEventCallbackInfo.cs
@@ -0,0 +1,57 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkEventCallbackInfo : AkCallbackInfo {
+ private global::System.IntPtr swigCPtr;
+
+ internal AkEventCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(AkSoundEnginePINVOKE.CSharp_AkEventCallbackInfo_SWIGUpcast(cPtr), cMemoryOwn) {
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkEventCallbackInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal override void setCPtr(global::System.IntPtr cPtr) {
+ base.setCPtr(AkSoundEnginePINVOKE.CSharp_AkEventCallbackInfo_SWIGUpcast(cPtr));
+ swigCPtr = cPtr;
+ }
+
+ ~AkEventCallbackInfo() {
+ Dispose();
+ }
+
+ public override void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkEventCallbackInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ base.Dispose();
+ }
+ }
+
+ public uint playingID { get { return AkSoundEnginePINVOKE.CSharp_AkEventCallbackInfo_playingID_get(swigCPtr); }
+ }
+
+ public uint eventID { get { return AkSoundEnginePINVOKE.CSharp_AkEventCallbackInfo_eventID_get(swigCPtr); }
+ }
+
+ public AkEventCallbackInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkEventCallbackInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkEventCallbackInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkEventCallbackInfo.cs.meta
new file mode 100644
index 000000000..a9581ed73
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkEventCallbackInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 61a17e993ee33b546bf6cc8cc6c015a5
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkExternalSourceInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkExternalSourceInfo.cs
new file mode 100644
index 000000000..d002e6abf
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkExternalSourceInfo.cs
@@ -0,0 +1,85 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkExternalSourceInfo : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkExternalSourceInfo(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkExternalSourceInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkExternalSourceInfo() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkExternalSourceInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkExternalSourceInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkExternalSourceInfo__SWIG_0(), true) {
+ }
+
+ public AkExternalSourceInfo(global::System.IntPtr in_pInMemory, uint in_uiMemorySize, uint in_iExternalSrcCookie, uint in_idCodec) : this(AkSoundEnginePINVOKE.CSharp_new_AkExternalSourceInfo__SWIG_1(in_pInMemory, in_uiMemorySize, in_iExternalSrcCookie, in_idCodec), true) {
+ }
+
+ public AkExternalSourceInfo(string in_pszFileName, uint in_iExternalSrcCookie, uint in_idCodec) : this(AkSoundEnginePINVOKE.CSharp_new_AkExternalSourceInfo__SWIG_2(in_pszFileName, in_iExternalSrcCookie, in_idCodec), true) {
+ }
+
+ public AkExternalSourceInfo(uint in_idFile, uint in_iExternalSrcCookie, uint in_idCodec) : this(AkSoundEnginePINVOKE.CSharp_new_AkExternalSourceInfo__SWIG_3(in_idFile, in_iExternalSrcCookie, in_idCodec), true) {
+ }
+
+ public void Clear() { AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_Clear(swigCPtr); }
+
+ public void Clone(AkExternalSourceInfo other) { AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_Clone(swigCPtr, AkExternalSourceInfo.getCPtr(other)); }
+
+ public static int GetSizeOf() { return AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_GetSizeOf(); }
+
+ public uint iExternalSrcCookie { set { AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_iExternalSrcCookie_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_iExternalSrcCookie_get(swigCPtr); }
+ }
+
+ public uint idCodec { set { AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_idCodec_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_idCodec_get(swigCPtr); }
+ }
+
+ public string szFile { set { AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_szFile_set(swigCPtr, value); } get { return AkSoundEngine.StringFromIntPtrOSString(AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_szFile_get(swigCPtr)); }
+ }
+
+ public global::System.IntPtr pInMemory { set { AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_pInMemory_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_pInMemory_get(swigCPtr); }
+ }
+
+ public uint uiMemorySize { set { AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_uiMemorySize_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_uiMemorySize_get(swigCPtr); }
+ }
+
+ public uint idFile { set { AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_idFile_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_idFile_get(swigCPtr); }
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkExternalSourceInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkExternalSourceInfo.cs.meta
new file mode 100644
index 000000000..6fe87b245
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkExternalSourceInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 389387270ef8b0043ac11ed9314388ea
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkFloorPlane.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkFloorPlane.cs
new file mode 100644
index 000000000..cc72f319b
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkFloorPlane.cs
@@ -0,0 +1,19 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkFloorPlane {
+ AkFloorPlane_XZ = 0,
+ AkFloorPlane_XY,
+ AkFloorPlane_YZ,
+ AkFloorPlane_Default = AkFloorPlane_XZ
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkFloorPlane.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkFloorPlane.cs.meta
new file mode 100644
index 000000000..9d7b18b4f
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkFloorPlane.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 143115023942ea242922dddb2e10a88d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkGlobalCallbackLocation.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkGlobalCallbackLocation.cs
new file mode 100644
index 000000000..38d4eb5dc
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkGlobalCallbackLocation.cs
@@ -0,0 +1,29 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkGlobalCallbackLocation {
+ AkGlobalCallbackLocation_Register = (1 << 0),
+ AkGlobalCallbackLocation_Begin = (1 << 1),
+ AkGlobalCallbackLocation_PreProcessMessageQueueForRender = (1 << 2),
+ AkGlobalCallbackLocation_PostMessagesProcessed = (1 << 3),
+ AkGlobalCallbackLocation_BeginRender = (1 << 4),
+ AkGlobalCallbackLocation_EndRender = (1 << 5),
+ AkGlobalCallbackLocation_End = (1 << 6),
+ AkGlobalCallbackLocation_Term = (1 << 7),
+ AkGlobalCallbackLocation_Monitor = (1 << 8),
+ AkGlobalCallbackLocation_MonitorRecap = (1 << 9),
+ AkGlobalCallbackLocation_Init = (1 << 10),
+ AkGlobalCallbackLocation_Suspend = (1 << 11),
+ AkGlobalCallbackLocation_WakeupFromSuspend = (1 << 12),
+ AkGlobalCallbackLocation_Num = 13
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkGlobalCallbackLocation.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkGlobalCallbackLocation.cs.meta
new file mode 100644
index 000000000..d8c48bd88
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkGlobalCallbackLocation.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 45ca4b0f05f346c46ac5c4d7fe927e09
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkGroupType.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkGroupType.cs
new file mode 100644
index 000000000..eb22c5060
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkGroupType.cs
@@ -0,0 +1,17 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkGroupType {
+ AkGroupType_Switch = 0,
+ AkGroupType_State = 1
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkGroupType.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkGroupType.cs.meta
new file mode 100644
index 000000000..73d0ccac0
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkGroupType.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 09c19c4cd8fe6484a97699d83b456ba2
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkImageSourceParams.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkImageSourceParams.cs
new file mode 100644
index 000000000..a0184e28a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkImageSourceParams.cs
@@ -0,0 +1,73 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkImageSourceParams : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkImageSourceParams(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkImageSourceParams obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkImageSourceParams() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkImageSourceParams(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkImageSourceParams() : this(AkSoundEnginePINVOKE.CSharp_new_AkImageSourceParams__SWIG_0(), true) {
+ }
+
+ public AkImageSourceParams(UnityEngine.Vector3 in_sourcePosition, float in_fDistanceScalingFactor, float in_fLevel) : this(AkSoundEnginePINVOKE.CSharp_new_AkImageSourceParams__SWIG_1(in_sourcePosition, in_fDistanceScalingFactor, in_fLevel), true) {
+ }
+
+ public UnityEngine.Vector3 sourcePosition { set { AkSoundEnginePINVOKE.CSharp_AkImageSourceParams_sourcePosition_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkImageSourceParams_sourcePosition_get(swigCPtr); }
+ }
+
+ public float fDistanceScalingFactor { set { AkSoundEnginePINVOKE.CSharp_AkImageSourceParams_fDistanceScalingFactor_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkImageSourceParams_fDistanceScalingFactor_get(swigCPtr); }
+ }
+
+ public float fLevel { set { AkSoundEnginePINVOKE.CSharp_AkImageSourceParams_fLevel_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkImageSourceParams_fLevel_get(swigCPtr); }
+ }
+
+ public float fDiffraction { set { AkSoundEnginePINVOKE.CSharp_AkImageSourceParams_fDiffraction_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkImageSourceParams_fDiffraction_get(swigCPtr); }
+ }
+
+ public byte uDiffractionEmitterSide { set { AkSoundEnginePINVOKE.CSharp_AkImageSourceParams_uDiffractionEmitterSide_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkImageSourceParams_uDiffractionEmitterSide_get(swigCPtr); }
+ }
+
+ public byte uDiffractionListenerSide { set { AkSoundEnginePINVOKE.CSharp_AkImageSourceParams_uDiffractionListenerSide_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkImageSourceParams_uDiffractionListenerSide_get(swigCPtr); }
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkImageSourceParams.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkImageSourceParams.cs.meta
new file mode 100644
index 000000000..5217bba1c
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkImageSourceParams.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 32fddd031bf16d94ab0ee7acecac5611
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkImageSourceSettings.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkImageSourceSettings.cs
new file mode 100644
index 000000000..689878310
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkImageSourceSettings.cs
@@ -0,0 +1,67 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkImageSourceSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkImageSourceSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkImageSourceSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkImageSourceSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkImageSourceSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkImageSourceSettings() : this(AkSoundEnginePINVOKE.CSharp_new_AkImageSourceSettings__SWIG_0(), true) {
+ }
+
+ public AkImageSourceSettings(UnityEngine.Vector3 in_sourcePosition, float in_fDistanceScalingFactor, float in_fLevel) : this(AkSoundEnginePINVOKE.CSharp_new_AkImageSourceSettings__SWIG_1(in_sourcePosition, in_fDistanceScalingFactor, in_fLevel), true) {
+ }
+
+ public void SetOneTexture(uint in_texture) { AkSoundEnginePINVOKE.CSharp_AkImageSourceSettings_SetOneTexture(swigCPtr, in_texture); }
+
+ public void SetName(string in_pName) { AkSoundEnginePINVOKE.CSharp_AkImageSourceSettings_SetName(swigCPtr, in_pName); }
+
+ public AkImageSourceParams params_ { set { AkSoundEnginePINVOKE.CSharp_AkImageSourceSettings_params__set(swigCPtr, AkImageSourceParams.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkImageSourceSettings_params__get(swigCPtr);
+ AkImageSourceParams ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkImageSourceParams(cPtr, false);
+ return ret;
+ }
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkImageSourceSettings.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkImageSourceSettings.cs.meta
new file mode 100644
index 000000000..042ee0069
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkImageSourceSettings.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9b599529588f6794aa7d8d38a98ee495
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkInitSettings.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkInitSettings.cs
new file mode 100644
index 000000000..850872cc5
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkInitSettings.cs
@@ -0,0 +1,99 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkInitSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkInitSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkInitSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkInitSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkInitSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public uint uMaxNumPaths { set { AkSoundEnginePINVOKE.CSharp_AkInitSettings_uMaxNumPaths_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkInitSettings_uMaxNumPaths_get(swigCPtr); }
+ }
+
+ public uint uCommandQueueSize { set { AkSoundEnginePINVOKE.CSharp_AkInitSettings_uCommandQueueSize_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkInitSettings_uCommandQueueSize_get(swigCPtr); }
+ }
+
+ public bool bEnableGameSyncPreparation { set { AkSoundEnginePINVOKE.CSharp_AkInitSettings_bEnableGameSyncPreparation_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkInitSettings_bEnableGameSyncPreparation_get(swigCPtr); }
+ }
+
+ public uint uContinuousPlaybackLookAhead { set { AkSoundEnginePINVOKE.CSharp_AkInitSettings_uContinuousPlaybackLookAhead_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkInitSettings_uContinuousPlaybackLookAhead_get(swigCPtr); }
+ }
+
+ public uint uNumSamplesPerFrame { set { AkSoundEnginePINVOKE.CSharp_AkInitSettings_uNumSamplesPerFrame_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkInitSettings_uNumSamplesPerFrame_get(swigCPtr); }
+ }
+
+ public uint uMonitorQueuePoolSize { set { AkSoundEnginePINVOKE.CSharp_AkInitSettings_uMonitorQueuePoolSize_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkInitSettings_uMonitorQueuePoolSize_get(swigCPtr); }
+ }
+
+ public AkOutputSettings settingsMainOutput { set { AkSoundEnginePINVOKE.CSharp_AkInitSettings_settingsMainOutput_set(swigCPtr, AkOutputSettings.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkInitSettings_settingsMainOutput_get(swigCPtr);
+ AkOutputSettings ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkOutputSettings(cPtr, false);
+ return ret;
+ }
+ }
+
+ public uint uMaxHardwareTimeoutMs { set { AkSoundEnginePINVOKE.CSharp_AkInitSettings_uMaxHardwareTimeoutMs_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkInitSettings_uMaxHardwareTimeoutMs_get(swigCPtr); }
+ }
+
+ public bool bUseSoundBankMgrThread { set { AkSoundEnginePINVOKE.CSharp_AkInitSettings_bUseSoundBankMgrThread_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkInitSettings_bUseSoundBankMgrThread_get(swigCPtr); }
+ }
+
+ public bool bUseLEngineThread { set { AkSoundEnginePINVOKE.CSharp_AkInitSettings_bUseLEngineThread_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkInitSettings_bUseLEngineThread_get(swigCPtr); }
+ }
+
+ public string szPluginDLLPath { set { AkSoundEnginePINVOKE.CSharp_AkInitSettings_szPluginDLLPath_set(swigCPtr, value); } get { return AkSoundEngine.StringFromIntPtrOSString(AkSoundEnginePINVOKE.CSharp_AkInitSettings_szPluginDLLPath_get(swigCPtr)); }
+ }
+
+ public AkFloorPlane eFloorPlane { set { AkSoundEnginePINVOKE.CSharp_AkInitSettings_eFloorPlane_set(swigCPtr, (int)value); } get { return (AkFloorPlane)AkSoundEnginePINVOKE.CSharp_AkInitSettings_eFloorPlane_get(swigCPtr); }
+ }
+
+ public uint uBankReadBufferSize { set { AkSoundEnginePINVOKE.CSharp_AkInitSettings_uBankReadBufferSize_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkInitSettings_uBankReadBufferSize_get(swigCPtr); }
+ }
+
+ public float fDebugOutOfRangeLimit { set { AkSoundEnginePINVOKE.CSharp_AkInitSettings_fDebugOutOfRangeLimit_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkInitSettings_fDebugOutOfRangeLimit_get(swigCPtr); }
+ }
+
+ public bool bDebugOutOfRangeCheckEnabled { set { AkSoundEnginePINVOKE.CSharp_AkInitSettings_bDebugOutOfRangeCheckEnabled_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkInitSettings_bDebugOutOfRangeCheckEnabled_get(swigCPtr); }
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkInitSettings.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkInitSettings.cs.meta
new file mode 100644
index 000000000..98193182a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkInitSettings.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 082b5dba42395db4a8c7d1b70331c39b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkInitializationSettings.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkInitializationSettings.cs
new file mode 100644
index 000000000..a0f1ae5e9
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkInitializationSettings.cs
@@ -0,0 +1,103 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkInitializationSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkInitializationSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkInitializationSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkInitializationSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkInitializationSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkInitializationSettings() : this(AkSoundEnginePINVOKE.CSharp_new_AkInitializationSettings(), true) {
+ }
+
+ public AkStreamMgrSettings streamMgrSettings { set { AkSoundEnginePINVOKE.CSharp_AkInitializationSettings_streamMgrSettings_set(swigCPtr, AkStreamMgrSettings.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkInitializationSettings_streamMgrSettings_get(swigCPtr);
+ AkStreamMgrSettings ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkStreamMgrSettings(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkDeviceSettings deviceSettings { set { AkSoundEnginePINVOKE.CSharp_AkInitializationSettings_deviceSettings_set(swigCPtr, AkDeviceSettings.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkInitializationSettings_deviceSettings_get(swigCPtr);
+ AkDeviceSettings ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkDeviceSettings(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkInitSettings initSettings { set { AkSoundEnginePINVOKE.CSharp_AkInitializationSettings_initSettings_set(swigCPtr, AkInitSettings.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkInitializationSettings_initSettings_get(swigCPtr);
+ AkInitSettings ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkInitSettings(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkPlatformInitSettings platformSettings { set { AkSoundEnginePINVOKE.CSharp_AkInitializationSettings_platformSettings_set(swigCPtr, AkPlatformInitSettings.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkInitializationSettings_platformSettings_get(swigCPtr);
+ AkPlatformInitSettings ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkPlatformInitSettings(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkMusicSettings musicSettings { set { AkSoundEnginePINVOKE.CSharp_AkInitializationSettings_musicSettings_set(swigCPtr, AkMusicSettings.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkInitializationSettings_musicSettings_get(swigCPtr);
+ AkMusicSettings ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkMusicSettings(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkUnityPlatformSpecificSettings unityPlatformSpecificSettings { set { AkSoundEnginePINVOKE.CSharp_AkInitializationSettings_unityPlatformSpecificSettings_set(swigCPtr, AkUnityPlatformSpecificSettings.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkInitializationSettings_unityPlatformSpecificSettings_get(swigCPtr);
+ AkUnityPlatformSpecificSettings ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkUnityPlatformSpecificSettings(cPtr, false);
+ return ret;
+ }
+ }
+
+ public bool useAsyncOpen { set { AkSoundEnginePINVOKE.CSharp_AkInitializationSettings_useAsyncOpen_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkInitializationSettings_useAsyncOpen_get(swigCPtr); }
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkInitializationSettings.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkInitializationSettings.cs.meta
new file mode 100644
index 000000000..040a1e164
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkInitializationSettings.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 611697f2643d01b43bdc6ba9e3a167f5
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkIterator.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkIterator.cs
new file mode 100644
index 000000000..c650fff78
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkIterator.cs
@@ -0,0 +1,79 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkIterator : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkIterator(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkIterator obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkIterator() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkIterator(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkPlaylistItem pItem { set { AkSoundEnginePINVOKE.CSharp_AkIterator_pItem_set(swigCPtr, AkPlaylistItem.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkIterator_pItem_get(swigCPtr);
+ AkPlaylistItem ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkPlaylistItem(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkIterator NextIter() {
+ AkIterator ret = new AkIterator(AkSoundEnginePINVOKE.CSharp_AkIterator_NextIter(swigCPtr), false);
+ return ret;
+ }
+
+ public AkIterator PrevIter() {
+ AkIterator ret = new AkIterator(AkSoundEnginePINVOKE.CSharp_AkIterator_PrevIter(swigCPtr), false);
+ return ret;
+ }
+
+ public AkPlaylistItem GetItem() {
+ AkPlaylistItem ret = new AkPlaylistItem(AkSoundEnginePINVOKE.CSharp_AkIterator_GetItem(swigCPtr), false);
+ return ret;
+ }
+
+ public bool IsEqualTo(AkIterator in_rOp) { return AkSoundEnginePINVOKE.CSharp_AkIterator_IsEqualTo(swigCPtr, AkIterator.getCPtr(in_rOp)); }
+
+ public bool IsDifferentFrom(AkIterator in_rOp) { return AkSoundEnginePINVOKE.CSharp_AkIterator_IsDifferentFrom(swigCPtr, AkIterator.getCPtr(in_rOp)); }
+
+ public AkIterator() : this(AkSoundEnginePINVOKE.CSharp_new_AkIterator(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkIterator.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkIterator.cs.meta
new file mode 100644
index 000000000..ae99f6767
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkIterator.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 182a58c011a48bf4387a727c4541f9c0
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMIDICcTypes.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDICcTypes.cs
new file mode 100644
index 000000000..0ecd0cc72
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDICcTypes.cs
@@ -0,0 +1,112 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkMIDICcTypes {
+ BANK_SELECT_COARSE = 0,
+ MOD_WHEEL_COARSE = 1,
+ BREATH_CTRL_COARSE = 2,
+ CTRL_3_COARSE = 3,
+ FOOT_PEDAL_COARSE = 4,
+ PORTAMENTO_COARSE = 5,
+ DATA_ENTRY_COARSE = 6,
+ VOLUME_COARSE = 7,
+ BALANCE_COARSE = 8,
+ CTRL_9_COARSE = 9,
+ PAN_POSITION_COARSE = 10,
+ EXPRESSION_COARSE = 11,
+ EFFECT_CTRL_1_COARSE = 12,
+ EFFECT_CTRL_2_COARSE = 13,
+ CTRL_14_COARSE = 14,
+ CTRL_15_COARSE = 15,
+ GEN_SLIDER_1 = 16,
+ GEN_SLIDER_2 = 17,
+ GEN_SLIDER_3 = 18,
+ GEN_SLIDER_4 = 19,
+ CTRL_20_COARSE = 20,
+ CTRL_21_COARSE = 21,
+ CTRL_22_COARSE = 22,
+ CTRL_23_COARSE = 23,
+ CTRL_24_COARSE = 24,
+ CTRL_25_COARSE = 25,
+ CTRL_26_COARSE = 26,
+ CTRL_27_COARSE = 27,
+ CTRL_28_COARSE = 28,
+ CTRL_29_COARSE = 29,
+ CTRL_30_COARSE = 30,
+ CTRL_31_COARSE = 31,
+ BANK_SELECT_FINE = 32,
+ MOD_WHEEL_FINE = 33,
+ BREATH_CTRL_FINE = 34,
+ CTRL_3_FINE = 35,
+ FOOT_PEDAL_FINE = 36,
+ PORTAMENTO_FINE = 37,
+ DATA_ENTRY_FINE = 38,
+ VOLUME_FINE = 39,
+ BALANCE_FINE = 40,
+ CTRL_9_FINE = 41,
+ PAN_POSITION_FINE = 42,
+ EXPRESSION_FINE = 43,
+ EFFECT_CTRL_1_FINE = 44,
+ EFFECT_CTRL_2_FINE = 45,
+ CTRL_14_FINE = 46,
+ CTRL_15_FINE = 47,
+ CTRL_20_FINE = 52,
+ CTRL_21_FINE = 53,
+ CTRL_22_FINE = 54,
+ CTRL_23_FINE = 55,
+ CTRL_24_FINE = 56,
+ CTRL_25_FINE = 57,
+ CTRL_26_FINE = 58,
+ CTRL_27_FINE = 59,
+ CTRL_28_FINE = 60,
+ CTRL_29_FINE = 61,
+ CTRL_30_FINE = 62,
+ CTRL_31_FINE = 63,
+ HOLD_PEDAL = 64,
+ PORTAMENTO_ON_OFF = 65,
+ SUSTENUTO_PEDAL = 66,
+ SOFT_PEDAL = 67,
+ LEGATO_PEDAL = 68,
+ HOLD_PEDAL_2 = 69,
+ SOUND_VARIATION = 70,
+ SOUND_TIMBRE = 71,
+ SOUND_RELEASE_TIME = 72,
+ SOUND_ATTACK_TIME = 73,
+ SOUND_BRIGHTNESS = 74,
+ SOUND_CTRL_6 = 75,
+ SOUND_CTRL_7 = 76,
+ SOUND_CTRL_8 = 77,
+ SOUND_CTRL_9 = 78,
+ SOUND_CTRL_10 = 79,
+ GENERAL_BUTTON_1 = 80,
+ GENERAL_BUTTON_2 = 81,
+ GENERAL_BUTTON_3 = 82,
+ GENERAL_BUTTON_4 = 83,
+ REVERB_LEVEL = 91,
+ TREMOLO_LEVEL = 92,
+ CHORUS_LEVEL = 93,
+ CELESTE_LEVEL = 94,
+ PHASER_LEVEL = 95,
+ DATA_BUTTON_P1 = 96,
+ DATA_BUTTON_M1 = 97,
+ NON_REGISTER_COARSE = 98,
+ NON_REGISTER_FINE = 99,
+ ALL_SOUND_OFF = 120,
+ ALL_CONTROLLERS_OFF = 121,
+ LOCAL_KEYBOARD = 122,
+ ALL_NOTES_OFF = 123,
+ OMNI_MODE_OFF = 124,
+ OMNI_MODE_ON = 125,
+ OMNI_MONOPHONIC_ON = 126,
+ OMNI_POLYPHONIC_ON = 127
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMIDICcTypes.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDICcTypes.cs.meta
new file mode 100644
index 000000000..58bb59ca9
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDICcTypes.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 55d45e270bf1675468251c432773535d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEvent.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEvent.cs
new file mode 100644
index 000000000..661a8ba38
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEvent.cs
@@ -0,0 +1,460 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkMIDIEvent : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkMIDIEvent(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkMIDIEvent obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkMIDIEvent() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkMIDIEvent(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public byte byChan { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byChan_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byChan_get(swigCPtr); }
+ }
+
+ public class tGen : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal tGen(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(tGen obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~tGen() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkMIDIEvent_tGen(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public byte byParam1 { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tGen_byParam1_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tGen_byParam1_get(swigCPtr); }
+ }
+
+ public byte byParam2 { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tGen_byParam2_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tGen_byParam2_get(swigCPtr); }
+ }
+
+ public tGen() : this(AkSoundEnginePINVOKE.CSharp_new_AkMIDIEvent_tGen(), true) {
+ }
+
+ }
+
+ public class tNoteOnOff : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal tNoteOnOff(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(tNoteOnOff obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~tNoteOnOff() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkMIDIEvent_tNoteOnOff(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public byte byNote { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tNoteOnOff_byNote_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tNoteOnOff_byNote_get(swigCPtr); }
+ }
+
+ public byte byVelocity { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tNoteOnOff_byVelocity_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tNoteOnOff_byVelocity_get(swigCPtr); }
+ }
+
+ public tNoteOnOff() : this(AkSoundEnginePINVOKE.CSharp_new_AkMIDIEvent_tNoteOnOff(), true) {
+ }
+
+ }
+
+ public class tCc : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal tCc(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(tCc obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~tCc() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkMIDIEvent_tCc(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public byte byCc { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tCc_byCc_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tCc_byCc_get(swigCPtr); }
+ }
+
+ public byte byValue { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tCc_byValue_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tCc_byValue_get(swigCPtr); }
+ }
+
+ public tCc() : this(AkSoundEnginePINVOKE.CSharp_new_AkMIDIEvent_tCc(), true) {
+ }
+
+ }
+
+ public class tPitchBend : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal tPitchBend(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(tPitchBend obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~tPitchBend() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkMIDIEvent_tPitchBend(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public byte byValueLsb { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tPitchBend_byValueLsb_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tPitchBend_byValueLsb_get(swigCPtr); }
+ }
+
+ public byte byValueMsb { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tPitchBend_byValueMsb_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tPitchBend_byValueMsb_get(swigCPtr); }
+ }
+
+ public tPitchBend() : this(AkSoundEnginePINVOKE.CSharp_new_AkMIDIEvent_tPitchBend(), true) {
+ }
+
+ }
+
+ public class tNoteAftertouch : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal tNoteAftertouch(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(tNoteAftertouch obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~tNoteAftertouch() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkMIDIEvent_tNoteAftertouch(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public byte byNote { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tNoteAftertouch_byNote_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tNoteAftertouch_byNote_get(swigCPtr); }
+ }
+
+ public byte byValue { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tNoteAftertouch_byValue_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tNoteAftertouch_byValue_get(swigCPtr); }
+ }
+
+ public tNoteAftertouch() : this(AkSoundEnginePINVOKE.CSharp_new_AkMIDIEvent_tNoteAftertouch(), true) {
+ }
+
+ }
+
+ public class tChanAftertouch : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal tChanAftertouch(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(tChanAftertouch obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~tChanAftertouch() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkMIDIEvent_tChanAftertouch(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public byte byValue { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tChanAftertouch_byValue_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tChanAftertouch_byValue_get(swigCPtr); }
+ }
+
+ public tChanAftertouch() : this(AkSoundEnginePINVOKE.CSharp_new_AkMIDIEvent_tChanAftertouch(), true) {
+ }
+
+ }
+
+ public class tProgramChange : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal tProgramChange(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(tProgramChange obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~tProgramChange() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkMIDIEvent_tProgramChange(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public byte byProgramNum { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tProgramChange_byProgramNum_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_tProgramChange_byProgramNum_get(swigCPtr); }
+ }
+
+ public tProgramChange() : this(AkSoundEnginePINVOKE.CSharp_new_AkMIDIEvent_tProgramChange(), true) {
+ }
+
+ }
+
+ public AkMIDIEvent.tGen Gen { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_Gen_set(swigCPtr, AkMIDIEvent.tGen.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_Gen_get(swigCPtr);
+ AkMIDIEvent.tGen ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkMIDIEvent.tGen(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkMIDIEvent.tCc Cc { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_Cc_set(swigCPtr, AkMIDIEvent.tCc.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_Cc_get(swigCPtr);
+ AkMIDIEvent.tCc ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkMIDIEvent.tCc(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkMIDIEvent.tNoteOnOff NoteOnOff { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_NoteOnOff_set(swigCPtr, AkMIDIEvent.tNoteOnOff.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_NoteOnOff_get(swigCPtr);
+ AkMIDIEvent.tNoteOnOff ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkMIDIEvent.tNoteOnOff(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkMIDIEvent.tPitchBend PitchBend { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_PitchBend_set(swigCPtr, AkMIDIEvent.tPitchBend.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_PitchBend_get(swigCPtr);
+ AkMIDIEvent.tPitchBend ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkMIDIEvent.tPitchBend(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkMIDIEvent.tNoteAftertouch NoteAftertouch { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_NoteAftertouch_set(swigCPtr, AkMIDIEvent.tNoteAftertouch.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_NoteAftertouch_get(swigCPtr);
+ AkMIDIEvent.tNoteAftertouch ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkMIDIEvent.tNoteAftertouch(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkMIDIEvent.tChanAftertouch ChanAftertouch { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_ChanAftertouch_set(swigCPtr, AkMIDIEvent.tChanAftertouch.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_ChanAftertouch_get(swigCPtr);
+ AkMIDIEvent.tChanAftertouch ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkMIDIEvent.tChanAftertouch(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkMIDIEvent.tProgramChange ProgramChange { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_ProgramChange_set(swigCPtr, AkMIDIEvent.tProgramChange.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_ProgramChange_get(swigCPtr);
+ AkMIDIEvent.tProgramChange ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkMIDIEvent.tProgramChange(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkMIDIEventTypes byType { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byType_set(swigCPtr, (int)value); } get { return (AkMIDIEventTypes)AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byType_get(swigCPtr); }
+ }
+
+ public byte byOnOffNote { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byOnOffNote_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byOnOffNote_get(swigCPtr); }
+ }
+
+ public byte byVelocity { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byVelocity_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byVelocity_get(swigCPtr); }
+ }
+
+ public AkMIDICcTypes byCc { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byCc_set(swigCPtr, (int)value); } get { return (AkMIDICcTypes)AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byCc_get(swigCPtr); }
+ }
+
+ public byte byCcValue { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byCcValue_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byCcValue_get(swigCPtr); }
+ }
+
+ public byte byValueLsb { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byValueLsb_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byValueLsb_get(swigCPtr); }
+ }
+
+ public byte byValueMsb { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byValueMsb_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byValueMsb_get(swigCPtr); }
+ }
+
+ public byte byAftertouchNote { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byAftertouchNote_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byAftertouchNote_get(swigCPtr); }
+ }
+
+ public byte byNoteAftertouchValue { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byNoteAftertouchValue_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byNoteAftertouchValue_get(swigCPtr); }
+ }
+
+ public byte byChanAftertouchValue { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byChanAftertouchValue_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byChanAftertouchValue_get(swigCPtr); }
+ }
+
+ public byte byProgramNum { set { AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byProgramNum_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEvent_byProgramNum_get(swigCPtr); }
+ }
+
+ public AkMIDIEvent() : this(AkSoundEnginePINVOKE.CSharp_new_AkMIDIEvent(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEvent.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEvent.cs.meta
new file mode 100644
index 000000000..cf51ff9fe
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEvent.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 212d71562a815cc4d88f996d15e87846
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEventCallbackInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEventCallbackInfo.cs
new file mode 100644
index 000000000..ebb01f31b
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEventCallbackInfo.cs
@@ -0,0 +1,93 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkMIDIEventCallbackInfo : AkEventCallbackInfo {
+ private global::System.IntPtr swigCPtr;
+
+ internal AkMIDIEventCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_SWIGUpcast(cPtr), cMemoryOwn) {
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkMIDIEventCallbackInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal override void setCPtr(global::System.IntPtr cPtr) {
+ base.setCPtr(AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_SWIGUpcast(cPtr));
+ swigCPtr = cPtr;
+ }
+
+ ~AkMIDIEventCallbackInfo() {
+ Dispose();
+ }
+
+ public override void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkMIDIEventCallbackInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ base.Dispose();
+ }
+ }
+
+ public byte byChan { get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_byChan_get(swigCPtr); }
+ }
+
+ public byte byParam1 { get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_byParam1_get(swigCPtr); }
+ }
+
+ public byte byParam2 { get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_byParam2_get(swigCPtr); }
+ }
+
+ public AkMIDIEventTypes byType { get { return (AkMIDIEventTypes)AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_byType_get(swigCPtr); }
+ }
+
+ public byte byOnOffNote { get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_byOnOffNote_get(swigCPtr); }
+ }
+
+ public byte byVelocity { get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_byVelocity_get(swigCPtr); }
+ }
+
+ public AkMIDICcTypes byCc { get { return (AkMIDICcTypes)AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_byCc_get(swigCPtr); }
+ }
+
+ public byte byCcValue { get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_byCcValue_get(swigCPtr); }
+ }
+
+ public byte byValueLsb { get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_byValueLsb_get(swigCPtr); }
+ }
+
+ public byte byValueMsb { get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_byValueMsb_get(swigCPtr); }
+ }
+
+ public byte byAftertouchNote { get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_byAftertouchNote_get(swigCPtr); }
+ }
+
+ public byte byNoteAftertouchValue { get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_byNoteAftertouchValue_get(swigCPtr); }
+ }
+
+ public byte byChanAftertouchValue { get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_byChanAftertouchValue_get(swigCPtr); }
+ }
+
+ public byte byProgramNum { get { return AkSoundEnginePINVOKE.CSharp_AkMIDIEventCallbackInfo_byProgramNum_get(swigCPtr); }
+ }
+
+ public AkMIDIEventCallbackInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkMIDIEventCallbackInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEventCallbackInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEventCallbackInfo.cs.meta
new file mode 100644
index 000000000..b2a9765b8
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEventCallbackInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: fdb9a575d339d684e9eca0fd96a75847
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEventTypes.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEventTypes.cs
new file mode 100644
index 000000000..6621d0765
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEventTypes.cs
@@ -0,0 +1,25 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkMIDIEventTypes {
+ NOTE_OFF = 0x80,
+ NOTE_ON = 0x90,
+ NOTE_AFTERTOUCH = 0xa0,
+ CONTROLLER = 0xb0,
+ PROGRAM_CHANGE = 0xc0,
+ CHANNEL_AFTERTOUCH = 0xd0,
+ PITCH_BEND = 0xe0,
+ SYSEX = 0xf0,
+ ESCAPE = 0xf7,
+ META = 0xff
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEventTypes.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEventTypes.cs.meta
new file mode 100644
index 000000000..59d0afef7
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIEventTypes.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 19904601476d58c4c8d12fb446e832ef
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIPost.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIPost.cs
new file mode 100644
index 000000000..a7cd025ef
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIPost.cs
@@ -0,0 +1,66 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkMIDIPost : AkMIDIEvent {
+ private global::System.IntPtr swigCPtr;
+
+ internal AkMIDIPost(global::System.IntPtr cPtr, bool cMemoryOwn) : base(AkSoundEnginePINVOKE.CSharp_AkMIDIPost_SWIGUpcast(cPtr), cMemoryOwn) {
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkMIDIPost obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal override void setCPtr(global::System.IntPtr cPtr) {
+ base.setCPtr(AkSoundEnginePINVOKE.CSharp_AkMIDIPost_SWIGUpcast(cPtr));
+ swigCPtr = cPtr;
+ }
+
+ ~AkMIDIPost() {
+ Dispose();
+ }
+
+ public override void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkMIDIPost(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ base.Dispose();
+ }
+ }
+
+ public uint uOffset { set { AkSoundEnginePINVOKE.CSharp_AkMIDIPost_uOffset_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMIDIPost_uOffset_get(swigCPtr); }
+ }
+
+ public AKRESULT PostOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, uint in_uNumPosts) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AkMIDIPost_PostOnEvent(swigCPtr, in_eventID, in_gameObjectID_id, in_uNumPosts); }
+ }
+
+ public void Clone(AkMIDIPost other) { AkSoundEnginePINVOKE.CSharp_AkMIDIPost_Clone(swigCPtr, AkMIDIPost.getCPtr(other)); }
+
+ public static int GetSizeOf() { return AkSoundEnginePINVOKE.CSharp_AkMIDIPost_GetSizeOf(); }
+
+ public AkMIDIPost() : this(AkSoundEnginePINVOKE.CSharp_new_AkMIDIPost(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIPost.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIPost.cs.meta
new file mode 100644
index 000000000..9aa73b198
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMIDIPost.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: f44ffb685441fb64e96bc6415877fe79
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMarkerCallbackInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkMarkerCallbackInfo.cs
new file mode 100644
index 000000000..5882ce39a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMarkerCallbackInfo.cs
@@ -0,0 +1,60 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkMarkerCallbackInfo : AkEventCallbackInfo {
+ private global::System.IntPtr swigCPtr;
+
+ internal AkMarkerCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(AkSoundEnginePINVOKE.CSharp_AkMarkerCallbackInfo_SWIGUpcast(cPtr), cMemoryOwn) {
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkMarkerCallbackInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal override void setCPtr(global::System.IntPtr cPtr) {
+ base.setCPtr(AkSoundEnginePINVOKE.CSharp_AkMarkerCallbackInfo_SWIGUpcast(cPtr));
+ swigCPtr = cPtr;
+ }
+
+ ~AkMarkerCallbackInfo() {
+ Dispose();
+ }
+
+ public override void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkMarkerCallbackInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ base.Dispose();
+ }
+ }
+
+ public uint uIdentifier { get { return AkSoundEnginePINVOKE.CSharp_AkMarkerCallbackInfo_uIdentifier_get(swigCPtr); }
+ }
+
+ public uint uPosition { get { return AkSoundEnginePINVOKE.CSharp_AkMarkerCallbackInfo_uPosition_get(swigCPtr); }
+ }
+
+ public string strLabel { get { return AkSoundEngine.StringFromIntPtrString(AkSoundEnginePINVOKE.CSharp_AkMarkerCallbackInfo_strLabel_get(swigCPtr)); }
+ }
+
+ public AkMarkerCallbackInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkMarkerCallbackInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMarkerCallbackInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkMarkerCallbackInfo.cs.meta
new file mode 100644
index 000000000..db6efc2f1
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMarkerCallbackInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: fed250863d5900f4bad552829d05981c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMeteringFlags.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkMeteringFlags.cs
new file mode 100644
index 000000000..35c81b4a3
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMeteringFlags.cs
@@ -0,0 +1,21 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkMeteringFlags {
+ AK_NoMetering = 0,
+ AK_EnableBusMeter_Peak = 1 << 0,
+ AK_EnableBusMeter_TruePeak = 1 << 1,
+ AK_EnableBusMeter_RMS = 1 << 2,
+ AK_EnableBusMeter_KPower = 1 << 4,
+ AK_EnableBusMeter_3DMeter = 1 << 5
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMeteringFlags.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkMeteringFlags.cs.meta
new file mode 100644
index 000000000..78c7570d2
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMeteringFlags.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e5b73d35b57160048898d29c8b75b174
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMonitorErrorCode.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkMonitorErrorCode.cs
new file mode 100644
index 000000000..a108f7e76
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMonitorErrorCode.cs
@@ -0,0 +1,113 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkMonitorErrorCode {
+ ErrorCode_NoError = 0,
+ ErrorCode_FileNotFound,
+ ErrorCode_CannotOpenFile,
+ ErrorCode_CannotStartStreamNoMemory,
+ ErrorCode_IODevice,
+ ErrorCode_IncompatibleIOSettings,
+ ErrorCode_PluginUnsupportedChannelConfiguration,
+ ErrorCode_PluginMediaUnavailable,
+ ErrorCode_PluginInitialisationFailed,
+ ErrorCode_PluginProcessingFailed,
+ ErrorCode_PluginExecutionInvalid,
+ ErrorCode_PluginAllocationFailed,
+ ErrorCode_VorbisSeekTableRecommended,
+ ErrorCode_VorbisDecodeError,
+ ErrorCode_AACDecodeError,
+ ErrorCode_xWMACreateDecoderFailed,
+ ErrorCode_ATRAC9DecodeFailed,
+ ErrorCode_ATRAC9LoopSectionTooSmall,
+ ErrorCode_InvalidAudioFileHeader,
+ ErrorCode_AudioFileHeaderTooLarge,
+ ErrorCode_FileTooSmall,
+ ErrorCode_TransitionNotAccurateChannel,
+ ErrorCode_TransitionNotAccuratePluginMismatch,
+ ErrorCode_TransitionNotAccurateRejectedByPlugin,
+ ErrorCode_TransitionNotAccurateStarvation,
+ ErrorCode_NothingToPlay,
+ ErrorCode_PlayFailed,
+ ErrorCode_StingerCouldNotBeScheduled,
+ ErrorCode_TooLongSegmentLookAhead,
+ ErrorCode_CannotScheduleMusicSwitch,
+ ErrorCode_TooManySimultaneousMusicSegments,
+ ErrorCode_PlaylistStoppedForEditing,
+ ErrorCode_MusicClipsRescheduledAfterTrackEdit,
+ ErrorCode_CannotPlaySource_Create,
+ ErrorCode_CannotPlaySource_VirtualOff,
+ ErrorCode_CannotPlaySource_TimeSkip,
+ ErrorCode_CannotPlaySource_InconsistentState,
+ ErrorCode_MediaNotLoaded,
+ ErrorCode_VoiceStarving,
+ ErrorCode_StreamingSourceStarving,
+ ErrorCode_XMADecoderSourceStarving,
+ ErrorCode_XMADecodingError,
+ ErrorCode_InvalidXMAData,
+ ErrorCode_PluginNotRegistered,
+ ErrorCode_CodecNotRegistered,
+ ErrorCode_PluginVersionMismatch,
+ ErrorCode_EventIDNotFound,
+ ErrorCode_InvalidGroupID,
+ ErrorCode_SelectedChildNotAvailable,
+ ErrorCode_SelectedNodeNotAvailable,
+ ErrorCode_SelectedMediaNotAvailable,
+ ErrorCode_NoValidSwitch,
+ ErrorCode_SelectedNodeNotAvailablePlay,
+ ErrorCode_FeedbackVoiceStarving,
+ ErrorCode_BankLoadFailed,
+ ErrorCode_BankUnloadFailed,
+ ErrorCode_ErrorWhileLoadingBank,
+ ErrorCode_InsufficientSpaceToLoadBank,
+ ErrorCode_LowerEngineCommandListFull,
+ ErrorCode_SeekNoMarker,
+ ErrorCode_CannotSeekContinuous,
+ ErrorCode_SeekAfterEof,
+ ErrorCode_UnknownGameObject,
+ ErrorCode_UnknownEmitter,
+ ErrorCode_UnknownListener,
+ ErrorCode_GameObjectIsNotListener,
+ ErrorCode_GameObjectIsNotEmitter,
+ ErrorCode_UnknownGameObjectEvent,
+ ErrorCode_GameObjectIsNotEmitterEvent,
+ ErrorCode_ExternalSourceNotResolved,
+ ErrorCode_FileFormatMismatch,
+ ErrorCode_CommandQueueFull,
+ ErrorCode_CommandTooLarge,
+ ErrorCode_XMACreateDecoderLimitReached,
+ ErrorCode_XMAStreamBufferTooSmall,
+ ErrorCode_ModulatorScopeError_Inst,
+ ErrorCode_ModulatorScopeError_Obj,
+ ErrorCode_SeekAfterEndOfPlaylist,
+ ErrorCode_OpusRequireSeekTable,
+ ErrorCode_OpusDecodeError,
+ ErrorCode_OpusCreateDecoderFailed,
+ ErrorCode_SourcePluginNotFound,
+ ErrorCode_VirtualVoiceLimit,
+ ErrorCode_AudioDeviceShareSetNotFound,
+ ErrorCode_NotEnoughMemoryToStart,
+ ErrorCode_UnkownOpusError,
+ ErrorCode_AudioDeviceInitFailure,
+ ErrorCode_AudioDeviceRemoveFailure,
+ ErrorCode_AudioDeviceNotFound,
+ ErrorCode_AudioDeviceNotValid,
+ ErrorCode_SpatialAudio_ListenerAutomationNotSupported,
+ ErrorCode_MediaDuplicationLength,
+ ErrorCode_HwVoicesSystemInitFailed,
+ ErrorCode_HwVoicesDecodeBatchFailed,
+ ErrorCode_HwVoiceLimitReached,
+ ErrorCode_HwVoiceInitFailed,
+ ErrorCode_SpatialAudio_ReflectionBusError,
+ Num_ErrorCodes
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMonitorErrorCode.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkMonitorErrorCode.cs.meta
new file mode 100644
index 000000000..8c869e9ce
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMonitorErrorCode.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 260ad8fb4c7552046a0cbcdabe565a40
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMonitorErrorLevel.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkMonitorErrorLevel.cs
new file mode 100644
index 000000000..845205d03
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMonitorErrorLevel.cs
@@ -0,0 +1,18 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkMonitorErrorLevel {
+ ErrorLevel_Message = (1 << 0),
+ ErrorLevel_Error = (1 << 1),
+ ErrorLevel_All = ErrorLevel_Message|ErrorLevel_Error
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMonitorErrorLevel.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkMonitorErrorLevel.cs.meta
new file mode 100644
index 000000000..b5e62af42
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMonitorErrorLevel.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a5f6ebdf7a7c586409ce0dbdae4c725e
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMonitoringCallbackInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkMonitoringCallbackInfo.cs
new file mode 100644
index 000000000..0e86ea826
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMonitoringCallbackInfo.cs
@@ -0,0 +1,67 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkMonitoringCallbackInfo : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkMonitoringCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkMonitoringCallbackInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkMonitoringCallbackInfo() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkMonitoringCallbackInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkMonitorErrorCode errorCode { get { return (AkMonitorErrorCode)AkSoundEnginePINVOKE.CSharp_AkMonitoringCallbackInfo_errorCode_get(swigCPtr); }
+ }
+
+ public AkMonitorErrorLevel errorLevel { get { return (AkMonitorErrorLevel)AkSoundEnginePINVOKE.CSharp_AkMonitoringCallbackInfo_errorLevel_get(swigCPtr); }
+ }
+
+ public uint playingID { get { return AkSoundEnginePINVOKE.CSharp_AkMonitoringCallbackInfo_playingID_get(swigCPtr); }
+ }
+
+ public ulong gameObjID { get { return AkSoundEnginePINVOKE.CSharp_AkMonitoringCallbackInfo_gameObjID_get(swigCPtr); }
+ }
+
+ public string message { get { return AkSoundEngine.StringFromIntPtrOSString(AkSoundEnginePINVOKE.CSharp_AkMonitoringCallbackInfo_message_get(swigCPtr)); }
+ }
+
+ public AkMonitoringCallbackInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkMonitoringCallbackInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMonitoringCallbackInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkMonitoringCallbackInfo.cs.meta
new file mode 100644
index 000000000..459fd610b
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMonitoringCallbackInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: be98c1f24cb96714ea0258f71378040f
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMultiPositionType.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkMultiPositionType.cs
new file mode 100644
index 000000000..b16859bc0
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMultiPositionType.cs
@@ -0,0 +1,18 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkMultiPositionType {
+ MultiPositionType_SingleSource,
+ MultiPositionType_MultiSources,
+ MultiPositionType_MultiDirections
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMultiPositionType.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkMultiPositionType.cs.meta
new file mode 100644
index 000000000..2aba4acc2
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMultiPositionType.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 27d3ed0b2b78fa04496f1b0eda516764
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMusicPlaylistCallbackInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkMusicPlaylistCallbackInfo.cs
new file mode 100644
index 000000000..7cbad0d1f
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMusicPlaylistCallbackInfo.cs
@@ -0,0 +1,63 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkMusicPlaylistCallbackInfo : AkEventCallbackInfo {
+ private global::System.IntPtr swigCPtr;
+
+ internal AkMusicPlaylistCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(AkSoundEnginePINVOKE.CSharp_AkMusicPlaylistCallbackInfo_SWIGUpcast(cPtr), cMemoryOwn) {
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkMusicPlaylistCallbackInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal override void setCPtr(global::System.IntPtr cPtr) {
+ base.setCPtr(AkSoundEnginePINVOKE.CSharp_AkMusicPlaylistCallbackInfo_SWIGUpcast(cPtr));
+ swigCPtr = cPtr;
+ }
+
+ ~AkMusicPlaylistCallbackInfo() {
+ Dispose();
+ }
+
+ public override void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkMusicPlaylistCallbackInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ base.Dispose();
+ }
+ }
+
+ public uint playlistID { get { return AkSoundEnginePINVOKE.CSharp_AkMusicPlaylistCallbackInfo_playlistID_get(swigCPtr); }
+ }
+
+ public uint uNumPlaylistItems { get { return AkSoundEnginePINVOKE.CSharp_AkMusicPlaylistCallbackInfo_uNumPlaylistItems_get(swigCPtr); }
+ }
+
+ public uint uPlaylistSelection { get { return AkSoundEnginePINVOKE.CSharp_AkMusicPlaylistCallbackInfo_uPlaylistSelection_get(swigCPtr); }
+ }
+
+ public uint uPlaylistItemDone { get { return AkSoundEnginePINVOKE.CSharp_AkMusicPlaylistCallbackInfo_uPlaylistItemDone_get(swigCPtr); }
+ }
+
+ public AkMusicPlaylistCallbackInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkMusicPlaylistCallbackInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMusicPlaylistCallbackInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkMusicPlaylistCallbackInfo.cs.meta
new file mode 100644
index 000000000..2e931fd43
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMusicPlaylistCallbackInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 42ed816808f628e4da2a956942bcfdb7
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMusicSettings.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkMusicSettings.cs
new file mode 100644
index 000000000..6197607f4
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMusicSettings.cs
@@ -0,0 +1,52 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkMusicSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkMusicSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkMusicSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkMusicSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkMusicSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public float fStreamingLookAheadRatio { set { AkSoundEnginePINVOKE.CSharp_AkMusicSettings_fStreamingLookAheadRatio_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkMusicSettings_fStreamingLookAheadRatio_get(swigCPtr); }
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMusicSettings.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkMusicSettings.cs.meta
new file mode 100644
index 000000000..a28fdad27
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMusicSettings.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: ef3e90463c67f524a86707830bc9d404
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMusicSyncCallbackInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkMusicSyncCallbackInfo.cs
new file mode 100644
index 000000000..f01cad359
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMusicSyncCallbackInfo.cs
@@ -0,0 +1,87 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkMusicSyncCallbackInfo : AkCallbackInfo {
+ private global::System.IntPtr swigCPtr;
+
+ internal AkMusicSyncCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(AkSoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_SWIGUpcast(cPtr), cMemoryOwn) {
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkMusicSyncCallbackInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal override void setCPtr(global::System.IntPtr cPtr) {
+ base.setCPtr(AkSoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_SWIGUpcast(cPtr));
+ swigCPtr = cPtr;
+ }
+
+ ~AkMusicSyncCallbackInfo() {
+ Dispose();
+ }
+
+ public override void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkMusicSyncCallbackInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ base.Dispose();
+ }
+ }
+
+ public uint playingID { get { return AkSoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_playingID_get(swigCPtr); }
+ }
+
+ public int segmentInfo_iCurrentPosition { get { return AkSoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_iCurrentPosition_get(swigCPtr); }
+ }
+
+ public int segmentInfo_iPreEntryDuration { get { return AkSoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_iPreEntryDuration_get(swigCPtr); }
+ }
+
+ public int segmentInfo_iActiveDuration { get { return AkSoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_iActiveDuration_get(swigCPtr); }
+ }
+
+ public int segmentInfo_iPostExitDuration { get { return AkSoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_iPostExitDuration_get(swigCPtr); }
+ }
+
+ public int segmentInfo_iRemainingLookAheadTime { get { return AkSoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_iRemainingLookAheadTime_get(swigCPtr); }
+ }
+
+ public float segmentInfo_fBeatDuration { get { return AkSoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_fBeatDuration_get(swigCPtr); }
+ }
+
+ public float segmentInfo_fBarDuration { get { return AkSoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_fBarDuration_get(swigCPtr); }
+ }
+
+ public float segmentInfo_fGridDuration { get { return AkSoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_fGridDuration_get(swigCPtr); }
+ }
+
+ public float segmentInfo_fGridOffset { get { return AkSoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_fGridOffset_get(swigCPtr); }
+ }
+
+ public AkCallbackType musicSyncType { get { return (AkCallbackType)AkSoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_musicSyncType_get(swigCPtr); }
+ }
+
+ public string userCueName { get { return AkSoundEngine.StringFromIntPtrString(AkSoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_userCueName_get(swigCPtr)); }
+ }
+
+ public AkMusicSyncCallbackInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkMusicSyncCallbackInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkMusicSyncCallbackInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkMusicSyncCallbackInfo.cs.meta
new file mode 100644
index 000000000..d4f53632b
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkMusicSyncCallbackInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9b91814dccc3934448cb01b653358e7d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkObjectInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkObjectInfo.cs
new file mode 100644
index 000000000..641c8afd9
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkObjectInfo.cs
@@ -0,0 +1,67 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkObjectInfo : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkObjectInfo(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkObjectInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkObjectInfo() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkObjectInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public uint objID { set { AkSoundEnginePINVOKE.CSharp_AkObjectInfo_objID_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkObjectInfo_objID_get(swigCPtr); }
+ }
+
+ public uint parentID { set { AkSoundEnginePINVOKE.CSharp_AkObjectInfo_parentID_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkObjectInfo_parentID_get(swigCPtr); }
+ }
+
+ public int iDepth { set { AkSoundEnginePINVOKE.CSharp_AkObjectInfo_iDepth_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkObjectInfo_iDepth_get(swigCPtr); }
+ }
+
+ public void Clear() { AkSoundEnginePINVOKE.CSharp_AkObjectInfo_Clear(swigCPtr); }
+
+ public static int GetSizeOf() { return AkSoundEnginePINVOKE.CSharp_AkObjectInfo_GetSizeOf(); }
+
+ public void Clone(AkObjectInfo other) { AkSoundEnginePINVOKE.CSharp_AkObjectInfo_Clone(swigCPtr, AkObjectInfo.getCPtr(other)); }
+
+ public AkObjectInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkObjectInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkObjectInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkObjectInfo.cs.meta
new file mode 100644
index 000000000..b48afddfe
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkObjectInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 1228efd2795e3ef4a9b71dd79542981d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkObstructionOcclusionValues.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkObstructionOcclusionValues.cs
new file mode 100644
index 000000000..b7cebb7f8
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkObstructionOcclusionValues.cs
@@ -0,0 +1,64 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkObstructionOcclusionValues : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkObstructionOcclusionValues(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkObstructionOcclusionValues obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkObstructionOcclusionValues() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkObstructionOcclusionValues(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public float occlusion { set { AkSoundEnginePINVOKE.CSharp_AkObstructionOcclusionValues_occlusion_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkObstructionOcclusionValues_occlusion_get(swigCPtr); }
+ }
+
+ public float obstruction { set { AkSoundEnginePINVOKE.CSharp_AkObstructionOcclusionValues_obstruction_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkObstructionOcclusionValues_obstruction_get(swigCPtr); }
+ }
+
+ public void Clear() { AkSoundEnginePINVOKE.CSharp_AkObstructionOcclusionValues_Clear(swigCPtr); }
+
+ public static int GetSizeOf() { return AkSoundEnginePINVOKE.CSharp_AkObstructionOcclusionValues_GetSizeOf(); }
+
+ public void Clone(AkObstructionOcclusionValues other) { AkSoundEnginePINVOKE.CSharp_AkObstructionOcclusionValues_Clone(swigCPtr, AkObstructionOcclusionValues.getCPtr(other)); }
+
+ public AkObstructionOcclusionValues() : this(AkSoundEnginePINVOKE.CSharp_new_AkObstructionOcclusionValues(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkObstructionOcclusionValues.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkObstructionOcclusionValues.cs.meta
new file mode 100644
index 000000000..682e6dea5
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkObstructionOcclusionValues.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 293ed02532890b647817c1b179a45a0f
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkOutputSettings.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkOutputSettings.cs
new file mode 100644
index 000000000..92f6b9222
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkOutputSettings.cs
@@ -0,0 +1,81 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkOutputSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkOutputSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkOutputSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkOutputSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkOutputSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkOutputSettings() : this(AkSoundEnginePINVOKE.CSharp_new_AkOutputSettings__SWIG_0(), true) {
+ }
+
+ public AkOutputSettings(string in_szDeviceShareSet, uint in_idDevice, AkChannelConfig in_channelConfig, AkPanningRule in_ePanning) : this(AkSoundEnginePINVOKE.CSharp_new_AkOutputSettings__SWIG_1(in_szDeviceShareSet, in_idDevice, AkChannelConfig.getCPtr(in_channelConfig), (int)in_ePanning), true) {
+ }
+
+ public AkOutputSettings(string in_szDeviceShareSet, uint in_idDevice, AkChannelConfig in_channelConfig) : this(AkSoundEnginePINVOKE.CSharp_new_AkOutputSettings__SWIG_2(in_szDeviceShareSet, in_idDevice, AkChannelConfig.getCPtr(in_channelConfig)), true) {
+ }
+
+ public AkOutputSettings(string in_szDeviceShareSet, uint in_idDevice) : this(AkSoundEnginePINVOKE.CSharp_new_AkOutputSettings__SWIG_3(in_szDeviceShareSet, in_idDevice), true) {
+ }
+
+ public AkOutputSettings(string in_szDeviceShareSet) : this(AkSoundEnginePINVOKE.CSharp_new_AkOutputSettings__SWIG_4(in_szDeviceShareSet), true) {
+ }
+
+ public uint audioDeviceShareset { set { AkSoundEnginePINVOKE.CSharp_AkOutputSettings_audioDeviceShareset_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkOutputSettings_audioDeviceShareset_get(swigCPtr); }
+ }
+
+ public uint idDevice { set { AkSoundEnginePINVOKE.CSharp_AkOutputSettings_idDevice_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkOutputSettings_idDevice_get(swigCPtr); }
+ }
+
+ public AkPanningRule ePanningRule { set { AkSoundEnginePINVOKE.CSharp_AkOutputSettings_ePanningRule_set(swigCPtr, (int)value); } get { return (AkPanningRule)AkSoundEnginePINVOKE.CSharp_AkOutputSettings_ePanningRule_get(swigCPtr); }
+ }
+
+ public AkChannelConfig channelConfig { set { AkSoundEnginePINVOKE.CSharp_AkOutputSettings_channelConfig_set(swigCPtr, AkChannelConfig.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkOutputSettings_channelConfig_get(swigCPtr);
+ AkChannelConfig ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkChannelConfig(cPtr, false);
+ return ret;
+ }
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkOutputSettings.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkOutputSettings.cs.meta
new file mode 100644
index 000000000..fe42c8a5e
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkOutputSettings.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 33c855ee31629d944b76f0e46e6dc496
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkPanningRule.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkPanningRule.cs
new file mode 100644
index 000000000..54a34d17a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkPanningRule.cs
@@ -0,0 +1,17 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkPanningRule {
+ AkPanningRule_Speakers = 0,
+ AkPanningRule_Headphones = 1
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkPanningRule.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkPanningRule.cs.meta
new file mode 100644
index 000000000..1514f43a1
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkPanningRule.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b9ae58f8806311f4a822263069529dc3
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylist.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylist.cs
new file mode 100644
index 000000000..326a08655
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylist.cs
@@ -0,0 +1,61 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkPlaylist : AkPlaylistArray {
+ private global::System.IntPtr swigCPtr;
+
+ internal AkPlaylist(global::System.IntPtr cPtr, bool cMemoryOwn) : base(AkSoundEnginePINVOKE.CSharp_AkPlaylist_SWIGUpcast(cPtr), cMemoryOwn) {
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkPlaylist obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal override void setCPtr(global::System.IntPtr cPtr) {
+ base.setCPtr(AkSoundEnginePINVOKE.CSharp_AkPlaylist_SWIGUpcast(cPtr));
+ swigCPtr = cPtr;
+ }
+
+ ~AkPlaylist() {
+ Dispose();
+ }
+
+ public override void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkPlaylist(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ base.Dispose();
+ }
+ }
+
+ public AKRESULT Enqueue(uint in_audioNodeID, int in_msDelay, global::System.IntPtr in_pCustomInfo, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AkPlaylist_Enqueue__SWIG_0(swigCPtr, in_audioNodeID, in_msDelay, in_pCustomInfo, in_cExternals, in_pExternalSources.GetBuffer()); }
+
+ public AKRESULT Enqueue(uint in_audioNodeID, int in_msDelay, global::System.IntPtr in_pCustomInfo, uint in_cExternals) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AkPlaylist_Enqueue__SWIG_1(swigCPtr, in_audioNodeID, in_msDelay, in_pCustomInfo, in_cExternals); }
+
+ public AKRESULT Enqueue(uint in_audioNodeID, int in_msDelay, global::System.IntPtr in_pCustomInfo) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AkPlaylist_Enqueue__SWIG_2(swigCPtr, in_audioNodeID, in_msDelay, in_pCustomInfo); }
+
+ public AKRESULT Enqueue(uint in_audioNodeID, int in_msDelay) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AkPlaylist_Enqueue__SWIG_3(swigCPtr, in_audioNodeID, in_msDelay); }
+
+ public AKRESULT Enqueue(uint in_audioNodeID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AkPlaylist_Enqueue__SWIG_4(swigCPtr, in_audioNodeID); }
+
+ public AkPlaylist() : this(AkSoundEnginePINVOKE.CSharp_new_AkPlaylist(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylist.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylist.cs.meta
new file mode 100644
index 000000000..fdae805a8
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylist.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: fd9b7c25b6107b04bb9daa6e6dc5155b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylistArray.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylistArray.cs
new file mode 100644
index 000000000..eb003bd9a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylistArray.cs
@@ -0,0 +1,149 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkPlaylistArray : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkPlaylistArray(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkPlaylistArray obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkPlaylistArray() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkPlaylistArray(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkPlaylistArray() : this(AkSoundEnginePINVOKE.CSharp_new_AkPlaylistArray(), true) {
+ }
+
+ public AkIterator Begin() {
+ AkIterator ret = new AkIterator(AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_Begin(swigCPtr), true);
+ return ret;
+ }
+
+ public AkIterator End() {
+ AkIterator ret = new AkIterator(AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_End(swigCPtr), true);
+ return ret;
+ }
+
+ public AkIterator FindEx(AkPlaylistItem in_Item) {
+ AkIterator ret = new AkIterator(AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_FindEx(swigCPtr, AkPlaylistItem.getCPtr(in_Item)), true);
+ return ret;
+ }
+
+ public AkIterator Erase(AkIterator in_rIter) {
+ AkIterator ret = new AkIterator(AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_Erase__SWIG_0(swigCPtr, AkIterator.getCPtr(in_rIter)), true);
+ return ret;
+ }
+
+ public void Erase(uint in_uIndex) { AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_Erase__SWIG_1(swigCPtr, in_uIndex); }
+
+ public AkIterator EraseSwap(AkIterator in_rIter) {
+ AkIterator ret = new AkIterator(AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_EraseSwap(swigCPtr, AkIterator.getCPtr(in_rIter)), true);
+ return ret;
+ }
+
+ public bool IsGrowingAllowed() { return AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_IsGrowingAllowed(swigCPtr); }
+
+ public AKRESULT Reserve(uint in_ulReserve) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_Reserve(swigCPtr, in_ulReserve); }
+
+ public uint Reserved() { return AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_Reserved(swigCPtr); }
+
+ public void Term() { AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_Term(swigCPtr); }
+
+ public uint Length() { return AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_Length(swigCPtr); }
+
+ public AkPlaylistItem Data() {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_Data(swigCPtr);
+ AkPlaylistItem ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkPlaylistItem(cPtr, false);
+ return ret;
+ }
+
+ public bool IsEmpty() { return AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_IsEmpty(swigCPtr); }
+
+ public AkPlaylistItem Exists(AkPlaylistItem in_Item) {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_Exists(swigCPtr, AkPlaylistItem.getCPtr(in_Item));
+ AkPlaylistItem ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkPlaylistItem(cPtr, false);
+ return ret;
+ }
+
+ public AkPlaylistItem AddLast() {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_AddLast__SWIG_0(swigCPtr);
+ AkPlaylistItem ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkPlaylistItem(cPtr, false);
+ return ret;
+ }
+
+ public AkPlaylistItem AddLast(AkPlaylistItem in_rItem) {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_AddLast__SWIG_1(swigCPtr, AkPlaylistItem.getCPtr(in_rItem));
+ AkPlaylistItem ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkPlaylistItem(cPtr, false);
+ return ret;
+ }
+
+ public AkPlaylistItem Last() {
+ AkPlaylistItem ret = new AkPlaylistItem(AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_Last(swigCPtr), false);
+ return ret;
+ }
+
+ public void RemoveLast() { AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_RemoveLast(swigCPtr); }
+
+ public AKRESULT Remove(AkPlaylistItem in_rItem) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_Remove(swigCPtr, AkPlaylistItem.getCPtr(in_rItem)); }
+
+ public AKRESULT RemoveSwap(AkPlaylistItem in_rItem) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_RemoveSwap(swigCPtr, AkPlaylistItem.getCPtr(in_rItem)); }
+
+ public void RemoveAll() { AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_RemoveAll(swigCPtr); }
+
+ public AkPlaylistItem ItemAtIndex(uint uiIndex) {
+ AkPlaylistItem ret = new AkPlaylistItem(AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_ItemAtIndex(swigCPtr, uiIndex), false);
+ return ret;
+ }
+
+ public AkPlaylistItem Insert(uint in_uIndex) {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_Insert(swigCPtr, in_uIndex);
+ AkPlaylistItem ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkPlaylistItem(cPtr, false);
+ return ret;
+ }
+
+ public bool GrowArray() { return AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_GrowArray__SWIG_0(swigCPtr); }
+
+ public bool GrowArray(uint in_uGrowBy) { return AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_GrowArray__SWIG_1(swigCPtr, in_uGrowBy); }
+
+ public bool Resize(uint in_uiSize) { return AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_Resize(swigCPtr, in_uiSize); }
+
+ public void Transfer(AkPlaylistArray in_rSource) { AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_Transfer(swigCPtr, AkPlaylistArray.getCPtr(in_rSource)); }
+
+ public AKRESULT Copy(AkPlaylistArray in_rSource) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AkPlaylistArray_Copy(swigCPtr, AkPlaylistArray.getCPtr(in_rSource)); }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylistArray.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylistArray.cs.meta
new file mode 100644
index 000000000..dee5fc71b
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylistArray.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: ad0d504abd7aa87419172b4dca788149
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylistItem.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylistItem.cs
new file mode 100644
index 000000000..e1fb61298
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylistItem.cs
@@ -0,0 +1,73 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkPlaylistItem : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkPlaylistItem(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkPlaylistItem obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkPlaylistItem() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkPlaylistItem(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkPlaylistItem() : this(AkSoundEnginePINVOKE.CSharp_new_AkPlaylistItem__SWIG_0(), true) {
+ }
+
+ public AkPlaylistItem(AkPlaylistItem in_rCopy) : this(AkSoundEnginePINVOKE.CSharp_new_AkPlaylistItem__SWIG_1(AkPlaylistItem.getCPtr(in_rCopy)), true) {
+ }
+
+ public AkPlaylistItem Assign(AkPlaylistItem in_rCopy) {
+ AkPlaylistItem ret = new AkPlaylistItem(AkSoundEnginePINVOKE.CSharp_AkPlaylistItem_Assign(swigCPtr, AkPlaylistItem.getCPtr(in_rCopy)), false);
+ return ret;
+ }
+
+ public bool IsEqualTo(AkPlaylistItem in_rCopy) { return AkSoundEnginePINVOKE.CSharp_AkPlaylistItem_IsEqualTo(swigCPtr, AkPlaylistItem.getCPtr(in_rCopy)); }
+
+ public AKRESULT SetExternalSources(uint in_nExternalSrc, AkExternalSourceInfoArray in_pExternalSrc) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AkPlaylistItem_SetExternalSources(swigCPtr, in_nExternalSrc, in_pExternalSrc.GetBuffer()); }
+
+ public uint audioNodeID { set { AkSoundEnginePINVOKE.CSharp_AkPlaylistItem_audioNodeID_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPlaylistItem_audioNodeID_get(swigCPtr); }
+ }
+
+ public int msDelay { set { AkSoundEnginePINVOKE.CSharp_AkPlaylistItem_msDelay_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPlaylistItem_msDelay_get(swigCPtr); }
+ }
+
+ public global::System.IntPtr pCustomInfo { set { AkSoundEnginePINVOKE.CSharp_AkPlaylistItem_pCustomInfo_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPlaylistItem_pCustomInfo_get(swigCPtr); }
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylistItem.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylistItem.cs.meta
new file mode 100644
index 000000000..fd6db3644
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkPlaylistItem.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e7e7c8f48c39a654a821e52cda08f21f
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkPluginType.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkPluginType.cs
new file mode 100644
index 000000000..18078c4b0
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkPluginType.cs
@@ -0,0 +1,23 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkPluginType {
+ AkPluginTypeNone = 0,
+ AkPluginTypeCodec = 1,
+ AkPluginTypeSource = 2,
+ AkPluginTypeEffect = 3,
+ AkPluginTypeMixer = 6,
+ AkPluginTypeSink = 7,
+ AkPluginTypeGlobalExtension = 8,
+ AkPluginTypeMask = 0xf
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkPluginType.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkPluginType.cs.meta
new file mode 100644
index 000000000..c5cc69418
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkPluginType.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4cc07fe38020364469d43f356f275a95
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkPositioningInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkPositioningInfo.cs
new file mode 100644
index 000000000..dcdec84c5
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkPositioningInfo.cs
@@ -0,0 +1,106 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkPositioningInfo : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkPositioningInfo(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkPositioningInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkPositioningInfo() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkPositioningInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public float fCenterPct { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fCenterPct_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fCenterPct_get(swigCPtr); }
+ }
+
+ public AkSpeakerPanningType pannerType { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_pannerType_set(swigCPtr, (int)value); } get { return (AkSpeakerPanningType)AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_pannerType_get(swigCPtr); }
+ }
+
+ public Ak3DPositionType e3dPositioningType { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_e3dPositioningType_set(swigCPtr, (int)value); } get { return (Ak3DPositionType)AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_e3dPositioningType_get(swigCPtr); }
+ }
+
+ public bool bHoldEmitterPosAndOrient { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_bHoldEmitterPosAndOrient_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_bHoldEmitterPosAndOrient_get(swigCPtr); }
+ }
+
+ public Ak3DSpatializationMode e3DSpatializationMode { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_e3DSpatializationMode_set(swigCPtr, (int)value); } get { return (Ak3DSpatializationMode)AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_e3DSpatializationMode_get(swigCPtr); }
+ }
+
+ public bool bEnableAttenuation { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_bEnableAttenuation_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_bEnableAttenuation_get(swigCPtr); }
+ }
+
+ public bool bUseConeAttenuation { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_bUseConeAttenuation_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_bUseConeAttenuation_get(swigCPtr); }
+ }
+
+ public float fInnerAngle { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fInnerAngle_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fInnerAngle_get(swigCPtr); }
+ }
+
+ public float fOuterAngle { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fOuterAngle_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fOuterAngle_get(swigCPtr); }
+ }
+
+ public float fConeMaxAttenuation { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fConeMaxAttenuation_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fConeMaxAttenuation_get(swigCPtr); }
+ }
+
+ public float LPFCone { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_LPFCone_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_LPFCone_get(swigCPtr); }
+ }
+
+ public float HPFCone { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_HPFCone_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_HPFCone_get(swigCPtr); }
+ }
+
+ public float fMaxDistance { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fMaxDistance_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fMaxDistance_get(swigCPtr); }
+ }
+
+ public float fVolDryAtMaxDist { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fVolDryAtMaxDist_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fVolDryAtMaxDist_get(swigCPtr); }
+ }
+
+ public float fVolAuxGameDefAtMaxDist { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fVolAuxGameDefAtMaxDist_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fVolAuxGameDefAtMaxDist_get(swigCPtr); }
+ }
+
+ public float fVolAuxUserDefAtMaxDist { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fVolAuxUserDefAtMaxDist_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_fVolAuxUserDefAtMaxDist_get(swigCPtr); }
+ }
+
+ public float LPFValueAtMaxDist { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_LPFValueAtMaxDist_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_LPFValueAtMaxDist_get(swigCPtr); }
+ }
+
+ public float HPFValueAtMaxDist { set { AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_HPFValueAtMaxDist_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPositioningInfo_HPFValueAtMaxDist_get(swigCPtr); }
+ }
+
+ public AkPositioningInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkPositioningInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkPositioningInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkPositioningInfo.cs.meta
new file mode 100644
index 000000000..c98e4f413
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkPositioningInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e21e967cc060d5c46bcefd3b7099ca60
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkPreparationType.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkPreparationType.cs
new file mode 100644
index 000000000..c3807e121
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkPreparationType.cs
@@ -0,0 +1,18 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkPreparationType {
+ Preparation_Load,
+ Preparation_Unload,
+ Preparation_LoadAndDecode
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkPreparationType.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkPreparationType.cs.meta
new file mode 100644
index 000000000..8910f94c6
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkPreparationType.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e1ab05e0c8cafd64899ff6a7207ca8ce
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkQueryRTPCValue.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkQueryRTPCValue.cs
new file mode 100644
index 000000000..f1a846adf
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkQueryRTPCValue.cs
@@ -0,0 +1,20 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkQueryRTPCValue {
+ RTPCValue_Default,
+ RTPCValue_Global,
+ RTPCValue_GameObject,
+ RTPCValue_PlayingID,
+ RTPCValue_Unavailable
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkQueryRTPCValue.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkQueryRTPCValue.cs.meta
new file mode 100644
index 000000000..b96832bd0
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkQueryRTPCValue.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 68572dba0409b7d4faa2f61c3d5113bb
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkRamp.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkRamp.cs
new file mode 100644
index 000000000..41793b087
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkRamp.cs
@@ -0,0 +1,61 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkRamp : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkRamp(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkRamp obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkRamp() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkRamp(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkRamp() : this(AkSoundEnginePINVOKE.CSharp_new_AkRamp__SWIG_0(), true) {
+ }
+
+ public AkRamp(float in_fPrev, float in_fNext) : this(AkSoundEnginePINVOKE.CSharp_new_AkRamp__SWIG_1(in_fPrev, in_fNext), true) {
+ }
+
+ public float fPrev { set { AkSoundEnginePINVOKE.CSharp_AkRamp_fPrev_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkRamp_fPrev_get(swigCPtr); }
+ }
+
+ public float fNext { set { AkSoundEnginePINVOKE.CSharp_AkRamp_fNext_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkRamp_fNext_get(swigCPtr); }
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkRamp.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkRamp.cs.meta
new file mode 100644
index 000000000..8f68a20c1
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkRamp.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 247bbaf4dada3b846960b67566df6ae6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkReflectionPathInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkReflectionPathInfo.cs
new file mode 100644
index 000000000..bea97f7d8
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkReflectionPathInfo.cs
@@ -0,0 +1,80 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkReflectionPathInfo : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkReflectionPathInfo(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkReflectionPathInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkReflectionPathInfo() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkReflectionPathInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public UnityEngine.Vector3 imageSource { set { AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_imageSource_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_imageSource_get(swigCPtr); }
+ }
+
+ public uint numPathPoints { set { AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_numPathPoints_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_numPathPoints_get(swigCPtr); }
+ }
+
+ public uint numReflections { set { AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_numReflections_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_numReflections_get(swigCPtr); }
+ }
+
+ public float level { set { AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_level_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_level_get(swigCPtr); }
+ }
+
+ public bool isOccluded { set { AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_isOccluded_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_isOccluded_get(swigCPtr); }
+ }
+
+ public static int GetSizeOf() { return AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_GetSizeOf(); }
+
+ public UnityEngine.Vector3 GetPathPoint(uint idx) { return AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_GetPathPoint(swigCPtr, idx); }
+
+ public AkAcousticSurface GetAcousticSurface(uint idx) {
+ AkAcousticSurface ret = new AkAcousticSurface(AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_GetAcousticSurface(swigCPtr, idx), false);
+ return ret;
+ }
+
+ public float GetDiffraction(uint idx) { return AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_GetDiffraction(swigCPtr, idx); }
+
+ public void Clone(AkReflectionPathInfo other) { AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_Clone(swigCPtr, AkReflectionPathInfo.getCPtr(other)); }
+
+ public AkReflectionPathInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkReflectionPathInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkReflectionPathInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkReflectionPathInfo.cs.meta
new file mode 100644
index 000000000..23cb916b3
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkReflectionPathInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 2d0074edd11ee8245b130e5b04d67154
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkResourceMonitorDataSummary.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkResourceMonitorDataSummary.cs
new file mode 100644
index 000000000..08be78025
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkResourceMonitorDataSummary.cs
@@ -0,0 +1,70 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkResourceMonitorDataSummary : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkResourceMonitorDataSummary(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkResourceMonitorDataSummary obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkResourceMonitorDataSummary() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkResourceMonitorDataSummary(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public float totalCPU { set { AkSoundEnginePINVOKE.CSharp_AkResourceMonitorDataSummary_totalCPU_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkResourceMonitorDataSummary_totalCPU_get(swigCPtr); }
+ }
+
+ public float pluginCPU { set { AkSoundEnginePINVOKE.CSharp_AkResourceMonitorDataSummary_pluginCPU_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkResourceMonitorDataSummary_pluginCPU_get(swigCPtr); }
+ }
+
+ public uint physicalVoices { set { AkSoundEnginePINVOKE.CSharp_AkResourceMonitorDataSummary_physicalVoices_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkResourceMonitorDataSummary_physicalVoices_get(swigCPtr); }
+ }
+
+ public uint virtualVoices { set { AkSoundEnginePINVOKE.CSharp_AkResourceMonitorDataSummary_virtualVoices_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkResourceMonitorDataSummary_virtualVoices_get(swigCPtr); }
+ }
+
+ public uint totalVoices { set { AkSoundEnginePINVOKE.CSharp_AkResourceMonitorDataSummary_totalVoices_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkResourceMonitorDataSummary_totalVoices_get(swigCPtr); }
+ }
+
+ public uint nbActiveEvents { set { AkSoundEnginePINVOKE.CSharp_AkResourceMonitorDataSummary_nbActiveEvents_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkResourceMonitorDataSummary_nbActiveEvents_get(swigCPtr); }
+ }
+
+ public AkResourceMonitorDataSummary() : this(AkSoundEnginePINVOKE.CSharp_new_AkResourceMonitorDataSummary(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkResourceMonitorDataSummary.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkResourceMonitorDataSummary.cs.meta
new file mode 100644
index 000000000..f50eefcaa
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkResourceMonitorDataSummary.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: eec5ea7ea6bbf9849bc4814165fbfcc3
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkRoomParams.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkRoomParams.cs
new file mode 100644
index 000000000..4fd4b0f20
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkRoomParams.cs
@@ -0,0 +1,76 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkRoomParams : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkRoomParams(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkRoomParams obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkRoomParams() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkRoomParams(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkRoomParams() : this(AkSoundEnginePINVOKE.CSharp_new_AkRoomParams__SWIG_0(), true) {
+ }
+
+ public AkRoomParams(AkRoomParams in_rhs) : this(AkSoundEnginePINVOKE.CSharp_new_AkRoomParams__SWIG_1(AkRoomParams.getCPtr(in_rhs)), true) {
+ }
+
+ public UnityEngine.Vector3 Up { set { AkSoundEnginePINVOKE.CSharp_AkRoomParams_Up_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkRoomParams_Up_get(swigCPtr); }
+ }
+
+ public UnityEngine.Vector3 Front { set { AkSoundEnginePINVOKE.CSharp_AkRoomParams_Front_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkRoomParams_Front_get(swigCPtr); }
+ }
+
+ public uint ReverbAuxBus { set { AkSoundEnginePINVOKE.CSharp_AkRoomParams_ReverbAuxBus_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkRoomParams_ReverbAuxBus_get(swigCPtr); }
+ }
+
+ public float ReverbLevel { set { AkSoundEnginePINVOKE.CSharp_AkRoomParams_ReverbLevel_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkRoomParams_ReverbLevel_get(swigCPtr); }
+ }
+
+ public float WallOcclusion { set { AkSoundEnginePINVOKE.CSharp_AkRoomParams_WallOcclusion_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkRoomParams_WallOcclusion_get(swigCPtr); }
+ }
+
+ public float RoomGameObj_AuxSendLevelToSelf { set { AkSoundEnginePINVOKE.CSharp_AkRoomParams_RoomGameObj_AuxSendLevelToSelf_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkRoomParams_RoomGameObj_AuxSendLevelToSelf_get(swigCPtr); }
+ }
+
+ public bool RoomGameObj_KeepRegistered { set { AkSoundEnginePINVOKE.CSharp_AkRoomParams_RoomGameObj_KeepRegistered_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkRoomParams_RoomGameObj_KeepRegistered_get(swigCPtr); }
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkRoomParams.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkRoomParams.cs.meta
new file mode 100644
index 000000000..08d590d24
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkRoomParams.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 51c01eabff2e7b443a570b57bdfbb080
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkSegmentInfo.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkSegmentInfo.cs
new file mode 100644
index 000000000..d696d336e
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkSegmentInfo.cs
@@ -0,0 +1,79 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkSegmentInfo : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkSegmentInfo(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkSegmentInfo obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkSegmentInfo() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkSegmentInfo(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public int iCurrentPosition { set { AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_iCurrentPosition_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_iCurrentPosition_get(swigCPtr); }
+ }
+
+ public int iPreEntryDuration { set { AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_iPreEntryDuration_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_iPreEntryDuration_get(swigCPtr); }
+ }
+
+ public int iActiveDuration { set { AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_iActiveDuration_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_iActiveDuration_get(swigCPtr); }
+ }
+
+ public int iPostExitDuration { set { AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_iPostExitDuration_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_iPostExitDuration_get(swigCPtr); }
+ }
+
+ public int iRemainingLookAheadTime { set { AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_iRemainingLookAheadTime_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_iRemainingLookAheadTime_get(swigCPtr); }
+ }
+
+ public float fBeatDuration { set { AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_fBeatDuration_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_fBeatDuration_get(swigCPtr); }
+ }
+
+ public float fBarDuration { set { AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_fBarDuration_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_fBarDuration_get(swigCPtr); }
+ }
+
+ public float fGridDuration { set { AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_fGridDuration_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_fGridDuration_get(swigCPtr); }
+ }
+
+ public float fGridOffset { set { AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_fGridOffset_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSegmentInfo_fGridOffset_get(swigCPtr); }
+ }
+
+ public AkSegmentInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkSegmentInfo(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkSegmentInfo.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkSegmentInfo.cs.meta
new file mode 100644
index 000000000..f86fe892e
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkSegmentInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e08d3b3ff70861f42ab3b3b24c0c7bd6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkSerializedCallbackHeader.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkSerializedCallbackHeader.cs
new file mode 100644
index 000000000..2f2c8836d
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkSerializedCallbackHeader.cs
@@ -0,0 +1,68 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkSerializedCallbackHeader : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkSerializedCallbackHeader(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkSerializedCallbackHeader obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkSerializedCallbackHeader() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkSerializedCallbackHeader(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public global::System.IntPtr pPackage { get { return AkSoundEnginePINVOKE.CSharp_AkSerializedCallbackHeader_pPackage_get(swigCPtr); }
+ }
+
+ public AkSerializedCallbackHeader pNext {
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkSerializedCallbackHeader_pNext_get(swigCPtr);
+ AkSerializedCallbackHeader ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkSerializedCallbackHeader(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkCallbackType eType { get { return (AkCallbackType)AkSoundEnginePINVOKE.CSharp_AkSerializedCallbackHeader_eType_get(swigCPtr); }
+ }
+
+ public global::System.IntPtr GetData() { return AkSoundEnginePINVOKE.CSharp_AkSerializedCallbackHeader_GetData(swigCPtr); }
+
+ public AkSerializedCallbackHeader() : this(AkSoundEnginePINVOKE.CSharp_new_AkSerializedCallbackHeader(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkSerializedCallbackHeader.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkSerializedCallbackHeader.cs.meta
new file mode 100644
index 000000000..b5830edf4
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkSerializedCallbackHeader.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4e15cb2949a5d8d4894f54dc08ee171a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkSourceChannelOrdering.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkSourceChannelOrdering.cs
new file mode 100644
index 000000000..8b04aac6c
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkSourceChannelOrdering.cs
@@ -0,0 +1,18 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkSourceChannelOrdering {
+ SourceChannelOrdering_Standard = 0,
+ SourceChannelOrdering_Film,
+ SourceChannelOrdering_FuMa
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkSourceChannelOrdering.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkSourceChannelOrdering.cs.meta
new file mode 100644
index 000000000..017f1ed1a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkSourceChannelOrdering.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 299e0516eb44a964d9753858fc4f7f92
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkSourceSettings.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkSourceSettings.cs
new file mode 100644
index 000000000..33e59d904
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkSourceSettings.cs
@@ -0,0 +1,67 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkSourceSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkSourceSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkSourceSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkSourceSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkSourceSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public uint sourceID { set { AkSoundEnginePINVOKE.CSharp_AkSourceSettings_sourceID_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSourceSettings_sourceID_get(swigCPtr); }
+ }
+
+ public global::System.IntPtr pMediaMemory { set { AkSoundEnginePINVOKE.CSharp_AkSourceSettings_pMediaMemory_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSourceSettings_pMediaMemory_get(swigCPtr); }
+ }
+
+ public uint uMediaSize { set { AkSoundEnginePINVOKE.CSharp_AkSourceSettings_uMediaSize_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSourceSettings_uMediaSize_get(swigCPtr); }
+ }
+
+ public void Clear() { AkSoundEnginePINVOKE.CSharp_AkSourceSettings_Clear(swigCPtr); }
+
+ public static int GetSizeOf() { return AkSoundEnginePINVOKE.CSharp_AkSourceSettings_GetSizeOf(); }
+
+ public void Clone(AkSourceSettings other) { AkSoundEnginePINVOKE.CSharp_AkSourceSettings_Clone(swigCPtr, AkSourceSettings.getCPtr(other)); }
+
+ public AkSourceSettings() : this(AkSoundEnginePINVOKE.CSharp_new_AkSourceSettings(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkSourceSettings.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkSourceSettings.cs.meta
new file mode 100644
index 000000000..6dda77c54
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkSourceSettings.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 28fc2ce88f3fbe24f92fc6262e6894f4
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkSpatialAudioInitSettings.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkSpatialAudioInitSettings.cs
new file mode 100644
index 000000000..828329b7a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkSpatialAudioInitSettings.cs
@@ -0,0 +1,85 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkSpatialAudioInitSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkSpatialAudioInitSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkSpatialAudioInitSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkSpatialAudioInitSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkSpatialAudioInitSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkSpatialAudioInitSettings() : this(AkSoundEnginePINVOKE.CSharp_new_AkSpatialAudioInitSettings(), true) {
+ }
+
+ public uint uMaxSoundPropagationDepth { set { AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_uMaxSoundPropagationDepth_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_uMaxSoundPropagationDepth_get(swigCPtr); }
+ }
+
+ public uint uDiffractionFlags { set { AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_uDiffractionFlags_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_uDiffractionFlags_get(swigCPtr); }
+ }
+
+ public float fDiffractionShadowAttenFactor { set { AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_fDiffractionShadowAttenFactor_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_fDiffractionShadowAttenFactor_get(swigCPtr); }
+ }
+
+ public float fDiffractionShadowDegrees { set { AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_fDiffractionShadowDegrees_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_fDiffractionShadowDegrees_get(swigCPtr); }
+ }
+
+ public float fMovementThreshold { set { AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_fMovementThreshold_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_fMovementThreshold_get(swigCPtr); }
+ }
+
+ public uint uNumberOfPrimaryRays { set { AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_uNumberOfPrimaryRays_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_uNumberOfPrimaryRays_get(swigCPtr); }
+ }
+
+ public uint uMaxReflectionOrder { set { AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_uMaxReflectionOrder_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_uMaxReflectionOrder_get(swigCPtr); }
+ }
+
+ public float fMaxPathLength { set { AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_fMaxPathLength_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_fMaxPathLength_get(swigCPtr); }
+ }
+
+ public bool bEnableDiffractionOnReflection { set { AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_bEnableDiffractionOnReflection_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_bEnableDiffractionOnReflection_get(swigCPtr); }
+ }
+
+ public bool bEnableDirectPathDiffraction { set { AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_bEnableDirectPathDiffraction_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_bEnableDirectPathDiffraction_get(swigCPtr); }
+ }
+
+ public bool bEnableTransmission { set { AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_bEnableTransmission_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkSpatialAudioInitSettings_bEnableTransmission_get(swigCPtr); }
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkSpatialAudioInitSettings.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkSpatialAudioInitSettings.cs.meta
new file mode 100644
index 000000000..a8664d946
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkSpatialAudioInitSettings.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 266f2f2fdf11fb94095ba8105be2479f
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkSpeakerPanningType.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkSpeakerPanningType.cs
new file mode 100644
index 000000000..f1f9c2043
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkSpeakerPanningType.cs
@@ -0,0 +1,17 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkSpeakerPanningType {
+ AK_DirectSpeakerAssignment = 0,
+ AK_BalanceFadeHeight = 1
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkSpeakerPanningType.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkSpeakerPanningType.cs.meta
new file mode 100644
index 000000000..124fe8841
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkSpeakerPanningType.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 0d15edab47d162e439720cc271aec6a7
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkStreamMgrSettings.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkStreamMgrSettings.cs
new file mode 100644
index 000000000..da73e9f43
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkStreamMgrSettings.cs
@@ -0,0 +1,49 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkStreamMgrSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkStreamMgrSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkStreamMgrSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkStreamMgrSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkStreamMgrSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkStreamMgrSettings.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkStreamMgrSettings.cs.meta
new file mode 100644
index 000000000..0abd108fe
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkStreamMgrSettings.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4b5e0fd4c4cbbaf42bce76c82c98038b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkTaskContext.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkTaskContext.cs
new file mode 100644
index 000000000..6cd49bcb1
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkTaskContext.cs
@@ -0,0 +1,55 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkTaskContext : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkTaskContext(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkTaskContext obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkTaskContext() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkTaskContext(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public uint uIdxThread { set { AkSoundEnginePINVOKE.CSharp_AkTaskContext_uIdxThread_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkTaskContext_uIdxThread_get(swigCPtr); }
+ }
+
+ public AkTaskContext() : this(AkSoundEnginePINVOKE.CSharp_new_AkTaskContext(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkTaskContext.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkTaskContext.cs.meta
new file mode 100644
index 000000000..edf05f76d
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkTaskContext.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 1df26658c897e714bbc973da3461bb64
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkTransform.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkTransform.cs
new file mode 100644
index 000000000..224418fa6
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkTransform.cs
@@ -0,0 +1,70 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkTransform : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkTransform(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkTransform obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkTransform() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkTransform(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public UnityEngine.Vector3 Position() { return AkSoundEnginePINVOKE.CSharp_AkTransform_Position(swigCPtr); }
+
+ public UnityEngine.Vector3 OrientationFront() { return AkSoundEnginePINVOKE.CSharp_AkTransform_OrientationFront(swigCPtr); }
+
+ public UnityEngine.Vector3 OrientationTop() { return AkSoundEnginePINVOKE.CSharp_AkTransform_OrientationTop(swigCPtr); }
+
+ public void Set(UnityEngine.Vector3 in_position, UnityEngine.Vector3 in_orientationFront, UnityEngine.Vector3 in_orientationTop) { AkSoundEnginePINVOKE.CSharp_AkTransform_Set__SWIG_0(swigCPtr, in_position, in_orientationFront, in_orientationTop); }
+
+ public void Set(float in_positionX, float in_positionY, float in_positionZ, float in_orientFrontX, float in_orientFrontY, float in_orientFrontZ, float in_orientTopX, float in_orientTopY, float in_orientTopZ) { AkSoundEnginePINVOKE.CSharp_AkTransform_Set__SWIG_1(swigCPtr, in_positionX, in_positionY, in_positionZ, in_orientFrontX, in_orientFrontY, in_orientFrontZ, in_orientTopX, in_orientTopY, in_orientTopZ); }
+
+ public void SetPosition(UnityEngine.Vector3 in_position) { AkSoundEnginePINVOKE.CSharp_AkTransform_SetPosition__SWIG_0(swigCPtr, in_position); }
+
+ public void SetPosition(float in_x, float in_y, float in_z) { AkSoundEnginePINVOKE.CSharp_AkTransform_SetPosition__SWIG_1(swigCPtr, in_x, in_y, in_z); }
+
+ public void SetOrientation(UnityEngine.Vector3 in_orientationFront, UnityEngine.Vector3 in_orientationTop) { AkSoundEnginePINVOKE.CSharp_AkTransform_SetOrientation__SWIG_0(swigCPtr, in_orientationFront, in_orientationTop); }
+
+ public void SetOrientation(float in_orientFrontX, float in_orientFrontY, float in_orientFrontZ, float in_orientTopX, float in_orientTopY, float in_orientTopZ) { AkSoundEnginePINVOKE.CSharp_AkTransform_SetOrientation__SWIG_1(swigCPtr, in_orientFrontX, in_orientFrontY, in_orientFrontZ, in_orientTopX, in_orientTopY, in_orientTopZ); }
+
+ public AkTransform() : this(AkSoundEnginePINVOKE.CSharp_new_AkTransform(), true) {
+ }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkTransform.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkTransform.cs.meta
new file mode 100644
index 000000000..fdf4c93ef
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkTransform.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 472676cd5d80a494b82275ecabf0566b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkTriangle.cs b/Assets/Wwise/Deployment/API/Generated/Common/AkTriangle.cs
new file mode 100644
index 000000000..58479178a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkTriangle.cs
@@ -0,0 +1,73 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkTriangle : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkTriangle(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkTriangle obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkTriangle() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkTriangle(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkTriangle() : this(AkSoundEnginePINVOKE.CSharp_new_AkTriangle__SWIG_0(), true) {
+ }
+
+ public AkTriangle(ushort in_pt0, ushort in_pt1, ushort in_pt2, ushort in_surfaceInfo) : this(AkSoundEnginePINVOKE.CSharp_new_AkTriangle__SWIG_1(in_pt0, in_pt1, in_pt2, in_surfaceInfo), true) {
+ }
+
+ public ushort point0 { set { AkSoundEnginePINVOKE.CSharp_AkTriangle_point0_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkTriangle_point0_get(swigCPtr); }
+ }
+
+ public ushort point1 { set { AkSoundEnginePINVOKE.CSharp_AkTriangle_point1_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkTriangle_point1_get(swigCPtr); }
+ }
+
+ public ushort point2 { set { AkSoundEnginePINVOKE.CSharp_AkTriangle_point2_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkTriangle_point2_get(swigCPtr); }
+ }
+
+ public ushort surface { set { AkSoundEnginePINVOKE.CSharp_AkTriangle_surface_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkTriangle_surface_get(swigCPtr); }
+ }
+
+ public void Clear() { AkSoundEnginePINVOKE.CSharp_AkTriangle_Clear(swigCPtr); }
+
+ public static int GetSizeOf() { return AkSoundEnginePINVOKE.CSharp_AkTriangle_GetSizeOf(); }
+
+ public void Clone(AkTriangle other) { AkSoundEnginePINVOKE.CSharp_AkTriangle_Clone(swigCPtr, AkTriangle.getCPtr(other)); }
+
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Common/AkTriangle.cs.meta b/Assets/Wwise/Deployment/API/Generated/Common/AkTriangle.cs.meta
new file mode 100644
index 000000000..5781dcd00
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Common/AkTriangle.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: fa27f5e93b03f3643b8d1ebce8c73e2b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Mac.meta b/Assets/Wwise/Deployment/API/Generated/Mac.meta
new file mode 100644
index 000000000..2b9258ecc
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Mac.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 1bb50f353abab9a4a89785eaf504cf75
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Mac/AkCommunicationSettings_Mac.cs b/Assets/Wwise/Deployment/API/Generated/Mac/AkCommunicationSettings_Mac.cs
new file mode 100644
index 000000000..fe756d86c
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Mac/AkCommunicationSettings_Mac.cs
@@ -0,0 +1,78 @@
+#if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkCommunicationSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkCommunicationSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkCommunicationSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkCommunicationSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkCommunicationSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkCommunicationSettings() : this(AkSoundEnginePINVOKE.CSharp_new_AkCommunicationSettings(), true) {
+ }
+
+ public uint uPoolSize { set { AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uPoolSize_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uPoolSize_get(swigCPtr); }
+ }
+
+ public ushort uDiscoveryBroadcastPort { set { AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_get(swigCPtr); }
+ }
+
+ public ushort uCommandPort { set { AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uCommandPort_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uCommandPort_get(swigCPtr); }
+ }
+
+ public ushort uNotificationPort { set { AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uNotificationPort_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uNotificationPort_get(swigCPtr); }
+ }
+
+ public AkCommunicationSettings.AkCommSystem commSystem { set { AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_commSystem_set(swigCPtr, (int)value); } get { return (AkCommunicationSettings.AkCommSystem)AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_commSystem_get(swigCPtr); }
+ }
+
+ public bool bInitSystemLib { set { AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_bInitSystemLib_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_bInitSystemLib_get(swigCPtr); }
+ }
+
+ public string szAppNetworkName { set { AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_szAppNetworkName_set(swigCPtr, value); } get { return AkSoundEngine.StringFromIntPtrString(AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_szAppNetworkName_get(swigCPtr)); }
+ }
+
+ public enum AkCommSystem {
+ AkCommSystem_Socket,
+ AkCommSystem_HTCS
+ }
+
+}
+#endif // #if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Mac/AkCommunicationSettings_Mac.cs.meta b/Assets/Wwise/Deployment/API/Generated/Mac/AkCommunicationSettings_Mac.cs.meta
new file mode 100644
index 000000000..cf859936f
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Mac/AkCommunicationSettings_Mac.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: c552721c68e162f49881bc82f4398295
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Mac/AkPlatformInitSettings_Mac.cs b/Assets/Wwise/Deployment/API/Generated/Mac/AkPlatformInitSettings_Mac.cs
new file mode 100644
index 000000000..1a5b78477
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Mac/AkPlatformInitSettings_Mac.cs
@@ -0,0 +1,87 @@
+#if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkPlatformInitSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkPlatformInitSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkPlatformInitSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkPlatformInitSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkPlatformInitSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkThreadProperties threadLEngine { set { AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadLEngine_set(swigCPtr, AkThreadProperties.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadLEngine_get(swigCPtr);
+ AkThreadProperties ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkThreadProperties(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkThreadProperties threadOutputMgr { set { AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadOutputMgr_set(swigCPtr, AkThreadProperties.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadOutputMgr_get(swigCPtr);
+ AkThreadProperties ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkThreadProperties(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkThreadProperties threadBankManager { set { AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadBankManager_set(swigCPtr, AkThreadProperties.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadBankManager_get(swigCPtr);
+ AkThreadProperties ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkThreadProperties(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkThreadProperties threadMonitor { set { AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadMonitor_set(swigCPtr, AkThreadProperties.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadMonitor_get(swigCPtr);
+ AkThreadProperties ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkThreadProperties(cPtr, false);
+ return ret;
+ }
+ }
+
+ public uint uSampleRate { set { AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_uSampleRate_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_uSampleRate_get(swigCPtr); }
+ }
+
+ public ushort uNumRefillsInVoice { set { AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_uNumRefillsInVoice_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_uNumRefillsInVoice_get(swigCPtr); }
+ }
+
+}
+#endif // #if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Mac/AkPlatformInitSettings_Mac.cs.meta b/Assets/Wwise/Deployment/API/Generated/Mac/AkPlatformInitSettings_Mac.cs.meta
new file mode 100644
index 000000000..e6a2798c6
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Mac/AkPlatformInitSettings_Mac.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 6388685a7a0d6af42a1e378c785b01ff
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Mac/AkSoundEnginePINVOKE_Mac.cs b/Assets/Wwise/Deployment/API/Generated/Mac/AkSoundEnginePINVOKE_Mac.cs
new file mode 100644
index 000000000..7a1a93826
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Mac/AkSoundEnginePINVOKE_Mac.cs
@@ -0,0 +1,2155 @@
+#if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+class AkSoundEnginePINVOKE {
+
+ static AkSoundEnginePINVOKE() {
+ }
+
+
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_SOUNDBANK_VERSION_get")]
+ public static extern uint CSharp_AK_SOUNDBANK_VERSION_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioSettings_uNumSamplesPerFrame_set")]
+ public static extern void CSharp_AkAudioSettings_uNumSamplesPerFrame_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioSettings_uNumSamplesPerFrame_get")]
+ public static extern uint CSharp_AkAudioSettings_uNumSamplesPerFrame_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioSettings_uNumSamplesPerSecond_set")]
+ public static extern void CSharp_AkAudioSettings_uNumSamplesPerSecond_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioSettings_uNumSamplesPerSecond_get")]
+ public static extern uint CSharp_AkAudioSettings_uNumSamplesPerSecond_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkAudioSettings")]
+ public static extern global::System.IntPtr CSharp_new_AkAudioSettings();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkAudioSettings")]
+ public static extern void CSharp_delete_AkAudioSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_idDevice_set")]
+ public static extern void CSharp_AkDeviceDescription_idDevice_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_idDevice_get")]
+ public static extern uint CSharp_AkDeviceDescription_idDevice_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_deviceName_set")]
+ public static extern void CSharp_AkDeviceDescription_deviceName_set(global::System.IntPtr jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_deviceName_get")]
+ public static extern global::System.IntPtr CSharp_AkDeviceDescription_deviceName_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_deviceStateMask_set")]
+ public static extern void CSharp_AkDeviceDescription_deviceStateMask_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_deviceStateMask_get")]
+ public static extern int CSharp_AkDeviceDescription_deviceStateMask_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_isDefaultDevice_set")]
+ public static extern void CSharp_AkDeviceDescription_isDefaultDevice_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_isDefaultDevice_get")]
+ public static extern bool CSharp_AkDeviceDescription_isDefaultDevice_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_Clear")]
+ public static extern void CSharp_AkDeviceDescription_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_GetSizeOf")]
+ public static extern int CSharp_AkDeviceDescription_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_Clone")]
+ public static extern void CSharp_AkDeviceDescription_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkDeviceDescription")]
+ public static extern global::System.IntPtr CSharp_new_AkDeviceDescription();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkDeviceDescription")]
+ public static extern void CSharp_delete_AkDeviceDescription(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_Position")]
+ public static extern UnityEngine.Vector3 CSharp_AkTransform_Position(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_OrientationFront")]
+ public static extern UnityEngine.Vector3 CSharp_AkTransform_OrientationFront(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_OrientationTop")]
+ public static extern UnityEngine.Vector3 CSharp_AkTransform_OrientationTop(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_Set__SWIG_0")]
+ public static extern void CSharp_AkTransform_Set__SWIG_0(global::System.IntPtr jarg1, UnityEngine.Vector3 jarg2, UnityEngine.Vector3 jarg3, UnityEngine.Vector3 jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_Set__SWIG_1")]
+ public static extern void CSharp_AkTransform_Set__SWIG_1(global::System.IntPtr jarg1, float jarg2, float jarg3, float jarg4, float jarg5, float jarg6, float jarg7, float jarg8, float jarg9, float jarg10);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_SetPosition__SWIG_0")]
+ public static extern void CSharp_AkTransform_SetPosition__SWIG_0(global::System.IntPtr jarg1, UnityEngine.Vector3 jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_SetPosition__SWIG_1")]
+ public static extern void CSharp_AkTransform_SetPosition__SWIG_1(global::System.IntPtr jarg1, float jarg2, float jarg3, float jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_SetOrientation__SWIG_0")]
+ public static extern void CSharp_AkTransform_SetOrientation__SWIG_0(global::System.IntPtr jarg1, UnityEngine.Vector3 jarg2, UnityEngine.Vector3 jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_SetOrientation__SWIG_1")]
+ public static extern void CSharp_AkTransform_SetOrientation__SWIG_1(global::System.IntPtr jarg1, float jarg2, float jarg3, float jarg4, float jarg5, float jarg6, float jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkTransform")]
+ public static extern global::System.IntPtr CSharp_new_AkTransform();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkTransform")]
+ public static extern void CSharp_delete_AkTransform(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObstructionOcclusionValues_occlusion_set")]
+ public static extern void CSharp_AkObstructionOcclusionValues_occlusion_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObstructionOcclusionValues_occlusion_get")]
+ public static extern float CSharp_AkObstructionOcclusionValues_occlusion_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObstructionOcclusionValues_obstruction_set")]
+ public static extern void CSharp_AkObstructionOcclusionValues_obstruction_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObstructionOcclusionValues_obstruction_get")]
+ public static extern float CSharp_AkObstructionOcclusionValues_obstruction_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObstructionOcclusionValues_Clear")]
+ public static extern void CSharp_AkObstructionOcclusionValues_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObstructionOcclusionValues_GetSizeOf")]
+ public static extern int CSharp_AkObstructionOcclusionValues_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObstructionOcclusionValues_Clone")]
+ public static extern void CSharp_AkObstructionOcclusionValues_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkObstructionOcclusionValues")]
+ public static extern global::System.IntPtr CSharp_new_AkObstructionOcclusionValues();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkObstructionOcclusionValues")]
+ public static extern void CSharp_delete_AkObstructionOcclusionValues(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelEmitter_position_set")]
+ public static extern void CSharp_AkChannelEmitter_position_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelEmitter_position_get")]
+ public static extern global::System.IntPtr CSharp_AkChannelEmitter_position_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelEmitter_uInputChannels_set")]
+ public static extern void CSharp_AkChannelEmitter_uInputChannels_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelEmitter_uInputChannels_get")]
+ public static extern uint CSharp_AkChannelEmitter_uInputChannels_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkChannelEmitter")]
+ public static extern void CSharp_delete_AkChannelEmitter(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_listenerID_set")]
+ public static extern void CSharp_AkAuxSendValue_listenerID_set(global::System.IntPtr jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_listenerID_get")]
+ public static extern ulong CSharp_AkAuxSendValue_listenerID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_auxBusID_set")]
+ public static extern void CSharp_AkAuxSendValue_auxBusID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_auxBusID_get")]
+ public static extern uint CSharp_AkAuxSendValue_auxBusID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_fControlValue_set")]
+ public static extern void CSharp_AkAuxSendValue_fControlValue_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_fControlValue_get")]
+ public static extern float CSharp_AkAuxSendValue_fControlValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_Set")]
+ public static extern void CSharp_AkAuxSendValue_Set(global::System.IntPtr jarg1, ulong jarg2, uint jarg3, float jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_IsSame")]
+ public static extern bool CSharp_AkAuxSendValue_IsSame(global::System.IntPtr jarg1, ulong jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_GetSizeOf")]
+ public static extern int CSharp_AkAuxSendValue_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkAuxSendValue")]
+ public static extern void CSharp_delete_AkAuxSendValue(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkRamp__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkRamp__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkRamp__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkRamp__SWIG_1(float jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRamp_fPrev_set")]
+ public static extern void CSharp_AkRamp_fPrev_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRamp_fPrev_get")]
+ public static extern float CSharp_AkRamp_fPrev_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRamp_fNext_set")]
+ public static extern void CSharp_AkRamp_fNext_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRamp_fNext_get")]
+ public static extern float CSharp_AkRamp_fNext_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkRamp")]
+ public static extern void CSharp_delete_AkRamp(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_INT_get")]
+ public static extern ushort CSharp_AK_INT_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_FLOAT_get")]
+ public static extern ushort CSharp_AK_FLOAT_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_INTERLEAVED_get")]
+ public static extern byte CSharp_AK_INTERLEAVED_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_NONINTERLEAVED_get")]
+ public static extern byte CSharp_AK_NONINTERLEAVED_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_LE_NATIVE_BITSPERSAMPLE_get")]
+ public static extern uint CSharp_AK_LE_NATIVE_BITSPERSAMPLE_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_LE_NATIVE_SAMPLETYPE_get")]
+ public static extern uint CSharp_AK_LE_NATIVE_SAMPLETYPE_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_LE_NATIVE_INTERLEAVE_get")]
+ public static extern uint CSharp_AK_LE_NATIVE_INTERLEAVE_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uSampleRate_set")]
+ public static extern void CSharp_AkAudioFormat_uSampleRate_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uSampleRate_get")]
+ public static extern uint CSharp_AkAudioFormat_uSampleRate_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_channelConfig_set")]
+ public static extern void CSharp_AkAudioFormat_channelConfig_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_channelConfig_get")]
+ public static extern global::System.IntPtr CSharp_AkAudioFormat_channelConfig_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uBitsPerSample_set")]
+ public static extern void CSharp_AkAudioFormat_uBitsPerSample_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uBitsPerSample_get")]
+ public static extern uint CSharp_AkAudioFormat_uBitsPerSample_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uBlockAlign_set")]
+ public static extern void CSharp_AkAudioFormat_uBlockAlign_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uBlockAlign_get")]
+ public static extern uint CSharp_AkAudioFormat_uBlockAlign_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uTypeID_set")]
+ public static extern void CSharp_AkAudioFormat_uTypeID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uTypeID_get")]
+ public static extern uint CSharp_AkAudioFormat_uTypeID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uInterleaveID_set")]
+ public static extern void CSharp_AkAudioFormat_uInterleaveID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uInterleaveID_get")]
+ public static extern uint CSharp_AkAudioFormat_uInterleaveID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_GetNumChannels")]
+ public static extern uint CSharp_AkAudioFormat_GetNumChannels(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_GetBitsPerSample")]
+ public static extern uint CSharp_AkAudioFormat_GetBitsPerSample(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_GetBlockAlign")]
+ public static extern uint CSharp_AkAudioFormat_GetBlockAlign(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_GetTypeID")]
+ public static extern uint CSharp_AkAudioFormat_GetTypeID(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_GetInterleaveID")]
+ public static extern uint CSharp_AkAudioFormat_GetInterleaveID(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_SetAll")]
+ public static extern void CSharp_AkAudioFormat_SetAll(global::System.IntPtr jarg1, uint jarg2, global::System.IntPtr jarg3, uint jarg4, uint jarg5, uint jarg6, uint jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_IsChannelConfigSupported")]
+ public static extern bool CSharp_AkAudioFormat_IsChannelConfigSupported(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkAudioFormat")]
+ public static extern global::System.IntPtr CSharp_new_AkAudioFormat();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkAudioFormat")]
+ public static extern void CSharp_delete_AkAudioFormat(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkIterator_pItem_set")]
+ public static extern void CSharp_AkIterator_pItem_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkIterator_pItem_get")]
+ public static extern global::System.IntPtr CSharp_AkIterator_pItem_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkIterator_NextIter")]
+ public static extern global::System.IntPtr CSharp_AkIterator_NextIter(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkIterator_PrevIter")]
+ public static extern global::System.IntPtr CSharp_AkIterator_PrevIter(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkIterator_GetItem")]
+ public static extern global::System.IntPtr CSharp_AkIterator_GetItem(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkIterator_IsEqualTo")]
+ public static extern bool CSharp_AkIterator_IsEqualTo(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkIterator_IsDifferentFrom")]
+ public static extern bool CSharp_AkIterator_IsDifferentFrom(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkIterator")]
+ public static extern global::System.IntPtr CSharp_new_AkIterator();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkIterator")]
+ public static extern void CSharp_delete_AkIterator(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkPlaylistItem__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkPlaylistItem__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkPlaylistItem__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkPlaylistItem__SWIG_1(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkPlaylistItem")]
+ public static extern void CSharp_delete_AkPlaylistItem(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_Assign")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistItem_Assign(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_IsEqualTo")]
+ public static extern bool CSharp_AkPlaylistItem_IsEqualTo(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_SetExternalSources")]
+ public static extern int CSharp_AkPlaylistItem_SetExternalSources(global::System.IntPtr jarg1, uint jarg2, global::System.IntPtr jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_audioNodeID_set")]
+ public static extern void CSharp_AkPlaylistItem_audioNodeID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_audioNodeID_get")]
+ public static extern uint CSharp_AkPlaylistItem_audioNodeID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_msDelay_set")]
+ public static extern void CSharp_AkPlaylistItem_msDelay_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_msDelay_get")]
+ public static extern int CSharp_AkPlaylistItem_msDelay_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_pCustomInfo_set")]
+ public static extern void CSharp_AkPlaylistItem_pCustomInfo_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_pCustomInfo_get")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistItem_pCustomInfo_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkPlaylistArray")]
+ public static extern global::System.IntPtr CSharp_new_AkPlaylistArray();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkPlaylistArray")]
+ public static extern void CSharp_delete_AkPlaylistArray(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Begin")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_Begin(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_End")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_End(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_FindEx")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_FindEx(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Erase__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_Erase__SWIG_0(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Erase__SWIG_1")]
+ public static extern void CSharp_AkPlaylistArray_Erase__SWIG_1(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_EraseSwap")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_EraseSwap(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_IsGrowingAllowed")]
+ public static extern bool CSharp_AkPlaylistArray_IsGrowingAllowed(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Reserve")]
+ public static extern int CSharp_AkPlaylistArray_Reserve(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Reserved")]
+ public static extern uint CSharp_AkPlaylistArray_Reserved(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Term")]
+ public static extern void CSharp_AkPlaylistArray_Term(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Length")]
+ public static extern uint CSharp_AkPlaylistArray_Length(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Data")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_Data(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_IsEmpty")]
+ public static extern bool CSharp_AkPlaylistArray_IsEmpty(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Exists")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_Exists(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_AddLast__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_AddLast__SWIG_0(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_AddLast__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_AddLast__SWIG_1(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Last")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_Last(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_RemoveLast")]
+ public static extern void CSharp_AkPlaylistArray_RemoveLast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Remove")]
+ public static extern int CSharp_AkPlaylistArray_Remove(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_RemoveSwap")]
+ public static extern int CSharp_AkPlaylistArray_RemoveSwap(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_RemoveAll")]
+ public static extern void CSharp_AkPlaylistArray_RemoveAll(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_ItemAtIndex")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_ItemAtIndex(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Insert")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_Insert(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_GrowArray__SWIG_0")]
+ public static extern bool CSharp_AkPlaylistArray_GrowArray__SWIG_0(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_GrowArray__SWIG_1")]
+ public static extern bool CSharp_AkPlaylistArray_GrowArray__SWIG_1(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Resize")]
+ public static extern bool CSharp_AkPlaylistArray_Resize(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Transfer")]
+ public static extern void CSharp_AkPlaylistArray_Transfer(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Copy")]
+ public static extern int CSharp_AkPlaylistArray_Copy(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylist_Enqueue__SWIG_0")]
+ public static extern int CSharp_AkPlaylist_Enqueue__SWIG_0(global::System.IntPtr jarg1, uint jarg2, int jarg3, global::System.IntPtr jarg4, uint jarg5, global::System.IntPtr jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylist_Enqueue__SWIG_1")]
+ public static extern int CSharp_AkPlaylist_Enqueue__SWIG_1(global::System.IntPtr jarg1, uint jarg2, int jarg3, global::System.IntPtr jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylist_Enqueue__SWIG_2")]
+ public static extern int CSharp_AkPlaylist_Enqueue__SWIG_2(global::System.IntPtr jarg1, uint jarg2, int jarg3, global::System.IntPtr jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylist_Enqueue__SWIG_3")]
+ public static extern int CSharp_AkPlaylist_Enqueue__SWIG_3(global::System.IntPtr jarg1, uint jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylist_Enqueue__SWIG_4")]
+ public static extern int CSharp_AkPlaylist_Enqueue__SWIG_4(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkPlaylist")]
+ public static extern global::System.IntPtr CSharp_new_AkPlaylist();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkPlaylist")]
+ public static extern void CSharp_delete_AkPlaylist(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceOpen__SWIG_0")]
+ public static extern uint CSharp_DynamicSequenceOpen__SWIG_0(ulong jarg1, uint jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceOpen__SWIG_1")]
+ public static extern uint CSharp_DynamicSequenceOpen__SWIG_1(ulong jarg1, uint jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceOpen__SWIG_2")]
+ public static extern uint CSharp_DynamicSequenceOpen__SWIG_2(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceClose")]
+ public static extern int CSharp_DynamicSequenceClose(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequencePlay__SWIG_0")]
+ public static extern int CSharp_DynamicSequencePlay__SWIG_0(uint jarg1, int jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequencePlay__SWIG_1")]
+ public static extern int CSharp_DynamicSequencePlay__SWIG_1(uint jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequencePlay__SWIG_2")]
+ public static extern int CSharp_DynamicSequencePlay__SWIG_2(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequencePause__SWIG_0")]
+ public static extern int CSharp_DynamicSequencePause__SWIG_0(uint jarg1, int jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequencePause__SWIG_1")]
+ public static extern int CSharp_DynamicSequencePause__SWIG_1(uint jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequencePause__SWIG_2")]
+ public static extern int CSharp_DynamicSequencePause__SWIG_2(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceResume__SWIG_0")]
+ public static extern int CSharp_DynamicSequenceResume__SWIG_0(uint jarg1, int jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceResume__SWIG_1")]
+ public static extern int CSharp_DynamicSequenceResume__SWIG_1(uint jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceResume__SWIG_2")]
+ public static extern int CSharp_DynamicSequenceResume__SWIG_2(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceStop__SWIG_0")]
+ public static extern int CSharp_DynamicSequenceStop__SWIG_0(uint jarg1, int jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceStop__SWIG_1")]
+ public static extern int CSharp_DynamicSequenceStop__SWIG_1(uint jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceStop__SWIG_2")]
+ public static extern int CSharp_DynamicSequenceStop__SWIG_2(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceBreak")]
+ public static extern int CSharp_DynamicSequenceBreak(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_Seek__SWIG_0")]
+ public static extern int CSharp_Seek__SWIG_0(uint jarg1, int jarg2, bool jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_Seek__SWIG_1")]
+ public static extern int CSharp_Seek__SWIG_1(uint jarg1, float jarg2, bool jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceGetPauseTimes")]
+ public static extern int CSharp_DynamicSequenceGetPauseTimes(uint jarg1, out uint jarg2, out uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceLockPlaylist")]
+ public static extern global::System.IntPtr CSharp_DynamicSequenceLockPlaylist(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceUnlockPlaylist")]
+ public static extern int CSharp_DynamicSequenceUnlockPlaylist(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkOutputSettings__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkOutputSettings__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkOutputSettings__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkOutputSettings__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1, uint jarg2, global::System.IntPtr jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkOutputSettings__SWIG_2")]
+ public static extern global::System.IntPtr CSharp_new_AkOutputSettings__SWIG_2([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1, uint jarg2, global::System.IntPtr jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkOutputSettings__SWIG_3")]
+ public static extern global::System.IntPtr CSharp_new_AkOutputSettings__SWIG_3([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkOutputSettings__SWIG_4")]
+ public static extern global::System.IntPtr CSharp_new_AkOutputSettings__SWIG_4([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_audioDeviceShareset_set")]
+ public static extern void CSharp_AkOutputSettings_audioDeviceShareset_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_audioDeviceShareset_get")]
+ public static extern uint CSharp_AkOutputSettings_audioDeviceShareset_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_idDevice_set")]
+ public static extern void CSharp_AkOutputSettings_idDevice_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_idDevice_get")]
+ public static extern uint CSharp_AkOutputSettings_idDevice_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_ePanningRule_set")]
+ public static extern void CSharp_AkOutputSettings_ePanningRule_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_ePanningRule_get")]
+ public static extern int CSharp_AkOutputSettings_ePanningRule_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_channelConfig_set")]
+ public static extern void CSharp_AkOutputSettings_channelConfig_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_channelConfig_get")]
+ public static extern global::System.IntPtr CSharp_AkOutputSettings_channelConfig_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkOutputSettings")]
+ public static extern void CSharp_delete_AkOutputSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTaskContext_uIdxThread_set")]
+ public static extern void CSharp_AkTaskContext_uIdxThread_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTaskContext_uIdxThread_get")]
+ public static extern uint CSharp_AkTaskContext_uIdxThread_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkTaskContext")]
+ public static extern global::System.IntPtr CSharp_new_AkTaskContext();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkTaskContext")]
+ public static extern void CSharp_delete_AkTaskContext(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uMaxNumPaths_set")]
+ public static extern void CSharp_AkInitSettings_uMaxNumPaths_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uMaxNumPaths_get")]
+ public static extern uint CSharp_AkInitSettings_uMaxNumPaths_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uCommandQueueSize_set")]
+ public static extern void CSharp_AkInitSettings_uCommandQueueSize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uCommandQueueSize_get")]
+ public static extern uint CSharp_AkInitSettings_uCommandQueueSize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bEnableGameSyncPreparation_set")]
+ public static extern void CSharp_AkInitSettings_bEnableGameSyncPreparation_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bEnableGameSyncPreparation_get")]
+ public static extern bool CSharp_AkInitSettings_bEnableGameSyncPreparation_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uContinuousPlaybackLookAhead_set")]
+ public static extern void CSharp_AkInitSettings_uContinuousPlaybackLookAhead_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uContinuousPlaybackLookAhead_get")]
+ public static extern uint CSharp_AkInitSettings_uContinuousPlaybackLookAhead_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uNumSamplesPerFrame_set")]
+ public static extern void CSharp_AkInitSettings_uNumSamplesPerFrame_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uNumSamplesPerFrame_get")]
+ public static extern uint CSharp_AkInitSettings_uNumSamplesPerFrame_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uMonitorQueuePoolSize_set")]
+ public static extern void CSharp_AkInitSettings_uMonitorQueuePoolSize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uMonitorQueuePoolSize_get")]
+ public static extern uint CSharp_AkInitSettings_uMonitorQueuePoolSize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_settingsMainOutput_set")]
+ public static extern void CSharp_AkInitSettings_settingsMainOutput_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_settingsMainOutput_get")]
+ public static extern global::System.IntPtr CSharp_AkInitSettings_settingsMainOutput_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uMaxHardwareTimeoutMs_set")]
+ public static extern void CSharp_AkInitSettings_uMaxHardwareTimeoutMs_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uMaxHardwareTimeoutMs_get")]
+ public static extern uint CSharp_AkInitSettings_uMaxHardwareTimeoutMs_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bUseSoundBankMgrThread_set")]
+ public static extern void CSharp_AkInitSettings_bUseSoundBankMgrThread_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bUseSoundBankMgrThread_get")]
+ public static extern bool CSharp_AkInitSettings_bUseSoundBankMgrThread_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bUseLEngineThread_set")]
+ public static extern void CSharp_AkInitSettings_bUseLEngineThread_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bUseLEngineThread_get")]
+ public static extern bool CSharp_AkInitSettings_bUseLEngineThread_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_szPluginDLLPath_set")]
+ public static extern void CSharp_AkInitSettings_szPluginDLLPath_set(global::System.IntPtr jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_szPluginDLLPath_get")]
+ public static extern global::System.IntPtr CSharp_AkInitSettings_szPluginDLLPath_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_eFloorPlane_set")]
+ public static extern void CSharp_AkInitSettings_eFloorPlane_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_eFloorPlane_get")]
+ public static extern int CSharp_AkInitSettings_eFloorPlane_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uBankReadBufferSize_set")]
+ public static extern void CSharp_AkInitSettings_uBankReadBufferSize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uBankReadBufferSize_get")]
+ public static extern uint CSharp_AkInitSettings_uBankReadBufferSize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_fDebugOutOfRangeLimit_set")]
+ public static extern void CSharp_AkInitSettings_fDebugOutOfRangeLimit_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_fDebugOutOfRangeLimit_get")]
+ public static extern float CSharp_AkInitSettings_fDebugOutOfRangeLimit_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bDebugOutOfRangeCheckEnabled_set")]
+ public static extern void CSharp_AkInitSettings_bDebugOutOfRangeCheckEnabled_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bDebugOutOfRangeCheckEnabled_get")]
+ public static extern bool CSharp_AkInitSettings_bDebugOutOfRangeCheckEnabled_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkInitSettings")]
+ public static extern void CSharp_delete_AkInitSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_sourceID_set")]
+ public static extern void CSharp_AkSourceSettings_sourceID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_sourceID_get")]
+ public static extern uint CSharp_AkSourceSettings_sourceID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_pMediaMemory_set")]
+ public static extern void CSharp_AkSourceSettings_pMediaMemory_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_pMediaMemory_get")]
+ public static extern global::System.IntPtr CSharp_AkSourceSettings_pMediaMemory_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_uMediaSize_set")]
+ public static extern void CSharp_AkSourceSettings_uMediaSize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_uMediaSize_get")]
+ public static extern uint CSharp_AkSourceSettings_uMediaSize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_Clear")]
+ public static extern void CSharp_AkSourceSettings_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_GetSizeOf")]
+ public static extern int CSharp_AkSourceSettings_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_Clone")]
+ public static extern void CSharp_AkSourceSettings_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkSourceSettings")]
+ public static extern global::System.IntPtr CSharp_new_AkSourceSettings();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkSourceSettings")]
+ public static extern void CSharp_delete_AkSourceSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_IsInitialized")]
+ public static extern bool CSharp_IsInitialized();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetAudioSettings")]
+ public static extern int CSharp_GetAudioSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSpeakerConfiguration__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_GetSpeakerConfiguration__SWIG_0(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSpeakerConfiguration__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_GetSpeakerConfiguration__SWIG_1();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetPanningRule__SWIG_0")]
+ public static extern int CSharp_GetPanningRule__SWIG_0(out int jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetPanningRule__SWIG_1")]
+ public static extern int CSharp_GetPanningRule__SWIG_1(out int jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetPanningRule__SWIG_0")]
+ public static extern int CSharp_SetPanningRule__SWIG_0(int jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetPanningRule__SWIG_1")]
+ public static extern int CSharp_SetPanningRule__SWIG_1(int jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSpeakerAngles__SWIG_0")]
+ public static extern int CSharp_GetSpeakerAngles__SWIG_0([global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]float[] jarg1, ref uint jarg2, out float jarg3, ulong jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSpeakerAngles__SWIG_1")]
+ public static extern int CSharp_GetSpeakerAngles__SWIG_1([global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]float[] jarg1, ref uint jarg2, out float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetSpeakerAngles__SWIG_0")]
+ public static extern int CSharp_SetSpeakerAngles__SWIG_0([global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]float[] jarg1, uint jarg2, float jarg3, ulong jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetSpeakerAngles__SWIG_1")]
+ public static extern int CSharp_SetSpeakerAngles__SWIG_1([global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]float[] jarg1, uint jarg2, float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetVolumeThreshold")]
+ public static extern int CSharp_SetVolumeThreshold(float jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMaxNumVoicesLimit")]
+ public static extern int CSharp_SetMaxNumVoicesLimit(ushort jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RenderAudio__SWIG_0")]
+ public static extern int CSharp_RenderAudio__SWIG_0(bool jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RenderAudio__SWIG_1")]
+ public static extern int CSharp_RenderAudio__SWIG_1();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RegisterPluginDLL__SWIG_0")]
+ public static extern int CSharp_RegisterPluginDLL__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RegisterPluginDLL__SWIG_1")]
+ public static extern int CSharp_RegisterPluginDLL__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetIDFromString__SWIG_0")]
+ public static extern uint CSharp_GetIDFromString__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_0")]
+ public static extern uint CSharp_PostEvent__SWIG_0(uint jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7, uint jarg8);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_1")]
+ public static extern uint CSharp_PostEvent__SWIG_1(uint jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_2")]
+ public static extern uint CSharp_PostEvent__SWIG_2(uint jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_3")]
+ public static extern uint CSharp_PostEvent__SWIG_3(uint jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_4")]
+ public static extern uint CSharp_PostEvent__SWIG_4([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7, uint jarg8);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_5")]
+ public static extern uint CSharp_PostEvent__SWIG_5([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_6")]
+ public static extern uint CSharp_PostEvent__SWIG_6([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_7")]
+ public static extern uint CSharp_PostEvent__SWIG_7([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_0")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_0(uint jarg1, int jarg2, ulong jarg3, int jarg4, int jarg5, uint jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_1")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_1(uint jarg1, int jarg2, ulong jarg3, int jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_2")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_2(uint jarg1, int jarg2, ulong jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_3")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_3(uint jarg1, int jarg2, ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_4")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_4(uint jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_5")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_5([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, ulong jarg3, int jarg4, int jarg5, uint jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_6")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_6([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, ulong jarg3, int jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_7")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_7([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, ulong jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_8")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_8([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_9")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_9([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostMIDIOnEvent")]
+ public static extern int CSharp_PostMIDIOnEvent(uint jarg1, ulong jarg2, global::System.IntPtr jarg3, ushort jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopMIDIOnEvent__SWIG_0")]
+ public static extern int CSharp_StopMIDIOnEvent__SWIG_0(uint jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopMIDIOnEvent__SWIG_1")]
+ public static extern int CSharp_StopMIDIOnEvent__SWIG_1(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopMIDIOnEvent__SWIG_2")]
+ public static extern int CSharp_StopMIDIOnEvent__SWIG_2();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PinEventInStreamCache__SWIG_0")]
+ public static extern int CSharp_PinEventInStreamCache__SWIG_0(uint jarg1, sbyte jarg2, sbyte jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PinEventInStreamCache__SWIG_1")]
+ public static extern int CSharp_PinEventInStreamCache__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, sbyte jarg2, sbyte jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnpinEventInStreamCache__SWIG_0")]
+ public static extern int CSharp_UnpinEventInStreamCache__SWIG_0(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnpinEventInStreamCache__SWIG_1")]
+ public static extern int CSharp_UnpinEventInStreamCache__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetBufferStatusForPinnedEvent__SWIG_0")]
+ public static extern int CSharp_GetBufferStatusForPinnedEvent__SWIG_0(uint jarg1, out float jarg2, out int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetBufferStatusForPinnedEvent__SWIG_1")]
+ public static extern int CSharp_GetBufferStatusForPinnedEvent__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1, out float jarg2, out int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_0")]
+ public static extern int CSharp_SeekOnEvent__SWIG_0(uint jarg1, ulong jarg2, int jarg3, bool jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_1")]
+ public static extern int CSharp_SeekOnEvent__SWIG_1(uint jarg1, ulong jarg2, int jarg3, bool jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_2")]
+ public static extern int CSharp_SeekOnEvent__SWIG_2(uint jarg1, ulong jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_3")]
+ public static extern int CSharp_SeekOnEvent__SWIG_3([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, int jarg3, bool jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_4")]
+ public static extern int CSharp_SeekOnEvent__SWIG_4([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, int jarg3, bool jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_5")]
+ public static extern int CSharp_SeekOnEvent__SWIG_5([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_9")]
+ public static extern int CSharp_SeekOnEvent__SWIG_9(uint jarg1, ulong jarg2, float jarg3, bool jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_10")]
+ public static extern int CSharp_SeekOnEvent__SWIG_10(uint jarg1, ulong jarg2, float jarg3, bool jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_11")]
+ public static extern int CSharp_SeekOnEvent__SWIG_11(uint jarg1, ulong jarg2, float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_12")]
+ public static extern int CSharp_SeekOnEvent__SWIG_12([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, float jarg3, bool jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_13")]
+ public static extern int CSharp_SeekOnEvent__SWIG_13([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, float jarg3, bool jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_14")]
+ public static extern int CSharp_SeekOnEvent__SWIG_14([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_CancelEventCallbackCookie")]
+ public static extern void CSharp_CancelEventCallbackCookie(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_CancelEventCallbackGameObject")]
+ public static extern void CSharp_CancelEventCallbackGameObject(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_CancelEventCallback")]
+ public static extern void CSharp_CancelEventCallback(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSourcePlayPosition__SWIG_0")]
+ public static extern int CSharp_GetSourcePlayPosition__SWIG_0(uint jarg1, out int jarg2, bool jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSourcePlayPosition__SWIG_1")]
+ public static extern int CSharp_GetSourcePlayPosition__SWIG_1(uint jarg1, out int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSourceStreamBuffering")]
+ public static extern int CSharp_GetSourceStreamBuffering(uint jarg1, out int jarg2, out int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopAll__SWIG_0")]
+ public static extern void CSharp_StopAll__SWIG_0(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopAll__SWIG_1")]
+ public static extern void CSharp_StopAll__SWIG_1();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopPlayingID__SWIG_0")]
+ public static extern void CSharp_StopPlayingID__SWIG_0(uint jarg1, int jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopPlayingID__SWIG_1")]
+ public static extern void CSharp_StopPlayingID__SWIG_1(uint jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopPlayingID__SWIG_2")]
+ public static extern void CSharp_StopPlayingID__SWIG_2(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnPlayingID__SWIG_0")]
+ public static extern void CSharp_ExecuteActionOnPlayingID__SWIG_0(int jarg1, uint jarg2, int jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnPlayingID__SWIG_1")]
+ public static extern void CSharp_ExecuteActionOnPlayingID__SWIG_1(int jarg1, uint jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnPlayingID__SWIG_2")]
+ public static extern void CSharp_ExecuteActionOnPlayingID__SWIG_2(int jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRandomSeed")]
+ public static extern void CSharp_SetRandomSeed(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_MuteBackgroundMusic")]
+ public static extern void CSharp_MuteBackgroundMusic(bool jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetBackgroundMusicMute")]
+ public static extern bool CSharp_GetBackgroundMusicMute();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SendPluginCustomGameData")]
+ public static extern int CSharp_SendPluginCustomGameData(uint jarg1, ulong jarg2, int jarg3, uint jarg4, uint jarg5, global::System.IntPtr jarg6, uint jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnregisterAllGameObj")]
+ public static extern int CSharp_UnregisterAllGameObj();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMultiplePositions__SWIG_0")]
+ public static extern int CSharp_SetMultiplePositions__SWIG_0(ulong jarg1, global::System.IntPtr jarg2, ushort jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMultiplePositions__SWIG_1")]
+ public static extern int CSharp_SetMultiplePositions__SWIG_1(ulong jarg1, global::System.IntPtr jarg2, ushort jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMultiplePositions__SWIG_2")]
+ public static extern int CSharp_SetMultiplePositions__SWIG_2(ulong jarg1, global::System.IntPtr jarg2, ushort jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMultiplePositions__SWIG_3")]
+ public static extern int CSharp_SetMultiplePositions__SWIG_3(ulong jarg1, global::System.IntPtr jarg2, ushort jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetScalingFactor")]
+ public static extern int CSharp_SetScalingFactor(ulong jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ClearBanks")]
+ public static extern int CSharp_ClearBanks();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBankLoadIOSettings")]
+ public static extern int CSharp_SetBankLoadIOSettings(float jarg1, sbyte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBank__SWIG_0")]
+ public static extern int CSharp_LoadBank__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, out uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBank__SWIG_2")]
+ public static extern int CSharp_LoadBank__SWIG_2(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBankMemoryView__SWIG_0")]
+ public static extern int CSharp_LoadBankMemoryView__SWIG_0(global::System.IntPtr jarg1, uint jarg2, out uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBankMemoryCopy__SWIG_0")]
+ public static extern int CSharp_LoadBankMemoryCopy__SWIG_0(global::System.IntPtr jarg1, uint jarg2, out uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBank__SWIG_3")]
+ public static extern int CSharp_LoadBank__SWIG_3([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, global::System.IntPtr jarg2, global::System.IntPtr jarg3, out uint jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBank__SWIG_5")]
+ public static extern int CSharp_LoadBank__SWIG_5(uint jarg1, global::System.IntPtr jarg2, global::System.IntPtr jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBankMemoryView__SWIG_1")]
+ public static extern int CSharp_LoadBankMemoryView__SWIG_1(global::System.IntPtr jarg1, uint jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4, out uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBankMemoryCopy__SWIG_1")]
+ public static extern int CSharp_LoadBankMemoryCopy__SWIG_1(global::System.IntPtr jarg1, uint jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4, out uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnloadBank__SWIG_0")]
+ public static extern int CSharp_UnloadBank__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnloadBank__SWIG_2")]
+ public static extern int CSharp_UnloadBank__SWIG_2(uint jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnloadBank__SWIG_3")]
+ public static extern int CSharp_UnloadBank__SWIG_3([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, global::System.IntPtr jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnloadBank__SWIG_5")]
+ public static extern int CSharp_UnloadBank__SWIG_5(uint jarg1, global::System.IntPtr jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_CancelBankCallbackCookie")]
+ public static extern void CSharp_CancelBankCallbackCookie(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_0")]
+ public static extern int CSharp_PrepareBank__SWIG_0(int jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_1")]
+ public static extern int CSharp_PrepareBank__SWIG_1(int jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_4")]
+ public static extern int CSharp_PrepareBank__SWIG_4(int jarg1, uint jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_5")]
+ public static extern int CSharp_PrepareBank__SWIG_5(int jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_6")]
+ public static extern int CSharp_PrepareBank__SWIG_6(int jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_7")]
+ public static extern int CSharp_PrepareBank__SWIG_7(int jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_10")]
+ public static extern int CSharp_PrepareBank__SWIG_10(int jarg1, uint jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_11")]
+ public static extern int CSharp_PrepareBank__SWIG_11(int jarg1, uint jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ClearPreparedEvents")]
+ public static extern int CSharp_ClearPreparedEvents();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareEvent__SWIG_0")]
+ public static extern int CSharp_PrepareEvent__SWIG_0(int jarg1, global::System.IntPtr jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareEvent__SWIG_1")]
+ public static extern int CSharp_PrepareEvent__SWIG_1(int jarg1, [global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareEvent__SWIG_2")]
+ public static extern int CSharp_PrepareEvent__SWIG_2(int jarg1, global::System.IntPtr jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareEvent__SWIG_3")]
+ public static extern int CSharp_PrepareEvent__SWIG_3(int jarg1, [global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMedia")]
+ public static extern int CSharp_SetMedia(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnsetMedia")]
+ public static extern int CSharp_UnsetMedia(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareGameSyncs__SWIG_0")]
+ public static extern int CSharp_PrepareGameSyncs__SWIG_0(int jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg3, global::System.IntPtr jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareGameSyncs__SWIG_1")]
+ public static extern int CSharp_PrepareGameSyncs__SWIG_1(int jarg1, int jarg2, uint jarg3, [global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareGameSyncs__SWIG_2")]
+ public static extern int CSharp_PrepareGameSyncs__SWIG_2(int jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg3, global::System.IntPtr jarg4, uint jarg5, global::System.IntPtr jarg6, global::System.IntPtr jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareGameSyncs__SWIG_3")]
+ public static extern int CSharp_PrepareGameSyncs__SWIG_3(int jarg1, int jarg2, uint jarg3, [global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg4, uint jarg5, global::System.IntPtr jarg6, global::System.IntPtr jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddListener")]
+ public static extern int CSharp_AddListener(ulong jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RemoveListener")]
+ public static extern int CSharp_RemoveListener(ulong jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddDefaultListener")]
+ public static extern int CSharp_AddDefaultListener(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RemoveDefaultListener")]
+ public static extern int CSharp_RemoveDefaultListener(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetListenersToDefault")]
+ public static extern int CSharp_ResetListenersToDefault(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetListenerSpatialization__SWIG_0")]
+ public static extern int CSharp_SetListenerSpatialization__SWIG_0(ulong jarg1, bool jarg2, global::System.IntPtr jarg3, [global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]float[] jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetListenerSpatialization__SWIG_1")]
+ public static extern int CSharp_SetListenerSpatialization__SWIG_1(ulong jarg1, bool jarg2, global::System.IntPtr jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_0")]
+ public static extern int CSharp_SetRTPCValue__SWIG_0(uint jarg1, float jarg2, ulong jarg3, int jarg4, int jarg5, bool jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_1")]
+ public static extern int CSharp_SetRTPCValue__SWIG_1(uint jarg1, float jarg2, ulong jarg3, int jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_2")]
+ public static extern int CSharp_SetRTPCValue__SWIG_2(uint jarg1, float jarg2, ulong jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_3")]
+ public static extern int CSharp_SetRTPCValue__SWIG_3(uint jarg1, float jarg2, ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_4")]
+ public static extern int CSharp_SetRTPCValue__SWIG_4(uint jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_5")]
+ public static extern int CSharp_SetRTPCValue__SWIG_5([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, ulong jarg3, int jarg4, int jarg5, bool jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_6")]
+ public static extern int CSharp_SetRTPCValue__SWIG_6([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, ulong jarg3, int jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_7")]
+ public static extern int CSharp_SetRTPCValue__SWIG_7([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, ulong jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_8")]
+ public static extern int CSharp_SetRTPCValue__SWIG_8([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_9")]
+ public static extern int CSharp_SetRTPCValue__SWIG_9([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_0")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_0(uint jarg1, float jarg2, uint jarg3, int jarg4, int jarg5, bool jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_1")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_1(uint jarg1, float jarg2, uint jarg3, int jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_2")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_2(uint jarg1, float jarg2, uint jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_3")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_3(uint jarg1, float jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_4")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_4([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, uint jarg3, int jarg4, int jarg5, bool jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_5")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_5([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, uint jarg3, int jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_6")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_6([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, uint jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_7")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_7([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_0")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_0(uint jarg1, ulong jarg2, int jarg3, int jarg4, bool jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_1")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_1(uint jarg1, ulong jarg2, int jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_2")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_2(uint jarg1, ulong jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_3")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_3(uint jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_4")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_4(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_5")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_5([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, int jarg3, int jarg4, bool jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_6")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_6([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, int jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_7")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_7([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_8")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_8([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_9")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_9([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetSwitch__SWIG_0")]
+ public static extern int CSharp_SetSwitch__SWIG_0(uint jarg1, uint jarg2, ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetSwitch__SWIG_1")]
+ public static extern int CSharp_SetSwitch__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2, ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostTrigger__SWIG_0")]
+ public static extern int CSharp_PostTrigger__SWIG_0(uint jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostTrigger__SWIG_1")]
+ public static extern int CSharp_PostTrigger__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetState__SWIG_0")]
+ public static extern int CSharp_SetState__SWIG_0(uint jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetState__SWIG_1")]
+ public static extern int CSharp_SetState__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetGameObjectAuxSendValues")]
+ public static extern int CSharp_SetGameObjectAuxSendValues(ulong jarg1, global::System.IntPtr jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetGameObjectOutputBusVolume")]
+ public static extern int CSharp_SetGameObjectOutputBusVolume(ulong jarg1, ulong jarg2, float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetActorMixerEffect")]
+ public static extern int CSharp_SetActorMixerEffect(uint jarg1, uint jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBusEffect__SWIG_0")]
+ public static extern int CSharp_SetBusEffect__SWIG_0(uint jarg1, uint jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBusEffect__SWIG_1")]
+ public static extern int CSharp_SetBusEffect__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, uint jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMixer__SWIG_0")]
+ public static extern int CSharp_SetMixer__SWIG_0(uint jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMixer__SWIG_1")]
+ public static extern int CSharp_SetMixer__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBusConfig__SWIG_0")]
+ public static extern int CSharp_SetBusConfig__SWIG_0(uint jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBusConfig__SWIG_1")]
+ public static extern int CSharp_SetBusConfig__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetObjectObstructionAndOcclusion")]
+ public static extern int CSharp_SetObjectObstructionAndOcclusion(ulong jarg1, ulong jarg2, float jarg3, float jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMultipleObstructionAndOcclusion")]
+ public static extern int CSharp_SetMultipleObstructionAndOcclusion(ulong jarg1, ulong jarg2, global::System.IntPtr jarg3, uint jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StartOutputCapture")]
+ public static extern int CSharp_StartOutputCapture([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopOutputCapture")]
+ public static extern int CSharp_StopOutputCapture();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddOutputCaptureMarker")]
+ public static extern int CSharp_AddOutputCaptureMarker([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StartProfilerCapture")]
+ public static extern int CSharp_StartProfilerCapture([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopProfilerCapture")]
+ public static extern int CSharp_StopProfilerCapture();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RemoveOutput")]
+ public static extern int CSharp_RemoveOutput(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ReplaceOutput__SWIG_0")]
+ public static extern int CSharp_ReplaceOutput__SWIG_0(global::System.IntPtr jarg1, ulong jarg2, out ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ReplaceOutput__SWIG_1")]
+ public static extern int CSharp_ReplaceOutput__SWIG_1(global::System.IntPtr jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetOutputID__SWIG_0")]
+ public static extern ulong CSharp_GetOutputID__SWIG_0(uint jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetOutputID__SWIG_1")]
+ public static extern ulong CSharp_GetOutputID__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBusDevice__SWIG_0")]
+ public static extern int CSharp_SetBusDevice__SWIG_0(uint jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBusDevice__SWIG_1")]
+ public static extern int CSharp_SetBusDevice__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDeviceList__SWIG_0")]
+ public static extern int CSharp_GetDeviceList__SWIG_0(uint jarg1, uint jarg2, out uint jarg3, global::System.IntPtr jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDeviceList__SWIG_1")]
+ public static extern int CSharp_GetDeviceList__SWIG_1(uint jarg1, out uint jarg2, global::System.IntPtr jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetOutputVolume")]
+ public static extern int CSharp_SetOutputVolume(ulong jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDeviceSpatialAudioSupport")]
+ public static extern int CSharp_GetDeviceSpatialAudioSupport(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_Suspend__SWIG_0")]
+ public static extern int CSharp_Suspend__SWIG_0(bool jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_Suspend__SWIG_1")]
+ public static extern int CSharp_Suspend__SWIG_1();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_WakeupFromSuspend")]
+ public static extern int CSharp_WakeupFromSuspend();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetBufferTick")]
+ public static extern uint CSharp_GetBufferTick();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iCurrentPosition_set")]
+ public static extern void CSharp_AkSegmentInfo_iCurrentPosition_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iCurrentPosition_get")]
+ public static extern int CSharp_AkSegmentInfo_iCurrentPosition_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iPreEntryDuration_set")]
+ public static extern void CSharp_AkSegmentInfo_iPreEntryDuration_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iPreEntryDuration_get")]
+ public static extern int CSharp_AkSegmentInfo_iPreEntryDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iActiveDuration_set")]
+ public static extern void CSharp_AkSegmentInfo_iActiveDuration_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iActiveDuration_get")]
+ public static extern int CSharp_AkSegmentInfo_iActiveDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iPostExitDuration_set")]
+ public static extern void CSharp_AkSegmentInfo_iPostExitDuration_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iPostExitDuration_get")]
+ public static extern int CSharp_AkSegmentInfo_iPostExitDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iRemainingLookAheadTime_set")]
+ public static extern void CSharp_AkSegmentInfo_iRemainingLookAheadTime_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iRemainingLookAheadTime_get")]
+ public static extern int CSharp_AkSegmentInfo_iRemainingLookAheadTime_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fBeatDuration_set")]
+ public static extern void CSharp_AkSegmentInfo_fBeatDuration_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fBeatDuration_get")]
+ public static extern float CSharp_AkSegmentInfo_fBeatDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fBarDuration_set")]
+ public static extern void CSharp_AkSegmentInfo_fBarDuration_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fBarDuration_get")]
+ public static extern float CSharp_AkSegmentInfo_fBarDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fGridDuration_set")]
+ public static extern void CSharp_AkSegmentInfo_fGridDuration_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fGridDuration_get")]
+ public static extern float CSharp_AkSegmentInfo_fGridDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fGridOffset_set")]
+ public static extern void CSharp_AkSegmentInfo_fGridOffset_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fGridOffset_get")]
+ public static extern float CSharp_AkSegmentInfo_fGridOffset_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkSegmentInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkSegmentInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkSegmentInfo")]
+ public static extern void CSharp_delete_AkSegmentInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_totalCPU_set")]
+ public static extern void CSharp_AkResourceMonitorDataSummary_totalCPU_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_totalCPU_get")]
+ public static extern float CSharp_AkResourceMonitorDataSummary_totalCPU_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_pluginCPU_set")]
+ public static extern void CSharp_AkResourceMonitorDataSummary_pluginCPU_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_pluginCPU_get")]
+ public static extern float CSharp_AkResourceMonitorDataSummary_pluginCPU_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_physicalVoices_set")]
+ public static extern void CSharp_AkResourceMonitorDataSummary_physicalVoices_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_physicalVoices_get")]
+ public static extern uint CSharp_AkResourceMonitorDataSummary_physicalVoices_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_virtualVoices_set")]
+ public static extern void CSharp_AkResourceMonitorDataSummary_virtualVoices_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_virtualVoices_get")]
+ public static extern uint CSharp_AkResourceMonitorDataSummary_virtualVoices_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_totalVoices_set")]
+ public static extern void CSharp_AkResourceMonitorDataSummary_totalVoices_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_totalVoices_get")]
+ public static extern uint CSharp_AkResourceMonitorDataSummary_totalVoices_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_nbActiveEvents_set")]
+ public static extern void CSharp_AkResourceMonitorDataSummary_nbActiveEvents_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_nbActiveEvents_get")]
+ public static extern uint CSharp_AkResourceMonitorDataSummary_nbActiveEvents_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkResourceMonitorDataSummary")]
+ public static extern global::System.IntPtr CSharp_new_AkResourceMonitorDataSummary();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkResourceMonitorDataSummary")]
+ public static extern void CSharp_delete_AkResourceMonitorDataSummary(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_INVALID_MIDI_CHANNEL_get")]
+ public static extern byte CSharp_AK_INVALID_MIDI_CHANNEL_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_INVALID_MIDI_NOTE_get")]
+ public static extern byte CSharp_AK_INVALID_MIDI_NOTE_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byChan_set")]
+ public static extern void CSharp_AkMIDIEvent_byChan_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byChan_get")]
+ public static extern byte CSharp_AkMIDIEvent_byChan_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tGen_byParam1_set")]
+ public static extern void CSharp_AkMIDIEvent_tGen_byParam1_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tGen_byParam1_get")]
+ public static extern byte CSharp_AkMIDIEvent_tGen_byParam1_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tGen_byParam2_set")]
+ public static extern void CSharp_AkMIDIEvent_tGen_byParam2_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tGen_byParam2_get")]
+ public static extern byte CSharp_AkMIDIEvent_tGen_byParam2_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent_tGen")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent_tGen();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent_tGen")]
+ public static extern void CSharp_delete_AkMIDIEvent_tGen(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteOnOff_byNote_set")]
+ public static extern void CSharp_AkMIDIEvent_tNoteOnOff_byNote_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteOnOff_byNote_get")]
+ public static extern byte CSharp_AkMIDIEvent_tNoteOnOff_byNote_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteOnOff_byVelocity_set")]
+ public static extern void CSharp_AkMIDIEvent_tNoteOnOff_byVelocity_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteOnOff_byVelocity_get")]
+ public static extern byte CSharp_AkMIDIEvent_tNoteOnOff_byVelocity_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent_tNoteOnOff")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent_tNoteOnOff();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent_tNoteOnOff")]
+ public static extern void CSharp_delete_AkMIDIEvent_tNoteOnOff(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tCc_byCc_set")]
+ public static extern void CSharp_AkMIDIEvent_tCc_byCc_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tCc_byCc_get")]
+ public static extern byte CSharp_AkMIDIEvent_tCc_byCc_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tCc_byValue_set")]
+ public static extern void CSharp_AkMIDIEvent_tCc_byValue_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tCc_byValue_get")]
+ public static extern byte CSharp_AkMIDIEvent_tCc_byValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent_tCc")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent_tCc();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent_tCc")]
+ public static extern void CSharp_delete_AkMIDIEvent_tCc(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tPitchBend_byValueLsb_set")]
+ public static extern void CSharp_AkMIDIEvent_tPitchBend_byValueLsb_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tPitchBend_byValueLsb_get")]
+ public static extern byte CSharp_AkMIDIEvent_tPitchBend_byValueLsb_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tPitchBend_byValueMsb_set")]
+ public static extern void CSharp_AkMIDIEvent_tPitchBend_byValueMsb_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tPitchBend_byValueMsb_get")]
+ public static extern byte CSharp_AkMIDIEvent_tPitchBend_byValueMsb_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent_tPitchBend")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent_tPitchBend();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent_tPitchBend")]
+ public static extern void CSharp_delete_AkMIDIEvent_tPitchBend(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteAftertouch_byNote_set")]
+ public static extern void CSharp_AkMIDIEvent_tNoteAftertouch_byNote_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteAftertouch_byNote_get")]
+ public static extern byte CSharp_AkMIDIEvent_tNoteAftertouch_byNote_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteAftertouch_byValue_set")]
+ public static extern void CSharp_AkMIDIEvent_tNoteAftertouch_byValue_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteAftertouch_byValue_get")]
+ public static extern byte CSharp_AkMIDIEvent_tNoteAftertouch_byValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent_tNoteAftertouch")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent_tNoteAftertouch();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent_tNoteAftertouch")]
+ public static extern void CSharp_delete_AkMIDIEvent_tNoteAftertouch(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tChanAftertouch_byValue_set")]
+ public static extern void CSharp_AkMIDIEvent_tChanAftertouch_byValue_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tChanAftertouch_byValue_get")]
+ public static extern byte CSharp_AkMIDIEvent_tChanAftertouch_byValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent_tChanAftertouch")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent_tChanAftertouch();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent_tChanAftertouch")]
+ public static extern void CSharp_delete_AkMIDIEvent_tChanAftertouch(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tProgramChange_byProgramNum_set")]
+ public static extern void CSharp_AkMIDIEvent_tProgramChange_byProgramNum_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tProgramChange_byProgramNum_get")]
+ public static extern byte CSharp_AkMIDIEvent_tProgramChange_byProgramNum_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent_tProgramChange")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent_tProgramChange();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent_tProgramChange")]
+ public static extern void CSharp_delete_AkMIDIEvent_tProgramChange(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_Gen_set")]
+ public static extern void CSharp_AkMIDIEvent_Gen_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_Gen_get")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEvent_Gen_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_Cc_set")]
+ public static extern void CSharp_AkMIDIEvent_Cc_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_Cc_get")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEvent_Cc_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_NoteOnOff_set")]
+ public static extern void CSharp_AkMIDIEvent_NoteOnOff_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_NoteOnOff_get")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEvent_NoteOnOff_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_PitchBend_set")]
+ public static extern void CSharp_AkMIDIEvent_PitchBend_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_PitchBend_get")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEvent_PitchBend_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_NoteAftertouch_set")]
+ public static extern void CSharp_AkMIDIEvent_NoteAftertouch_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_NoteAftertouch_get")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEvent_NoteAftertouch_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_ChanAftertouch_set")]
+ public static extern void CSharp_AkMIDIEvent_ChanAftertouch_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_ChanAftertouch_get")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEvent_ChanAftertouch_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_ProgramChange_set")]
+ public static extern void CSharp_AkMIDIEvent_ProgramChange_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_ProgramChange_get")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEvent_ProgramChange_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byType_set")]
+ public static extern void CSharp_AkMIDIEvent_byType_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byType_get")]
+ public static extern int CSharp_AkMIDIEvent_byType_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byOnOffNote_set")]
+ public static extern void CSharp_AkMIDIEvent_byOnOffNote_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byOnOffNote_get")]
+ public static extern byte CSharp_AkMIDIEvent_byOnOffNote_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byVelocity_set")]
+ public static extern void CSharp_AkMIDIEvent_byVelocity_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byVelocity_get")]
+ public static extern byte CSharp_AkMIDIEvent_byVelocity_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byCc_set")]
+ public static extern void CSharp_AkMIDIEvent_byCc_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byCc_get")]
+ public static extern int CSharp_AkMIDIEvent_byCc_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byCcValue_set")]
+ public static extern void CSharp_AkMIDIEvent_byCcValue_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byCcValue_get")]
+ public static extern byte CSharp_AkMIDIEvent_byCcValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byValueLsb_set")]
+ public static extern void CSharp_AkMIDIEvent_byValueLsb_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byValueLsb_get")]
+ public static extern byte CSharp_AkMIDIEvent_byValueLsb_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byValueMsb_set")]
+ public static extern void CSharp_AkMIDIEvent_byValueMsb_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byValueMsb_get")]
+ public static extern byte CSharp_AkMIDIEvent_byValueMsb_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byAftertouchNote_set")]
+ public static extern void CSharp_AkMIDIEvent_byAftertouchNote_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byAftertouchNote_get")]
+ public static extern byte CSharp_AkMIDIEvent_byAftertouchNote_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byNoteAftertouchValue_set")]
+ public static extern void CSharp_AkMIDIEvent_byNoteAftertouchValue_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byNoteAftertouchValue_get")]
+ public static extern byte CSharp_AkMIDIEvent_byNoteAftertouchValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byChanAftertouchValue_set")]
+ public static extern void CSharp_AkMIDIEvent_byChanAftertouchValue_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byChanAftertouchValue_get")]
+ public static extern byte CSharp_AkMIDIEvent_byChanAftertouchValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byProgramNum_set")]
+ public static extern void CSharp_AkMIDIEvent_byProgramNum_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byProgramNum_get")]
+ public static extern byte CSharp_AkMIDIEvent_byProgramNum_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent")]
+ public static extern void CSharp_delete_AkMIDIEvent(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIPost_uOffset_set")]
+ public static extern void CSharp_AkMIDIPost_uOffset_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIPost_uOffset_get")]
+ public static extern uint CSharp_AkMIDIPost_uOffset_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIPost_PostOnEvent")]
+ public static extern int CSharp_AkMIDIPost_PostOnEvent(global::System.IntPtr jarg1, uint jarg2, ulong jarg3, uint jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIPost_Clone")]
+ public static extern void CSharp_AkMIDIPost_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIPost_GetSizeOf")]
+ public static extern int CSharp_AkMIDIPost_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIPost")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIPost();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIPost")]
+ public static extern void CSharp_delete_AkMIDIPost(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSettings_fStreamingLookAheadRatio_set")]
+ public static extern void CSharp_AkMusicSettings_fStreamingLookAheadRatio_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSettings_fStreamingLookAheadRatio_get")]
+ public static extern float CSharp_AkMusicSettings_fStreamingLookAheadRatio_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMusicSettings")]
+ public static extern void CSharp_delete_AkMusicSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetPlayingSegmentInfo__SWIG_0")]
+ public static extern int CSharp_GetPlayingSegmentInfo__SWIG_0(uint jarg1, global::System.IntPtr jarg2, bool jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetPlayingSegmentInfo__SWIG_1")]
+ public static extern int CSharp_GetPlayingSegmentInfo__SWIG_1(uint jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSerializedCallbackHeader_pPackage_get")]
+ public static extern global::System.IntPtr CSharp_AkSerializedCallbackHeader_pPackage_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSerializedCallbackHeader_pNext_get")]
+ public static extern global::System.IntPtr CSharp_AkSerializedCallbackHeader_pNext_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSerializedCallbackHeader_eType_get")]
+ public static extern int CSharp_AkSerializedCallbackHeader_eType_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSerializedCallbackHeader_GetData")]
+ public static extern global::System.IntPtr CSharp_AkSerializedCallbackHeader_GetData(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkSerializedCallbackHeader")]
+ public static extern global::System.IntPtr CSharp_new_AkSerializedCallbackHeader();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkSerializedCallbackHeader")]
+ public static extern void CSharp_delete_AkSerializedCallbackHeader(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackInfo_pCookie_get")]
+ public static extern global::System.IntPtr CSharp_AkCallbackInfo_pCookie_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackInfo_gameObjID_get")]
+ public static extern ulong CSharp_AkCallbackInfo_gameObjID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkCallbackInfo")]
+ public static extern void CSharp_delete_AkCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkEventCallbackInfo_playingID_get")]
+ public static extern uint CSharp_AkEventCallbackInfo_playingID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkEventCallbackInfo_eventID_get")]
+ public static extern uint CSharp_AkEventCallbackInfo_eventID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkEventCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkEventCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkEventCallbackInfo")]
+ public static extern void CSharp_delete_AkEventCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byChan_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byChan_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byParam1_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byParam1_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byParam2_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byParam2_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byType_get")]
+ public static extern int CSharp_AkMIDIEventCallbackInfo_byType_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byOnOffNote_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byOnOffNote_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byVelocity_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byVelocity_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byCc_get")]
+ public static extern int CSharp_AkMIDIEventCallbackInfo_byCc_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byCcValue_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byCcValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byValueLsb_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byValueLsb_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byValueMsb_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byValueMsb_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byAftertouchNote_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byAftertouchNote_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byNoteAftertouchValue_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byNoteAftertouchValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byChanAftertouchValue_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byChanAftertouchValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byProgramNum_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byProgramNum_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEventCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEventCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEventCallbackInfo")]
+ public static extern void CSharp_delete_AkMIDIEventCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMarkerCallbackInfo_uIdentifier_get")]
+ public static extern uint CSharp_AkMarkerCallbackInfo_uIdentifier_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMarkerCallbackInfo_uPosition_get")]
+ public static extern uint CSharp_AkMarkerCallbackInfo_uPosition_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMarkerCallbackInfo_strLabel_get")]
+ public static extern global::System.IntPtr CSharp_AkMarkerCallbackInfo_strLabel_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMarkerCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkMarkerCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMarkerCallbackInfo")]
+ public static extern void CSharp_delete_AkMarkerCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDurationCallbackInfo_fDuration_get")]
+ public static extern float CSharp_AkDurationCallbackInfo_fDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDurationCallbackInfo_fEstimatedDuration_get")]
+ public static extern float CSharp_AkDurationCallbackInfo_fEstimatedDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDurationCallbackInfo_audioNodeID_get")]
+ public static extern uint CSharp_AkDurationCallbackInfo_audioNodeID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDurationCallbackInfo_mediaID_get")]
+ public static extern uint CSharp_AkDurationCallbackInfo_mediaID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDurationCallbackInfo_bStreaming_get")]
+ public static extern bool CSharp_AkDurationCallbackInfo_bStreaming_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkDurationCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkDurationCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkDurationCallbackInfo")]
+ public static extern void CSharp_delete_AkDurationCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDynamicSequenceItemCallbackInfo_playingID_get")]
+ public static extern uint CSharp_AkDynamicSequenceItemCallbackInfo_playingID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDynamicSequenceItemCallbackInfo_audioNodeID_get")]
+ public static extern uint CSharp_AkDynamicSequenceItemCallbackInfo_audioNodeID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDynamicSequenceItemCallbackInfo_pCustomInfo_get")]
+ public static extern global::System.IntPtr CSharp_AkDynamicSequenceItemCallbackInfo_pCustomInfo_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkDynamicSequenceItemCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkDynamicSequenceItemCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkDynamicSequenceItemCallbackInfo")]
+ public static extern void CSharp_delete_AkDynamicSequenceItemCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_playingID_get")]
+ public static extern uint CSharp_AkMusicSyncCallbackInfo_playingID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_iCurrentPosition_get")]
+ public static extern int CSharp_AkMusicSyncCallbackInfo_segmentInfo_iCurrentPosition_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_iPreEntryDuration_get")]
+ public static extern int CSharp_AkMusicSyncCallbackInfo_segmentInfo_iPreEntryDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_iActiveDuration_get")]
+ public static extern int CSharp_AkMusicSyncCallbackInfo_segmentInfo_iActiveDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_iPostExitDuration_get")]
+ public static extern int CSharp_AkMusicSyncCallbackInfo_segmentInfo_iPostExitDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_iRemainingLookAheadTime_get")]
+ public static extern int CSharp_AkMusicSyncCallbackInfo_segmentInfo_iRemainingLookAheadTime_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_fBeatDuration_get")]
+ public static extern float CSharp_AkMusicSyncCallbackInfo_segmentInfo_fBeatDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_fBarDuration_get")]
+ public static extern float CSharp_AkMusicSyncCallbackInfo_segmentInfo_fBarDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_fGridDuration_get")]
+ public static extern float CSharp_AkMusicSyncCallbackInfo_segmentInfo_fGridDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_fGridOffset_get")]
+ public static extern float CSharp_AkMusicSyncCallbackInfo_segmentInfo_fGridOffset_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_musicSyncType_get")]
+ public static extern int CSharp_AkMusicSyncCallbackInfo_musicSyncType_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_userCueName_get")]
+ public static extern global::System.IntPtr CSharp_AkMusicSyncCallbackInfo_userCueName_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMusicSyncCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkMusicSyncCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMusicSyncCallbackInfo")]
+ public static extern void CSharp_delete_AkMusicSyncCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicPlaylistCallbackInfo_playlistID_get")]
+ public static extern uint CSharp_AkMusicPlaylistCallbackInfo_playlistID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicPlaylistCallbackInfo_uNumPlaylistItems_get")]
+ public static extern uint CSharp_AkMusicPlaylistCallbackInfo_uNumPlaylistItems_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicPlaylistCallbackInfo_uPlaylistSelection_get")]
+ public static extern uint CSharp_AkMusicPlaylistCallbackInfo_uPlaylistSelection_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicPlaylistCallbackInfo_uPlaylistItemDone_get")]
+ public static extern uint CSharp_AkMusicPlaylistCallbackInfo_uPlaylistItemDone_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMusicPlaylistCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkMusicPlaylistCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMusicPlaylistCallbackInfo")]
+ public static extern void CSharp_delete_AkMusicPlaylistCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkBankCallbackInfo_bankID_get")]
+ public static extern uint CSharp_AkBankCallbackInfo_bankID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkBankCallbackInfo_inMemoryBankPtr_get")]
+ public static extern global::System.IntPtr CSharp_AkBankCallbackInfo_inMemoryBankPtr_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkBankCallbackInfo_loadResult_get")]
+ public static extern int CSharp_AkBankCallbackInfo_loadResult_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkBankCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkBankCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkBankCallbackInfo")]
+ public static extern void CSharp_delete_AkBankCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMonitoringCallbackInfo_errorCode_get")]
+ public static extern int CSharp_AkMonitoringCallbackInfo_errorCode_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMonitoringCallbackInfo_errorLevel_get")]
+ public static extern int CSharp_AkMonitoringCallbackInfo_errorLevel_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMonitoringCallbackInfo_playingID_get")]
+ public static extern uint CSharp_AkMonitoringCallbackInfo_playingID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMonitoringCallbackInfo_gameObjID_get")]
+ public static extern ulong CSharp_AkMonitoringCallbackInfo_gameObjID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMonitoringCallbackInfo_message_get")]
+ public static extern global::System.IntPtr CSharp_AkMonitoringCallbackInfo_message_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMonitoringCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkMonitoringCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMonitoringCallbackInfo")]
+ public static extern void CSharp_delete_AkMonitoringCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioInterruptionCallbackInfo_bEnterInterruption_get")]
+ public static extern bool CSharp_AkAudioInterruptionCallbackInfo_bEnterInterruption_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkAudioInterruptionCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkAudioInterruptionCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkAudioInterruptionCallbackInfo")]
+ public static extern void CSharp_delete_AkAudioInterruptionCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioSourceChangeCallbackInfo_bOtherAudioPlaying_get")]
+ public static extern bool CSharp_AkAudioSourceChangeCallbackInfo_bOtherAudioPlaying_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkAudioSourceChangeCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkAudioSourceChangeCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkAudioSourceChangeCallbackInfo")]
+ public static extern void CSharp_delete_AkAudioSourceChangeCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LocalOutput")]
+ public static extern void CSharp_LocalOutput(int jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg2, int jarg3, uint jarg4, ulong jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackSerializer_Init")]
+ public static extern int CSharp_AkCallbackSerializer_Init(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackSerializer_Term")]
+ public static extern void CSharp_AkCallbackSerializer_Term();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackSerializer_Lock")]
+ public static extern global::System.IntPtr CSharp_AkCallbackSerializer_Lock();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackSerializer_Unlock")]
+ public static extern void CSharp_AkCallbackSerializer_Unlock();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackSerializer_SetLocalOutput")]
+ public static extern void CSharp_AkCallbackSerializer_SetLocalOutput(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackSerializer_AudioSourceChangeCallbackFunc")]
+ public static extern int CSharp_AkCallbackSerializer_AudioSourceChangeCallbackFunc(bool jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkCallbackSerializer")]
+ public static extern global::System.IntPtr CSharp_new_AkCallbackSerializer();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkCallbackSerializer")]
+ public static extern void CSharp_delete_AkCallbackSerializer(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostCode__SWIG_0")]
+ public static extern int CSharp_PostCode__SWIG_0(int jarg1, int jarg2, uint jarg3, ulong jarg4, uint jarg5, bool jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostCode__SWIG_1")]
+ public static extern int CSharp_PostCode__SWIG_1(int jarg1, int jarg2, uint jarg3, ulong jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostCode__SWIG_2")]
+ public static extern int CSharp_PostCode__SWIG_2(int jarg1, int jarg2, uint jarg3, ulong jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostCode__SWIG_3")]
+ public static extern int CSharp_PostCode__SWIG_3(int jarg1, int jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostCode__SWIG_4")]
+ public static extern int CSharp_PostCode__SWIG_4(int jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostString__SWIG_0")]
+ public static extern int CSharp_PostString__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, uint jarg3, ulong jarg4, uint jarg5, bool jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostString__SWIG_1")]
+ public static extern int CSharp_PostString__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, uint jarg3, ulong jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostString__SWIG_2")]
+ public static extern int CSharp_PostString__SWIG_2([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, uint jarg3, ulong jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostString__SWIG_3")]
+ public static extern int CSharp_PostString__SWIG_3([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostString__SWIG_4")]
+ public static extern int CSharp_PostString__SWIG_4([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetTimeStamp")]
+ public static extern int CSharp_GetTimeStamp();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetNumNonZeroBits")]
+ public static extern uint CSharp_GetNumNonZeroBits(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkGetDefaultHighPriorityThreadProperties")]
+ public static extern void CSharp_AkGetDefaultHighPriorityThreadProperties(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResolveDialogueEvent__SWIG_0")]
+ public static extern uint CSharp_ResolveDialogueEvent__SWIG_0(uint jarg1, [global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg2, uint jarg3, uint jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResolveDialogueEvent__SWIG_1")]
+ public static extern uint CSharp_ResolveDialogueEvent__SWIG_1(uint jarg1, [global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDialogueEventCustomPropertyValue__SWIG_0")]
+ public static extern int CSharp_GetDialogueEventCustomPropertyValue__SWIG_0(uint jarg1, uint jarg2, out int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDialogueEventCustomPropertyValue__SWIG_1")]
+ public static extern int CSharp_GetDialogueEventCustomPropertyValue__SWIG_1(uint jarg1, uint jarg2, out float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fCenterPct_set")]
+ public static extern void CSharp_AkPositioningInfo_fCenterPct_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fCenterPct_get")]
+ public static extern float CSharp_AkPositioningInfo_fCenterPct_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_pannerType_set")]
+ public static extern void CSharp_AkPositioningInfo_pannerType_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_pannerType_get")]
+ public static extern int CSharp_AkPositioningInfo_pannerType_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_e3dPositioningType_set")]
+ public static extern void CSharp_AkPositioningInfo_e3dPositioningType_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_e3dPositioningType_get")]
+ public static extern int CSharp_AkPositioningInfo_e3dPositioningType_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_bHoldEmitterPosAndOrient_set")]
+ public static extern void CSharp_AkPositioningInfo_bHoldEmitterPosAndOrient_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_bHoldEmitterPosAndOrient_get")]
+ public static extern bool CSharp_AkPositioningInfo_bHoldEmitterPosAndOrient_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_e3DSpatializationMode_set")]
+ public static extern void CSharp_AkPositioningInfo_e3DSpatializationMode_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_e3DSpatializationMode_get")]
+ public static extern int CSharp_AkPositioningInfo_e3DSpatializationMode_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_bEnableAttenuation_set")]
+ public static extern void CSharp_AkPositioningInfo_bEnableAttenuation_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_bEnableAttenuation_get")]
+ public static extern bool CSharp_AkPositioningInfo_bEnableAttenuation_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_bUseConeAttenuation_set")]
+ public static extern void CSharp_AkPositioningInfo_bUseConeAttenuation_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_bUseConeAttenuation_get")]
+ public static extern bool CSharp_AkPositioningInfo_bUseConeAttenuation_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fInnerAngle_set")]
+ public static extern void CSharp_AkPositioningInfo_fInnerAngle_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fInnerAngle_get")]
+ public static extern float CSharp_AkPositioningInfo_fInnerAngle_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fOuterAngle_set")]
+ public static extern void CSharp_AkPositioningInfo_fOuterAngle_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fOuterAngle_get")]
+ public static extern float CSharp_AkPositioningInfo_fOuterAngle_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fConeMaxAttenuation_set")]
+ public static extern void CSharp_AkPositioningInfo_fConeMaxAttenuation_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fConeMaxAttenuation_get")]
+ public static extern float CSharp_AkPositioningInfo_fConeMaxAttenuation_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_LPFCone_set")]
+ public static extern void CSharp_AkPositioningInfo_LPFCone_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_LPFCone_get")]
+ public static extern float CSharp_AkPositioningInfo_LPFCone_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_HPFCone_set")]
+ public static extern void CSharp_AkPositioningInfo_HPFCone_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_HPFCone_get")]
+ public static extern float CSharp_AkPositioningInfo_HPFCone_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fMaxDistance_set")]
+ public static extern void CSharp_AkPositioningInfo_fMaxDistance_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fMaxDistance_get")]
+ public static extern float CSharp_AkPositioningInfo_fMaxDistance_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fVolDryAtMaxDist_set")]
+ public static extern void CSharp_AkPositioningInfo_fVolDryAtMaxDist_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fVolDryAtMaxDist_get")]
+ public static extern float CSharp_AkPositioningInfo_fVolDryAtMaxDist_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fVolAuxGameDefAtMaxDist_set")]
+ public static extern void CSharp_AkPositioningInfo_fVolAuxGameDefAtMaxDist_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fVolAuxGameDefAtMaxDist_get")]
+ public static extern float CSharp_AkPositioningInfo_fVolAuxGameDefAtMaxDist_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fVolAuxUserDefAtMaxDist_set")]
+ public static extern void CSharp_AkPositioningInfo_fVolAuxUserDefAtMaxDist_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fVolAuxUserDefAtMaxDist_get")]
+ public static extern float CSharp_AkPositioningInfo_fVolAuxUserDefAtMaxDist_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_LPFValueAtMaxDist_set")]
+ public static extern void CSharp_AkPositioningInfo_LPFValueAtMaxDist_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_LPFValueAtMaxDist_get")]
+ public static extern float CSharp_AkPositioningInfo_LPFValueAtMaxDist_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_HPFValueAtMaxDist_set")]
+ public static extern void CSharp_AkPositioningInfo_HPFValueAtMaxDist_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_HPFValueAtMaxDist_get")]
+ public static extern float CSharp_AkPositioningInfo_HPFValueAtMaxDist_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkPositioningInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkPositioningInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkPositioningInfo")]
+ public static extern void CSharp_delete_AkPositioningInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_objID_set")]
+ public static extern void CSharp_AkObjectInfo_objID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_objID_get")]
+ public static extern uint CSharp_AkObjectInfo_objID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_parentID_set")]
+ public static extern void CSharp_AkObjectInfo_parentID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_parentID_get")]
+ public static extern uint CSharp_AkObjectInfo_parentID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_iDepth_set")]
+ public static extern void CSharp_AkObjectInfo_iDepth_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_iDepth_get")]
+ public static extern int CSharp_AkObjectInfo_iDepth_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_Clear")]
+ public static extern void CSharp_AkObjectInfo_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_GetSizeOf")]
+ public static extern int CSharp_AkObjectInfo_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_Clone")]
+ public static extern void CSharp_AkObjectInfo_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkObjectInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkObjectInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkObjectInfo")]
+ public static extern void CSharp_delete_AkObjectInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetPosition")]
+ public static extern int CSharp_GetPosition(ulong jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetListenerPosition")]
+ public static extern int CSharp_GetListenerPosition(ulong jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetRTPCValue__SWIG_0")]
+ public static extern int CSharp_GetRTPCValue__SWIG_0(uint jarg1, ulong jarg2, uint jarg3, out float jarg4, ref int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetRTPCValue__SWIG_1")]
+ public static extern int CSharp_GetRTPCValue__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, uint jarg3, out float jarg4, ref int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSwitch__SWIG_0")]
+ public static extern int CSharp_GetSwitch__SWIG_0(uint jarg1, ulong jarg2, out uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSwitch__SWIG_1")]
+ public static extern int CSharp_GetSwitch__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, out uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetState__SWIG_0")]
+ public static extern int CSharp_GetState__SWIG_0(uint jarg1, out uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetState__SWIG_1")]
+ public static extern int CSharp_GetState__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, out uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetGameObjectAuxSendValues")]
+ public static extern int CSharp_GetGameObjectAuxSendValues(ulong jarg1, global::System.IntPtr jarg2, ref uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetGameObjectDryLevelValue")]
+ public static extern int CSharp_GetGameObjectDryLevelValue(ulong jarg1, ulong jarg2, out float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetObjectObstructionAndOcclusion")]
+ public static extern int CSharp_GetObjectObstructionAndOcclusion(ulong jarg1, ulong jarg2, out float jarg3, out float jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_QueryAudioObjectIDs__SWIG_0")]
+ public static extern int CSharp_QueryAudioObjectIDs__SWIG_0(uint jarg1, ref uint jarg2, global::System.IntPtr jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_QueryAudioObjectIDs__SWIG_1")]
+ public static extern int CSharp_QueryAudioObjectIDs__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ref uint jarg2, global::System.IntPtr jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetPositioningInfo")]
+ public static extern int CSharp_GetPositioningInfo(uint jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetIsGameObjectActive")]
+ public static extern bool CSharp_GetIsGameObjectActive(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetMaxRadius")]
+ public static extern float CSharp_GetMaxRadius(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetEventIDFromPlayingID")]
+ public static extern uint CSharp_GetEventIDFromPlayingID(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetGameObjectFromPlayingID")]
+ public static extern ulong CSharp_GetGameObjectFromPlayingID(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetPlayingIDsFromGameObject")]
+ public static extern int CSharp_GetPlayingIDsFromGameObject(ulong jarg1, ref uint jarg2, [global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetCustomPropertyValue__SWIG_0")]
+ public static extern int CSharp_GetCustomPropertyValue__SWIG_0(uint jarg1, uint jarg2, out int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetCustomPropertyValue__SWIG_1")]
+ public static extern int CSharp_GetCustomPropertyValue__SWIG_1(uint jarg1, uint jarg2, out float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_SPEAKER_SETUP_FIX_LEFT_TO_CENTER")]
+ public static extern void CSharp_AK_SPEAKER_SETUP_FIX_LEFT_TO_CENTER(ref uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_SPEAKER_SETUP_FIX_REAR_TO_SIDE")]
+ public static extern void CSharp_AK_SPEAKER_SETUP_FIX_REAR_TO_SIDE(ref uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_SPEAKER_SETUP_CONVERT_TO_SUPPORTED")]
+ public static extern void CSharp_AK_SPEAKER_SETUP_CONVERT_TO_SUPPORTED(ref uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ChannelMaskToNumChannels")]
+ public static extern byte CSharp_ChannelMaskToNumChannels(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ChannelMaskFromNumChannels")]
+ public static extern uint CSharp_ChannelMaskFromNumChannels(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ChannelBitToIndex")]
+ public static extern byte CSharp_ChannelBitToIndex(uint jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_HasSurroundChannels")]
+ public static extern bool CSharp_HasSurroundChannels(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_HasStrictlyOnePairOfSurroundChannels")]
+ public static extern bool CSharp_HasStrictlyOnePairOfSurroundChannels(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_HasSideAndRearChannels")]
+ public static extern bool CSharp_HasSideAndRearChannels(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_HasHeightChannels")]
+ public static extern bool CSharp_HasHeightChannels(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_BackToSideChannels")]
+ public static extern uint CSharp_BackToSideChannels(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StdChannelIndexToDisplayIndex")]
+ public static extern uint CSharp_StdChannelIndexToDisplayIndex(int jarg1, uint jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_uNumChannels_set")]
+ public static extern void CSharp_AkChannelConfig_uNumChannels_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_uNumChannels_get")]
+ public static extern uint CSharp_AkChannelConfig_uNumChannels_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_eConfigType_set")]
+ public static extern void CSharp_AkChannelConfig_eConfigType_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_eConfigType_get")]
+ public static extern uint CSharp_AkChannelConfig_eConfigType_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_uChannelMask_set")]
+ public static extern void CSharp_AkChannelConfig_uChannelMask_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_uChannelMask_get")]
+ public static extern uint CSharp_AkChannelConfig_uChannelMask_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkChannelConfig__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkChannelConfig__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkChannelConfig__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkChannelConfig__SWIG_1(uint jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_Clear")]
+ public static extern void CSharp_AkChannelConfig_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_SetStandard")]
+ public static extern void CSharp_AkChannelConfig_SetStandard(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_SetStandardOrAnonymous")]
+ public static extern void CSharp_AkChannelConfig_SetStandardOrAnonymous(global::System.IntPtr jarg1, uint jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_SetAnonymous")]
+ public static extern void CSharp_AkChannelConfig_SetAnonymous(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_SetAmbisonic")]
+ public static extern void CSharp_AkChannelConfig_SetAmbisonic(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_IsValid")]
+ public static extern bool CSharp_AkChannelConfig_IsValid(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_Serialize")]
+ public static extern uint CSharp_AkChannelConfig_Serialize(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_Deserialize")]
+ public static extern void CSharp_AkChannelConfig_Deserialize(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_RemoveLFE")]
+ public static extern global::System.IntPtr CSharp_AkChannelConfig_RemoveLFE(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_RemoveCenter")]
+ public static extern global::System.IntPtr CSharp_AkChannelConfig_RemoveCenter(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_IsChannelConfigSupported")]
+ public static extern bool CSharp_AkChannelConfig_IsChannelConfigSupported(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkChannelConfig")]
+ public static extern void CSharp_delete_AkChannelConfig(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkImageSourceParams__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkImageSourceParams__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkImageSourceParams__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkImageSourceParams__SWIG_1(UnityEngine.Vector3 jarg1, float jarg2, float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_sourcePosition_set")]
+ public static extern void CSharp_AkImageSourceParams_sourcePosition_set(global::System.IntPtr jarg1, UnityEngine.Vector3 jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_sourcePosition_get")]
+ public static extern UnityEngine.Vector3 CSharp_AkImageSourceParams_sourcePosition_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_fDistanceScalingFactor_set")]
+ public static extern void CSharp_AkImageSourceParams_fDistanceScalingFactor_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_fDistanceScalingFactor_get")]
+ public static extern float CSharp_AkImageSourceParams_fDistanceScalingFactor_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_fLevel_set")]
+ public static extern void CSharp_AkImageSourceParams_fLevel_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_fLevel_get")]
+ public static extern float CSharp_AkImageSourceParams_fLevel_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_fDiffraction_set")]
+ public static extern void CSharp_AkImageSourceParams_fDiffraction_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_fDiffraction_get")]
+ public static extern float CSharp_AkImageSourceParams_fDiffraction_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_uDiffractionEmitterSide_set")]
+ public static extern void CSharp_AkImageSourceParams_uDiffractionEmitterSide_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_uDiffractionEmitterSide_get")]
+ public static extern byte CSharp_AkImageSourceParams_uDiffractionEmitterSide_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_uDiffractionListenerSide_set")]
+ public static extern void CSharp_AkImageSourceParams_uDiffractionListenerSide_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_uDiffractionListenerSide_get")]
+ public static extern byte CSharp_AkImageSourceParams_uDiffractionListenerSide_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkImageSourceParams")]
+ public static extern void CSharp_delete_AkImageSourceParams(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_kDefaultMaxPathLength_get")]
+ public static extern float CSharp_kDefaultMaxPathLength_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_kDefaultDiffractionMaxEdges_get")]
+ public static extern uint CSharp_kDefaultDiffractionMaxEdges_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_kDefaultDiffractionMaxPaths_get")]
+ public static extern uint CSharp_kDefaultDiffractionMaxPaths_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_kMaxDiffraction_get")]
+ public static extern float CSharp_kMaxDiffraction_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_kDiffractionMaxEdges_get")]
+ public static extern uint CSharp_kDiffractionMaxEdges_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_kDiffractionMaxPaths_get")]
+ public static extern uint CSharp_kDiffractionMaxPaths_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_kPortalToPortalDiffractionMaxPaths_get")]
+ public static extern uint CSharp_kPortalToPortalDiffractionMaxPaths_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkSpatialAudioInitSettings")]
+ public static extern global::System.IntPtr CSharp_new_AkSpatialAudioInitSettings();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uMaxSoundPropagationDepth_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_uMaxSoundPropagationDepth_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uMaxSoundPropagationDepth_get")]
+ public static extern uint CSharp_AkSpatialAudioInitSettings_uMaxSoundPropagationDepth_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uDiffractionFlags_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_uDiffractionFlags_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uDiffractionFlags_get")]
+ public static extern uint CSharp_AkSpatialAudioInitSettings_uDiffractionFlags_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fDiffractionShadowAttenFactor_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_fDiffractionShadowAttenFactor_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fDiffractionShadowAttenFactor_get")]
+ public static extern float CSharp_AkSpatialAudioInitSettings_fDiffractionShadowAttenFactor_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fDiffractionShadowDegrees_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_fDiffractionShadowDegrees_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fDiffractionShadowDegrees_get")]
+ public static extern float CSharp_AkSpatialAudioInitSettings_fDiffractionShadowDegrees_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fMovementThreshold_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_fMovementThreshold_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fMovementThreshold_get")]
+ public static extern float CSharp_AkSpatialAudioInitSettings_fMovementThreshold_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uNumberOfPrimaryRays_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_uNumberOfPrimaryRays_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uNumberOfPrimaryRays_get")]
+ public static extern uint CSharp_AkSpatialAudioInitSettings_uNumberOfPrimaryRays_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uMaxReflectionOrder_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_uMaxReflectionOrder_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uMaxReflectionOrder_get")]
+ public static extern uint CSharp_AkSpatialAudioInitSettings_uMaxReflectionOrder_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fMaxPathLength_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_fMaxPathLength_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fMaxPathLength_get")]
+ public static extern float CSharp_AkSpatialAudioInitSettings_fMaxPathLength_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_bEnableDiffractionOnReflection_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_bEnableDiffractionOnReflection_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_bEnableDiffractionOnReflection_get")]
+ public static extern bool CSharp_AkSpatialAudioInitSettings_bEnableDiffractionOnReflection_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_bEnableDirectPathDiffraction_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_bEnableDirectPathDiffraction_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_bEnableDirectPathDiffraction_get")]
+ public static extern bool CSharp_AkSpatialAudioInitSettings_bEnableDirectPathDiffraction_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_bEnableTransmission_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_bEnableTransmission_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_bEnableTransmission_get")]
+ public static extern bool CSharp_AkSpatialAudioInitSettings_bEnableTransmission_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkSpatialAudioInitSettings")]
+ public static extern void CSharp_delete_AkSpatialAudioInitSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkImageSourceSettings__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkImageSourceSettings__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkImageSourceSettings__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkImageSourceSettings__SWIG_1(UnityEngine.Vector3 jarg1, float jarg2, float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkImageSourceSettings")]
+ public static extern void CSharp_delete_AkImageSourceSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceSettings_SetOneTexture")]
+ public static extern void CSharp_AkImageSourceSettings_SetOneTexture(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceSettings_SetName")]
+ public static extern void CSharp_AkImageSourceSettings_SetName(global::System.IntPtr jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceSettings_params__set")]
+ public static extern void CSharp_AkImageSourceSettings_params__set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceSettings_params__get")]
+ public static extern global::System.IntPtr CSharp_AkImageSourceSettings_params__get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkTriangle__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkTriangle__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkTriangle__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkTriangle__SWIG_1(ushort jarg1, ushort jarg2, ushort jarg3, ushort jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_point0_set")]
+ public static extern void CSharp_AkTriangle_point0_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_point0_get")]
+ public static extern ushort CSharp_AkTriangle_point0_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_point1_set")]
+ public static extern void CSharp_AkTriangle_point1_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_point1_get")]
+ public static extern ushort CSharp_AkTriangle_point1_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_point2_set")]
+ public static extern void CSharp_AkTriangle_point2_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_point2_get")]
+ public static extern ushort CSharp_AkTriangle_point2_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_surface_set")]
+ public static extern void CSharp_AkTriangle_surface_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_surface_get")]
+ public static extern ushort CSharp_AkTriangle_surface_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_Clear")]
+ public static extern void CSharp_AkTriangle_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_GetSizeOf")]
+ public static extern int CSharp_AkTriangle_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_Clone")]
+ public static extern void CSharp_AkTriangle_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkTriangle")]
+ public static extern void CSharp_delete_AkTriangle(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkAcousticSurface")]
+ public static extern global::System.IntPtr CSharp_new_AkAcousticSurface();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_textureID_set")]
+ public static extern void CSharp_AkAcousticSurface_textureID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_textureID_get")]
+ public static extern uint CSharp_AkAcousticSurface_textureID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_occlusion_set")]
+ public static extern void CSharp_AkAcousticSurface_occlusion_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_occlusion_get")]
+ public static extern float CSharp_AkAcousticSurface_occlusion_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_strName_set")]
+ public static extern void CSharp_AkAcousticSurface_strName_set(global::System.IntPtr jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_strName_get")]
+ public static extern global::System.IntPtr CSharp_AkAcousticSurface_strName_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_Clear")]
+ public static extern void CSharp_AkAcousticSurface_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_DeleteName")]
+ public static extern void CSharp_AkAcousticSurface_DeleteName(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_GetSizeOf")]
+ public static extern int CSharp_AkAcousticSurface_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_Clone")]
+ public static extern void CSharp_AkAcousticSurface_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkAcousticSurface")]
+ public static extern void CSharp_delete_AkAcousticSurface(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_imageSource_set")]
+ public static extern void CSharp_AkReflectionPathInfo_imageSource_set(global::System.IntPtr jarg1, UnityEngine.Vector3 jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_imageSource_get")]
+ public static extern UnityEngine.Vector3 CSharp_AkReflectionPathInfo_imageSource_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_numPathPoints_set")]
+ public static extern void CSharp_AkReflectionPathInfo_numPathPoints_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_numPathPoints_get")]
+ public static extern uint CSharp_AkReflectionPathInfo_numPathPoints_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_numReflections_set")]
+ public static extern void CSharp_AkReflectionPathInfo_numReflections_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_numReflections_get")]
+ public static extern uint CSharp_AkReflectionPathInfo_numReflections_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_level_set")]
+ public static extern void CSharp_AkReflectionPathInfo_level_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_level_get")]
+ public static extern float CSharp_AkReflectionPathInfo_level_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_isOccluded_set")]
+ public static extern void CSharp_AkReflectionPathInfo_isOccluded_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_isOccluded_get")]
+ public static extern bool CSharp_AkReflectionPathInfo_isOccluded_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_GetSizeOf")]
+ public static extern int CSharp_AkReflectionPathInfo_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_GetPathPoint")]
+ public static extern UnityEngine.Vector3 CSharp_AkReflectionPathInfo_GetPathPoint(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_GetAcousticSurface")]
+ public static extern global::System.IntPtr CSharp_AkReflectionPathInfo_GetAcousticSurface(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_GetDiffraction")]
+ public static extern float CSharp_AkReflectionPathInfo_GetDiffraction(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_Clone")]
+ public static extern void CSharp_AkReflectionPathInfo_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkReflectionPathInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkReflectionPathInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkReflectionPathInfo")]
+ public static extern void CSharp_delete_AkReflectionPathInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_virtualPos_set")]
+ public static extern void CSharp_AkDiffractionPathInfo_virtualPos_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_virtualPos_get")]
+ public static extern global::System.IntPtr CSharp_AkDiffractionPathInfo_virtualPos_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_nodeCount_set")]
+ public static extern void CSharp_AkDiffractionPathInfo_nodeCount_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_nodeCount_get")]
+ public static extern uint CSharp_AkDiffractionPathInfo_nodeCount_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_diffraction_set")]
+ public static extern void CSharp_AkDiffractionPathInfo_diffraction_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_diffraction_get")]
+ public static extern float CSharp_AkDiffractionPathInfo_diffraction_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_totLength_set")]
+ public static extern void CSharp_AkDiffractionPathInfo_totLength_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_totLength_get")]
+ public static extern float CSharp_AkDiffractionPathInfo_totLength_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_obstructionValue_set")]
+ public static extern void CSharp_AkDiffractionPathInfo_obstructionValue_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_obstructionValue_get")]
+ public static extern float CSharp_AkDiffractionPathInfo_obstructionValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_GetSizeOf")]
+ public static extern int CSharp_AkDiffractionPathInfo_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_GetNodes")]
+ public static extern UnityEngine.Vector3 CSharp_AkDiffractionPathInfo_GetNodes(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_GetAngles")]
+ public static extern float CSharp_AkDiffractionPathInfo_GetAngles(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_GetPortals")]
+ public static extern ulong CSharp_AkDiffractionPathInfo_GetPortals(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_GetRooms")]
+ public static extern ulong CSharp_AkDiffractionPathInfo_GetRooms(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_Clone")]
+ public static extern void CSharp_AkDiffractionPathInfo_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkDiffractionPathInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkDiffractionPathInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkDiffractionPathInfo")]
+ public static extern void CSharp_delete_AkDiffractionPathInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkRoomParams__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkRoomParams__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkRoomParams__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkRoomParams__SWIG_1(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_Up_set")]
+ public static extern void CSharp_AkRoomParams_Up_set(global::System.IntPtr jarg1, UnityEngine.Vector3 jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_Up_get")]
+ public static extern UnityEngine.Vector3 CSharp_AkRoomParams_Up_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_Front_set")]
+ public static extern void CSharp_AkRoomParams_Front_set(global::System.IntPtr jarg1, UnityEngine.Vector3 jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_Front_get")]
+ public static extern UnityEngine.Vector3 CSharp_AkRoomParams_Front_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_ReverbAuxBus_set")]
+ public static extern void CSharp_AkRoomParams_ReverbAuxBus_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_ReverbAuxBus_get")]
+ public static extern uint CSharp_AkRoomParams_ReverbAuxBus_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_ReverbLevel_set")]
+ public static extern void CSharp_AkRoomParams_ReverbLevel_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_ReverbLevel_get")]
+ public static extern float CSharp_AkRoomParams_ReverbLevel_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_WallOcclusion_set")]
+ public static extern void CSharp_AkRoomParams_WallOcclusion_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_WallOcclusion_get")]
+ public static extern float CSharp_AkRoomParams_WallOcclusion_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_RoomGameObj_AuxSendLevelToSelf_set")]
+ public static extern void CSharp_AkRoomParams_RoomGameObj_AuxSendLevelToSelf_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_RoomGameObj_AuxSendLevelToSelf_get")]
+ public static extern float CSharp_AkRoomParams_RoomGameObj_AuxSendLevelToSelf_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_RoomGameObj_KeepRegistered_set")]
+ public static extern void CSharp_AkRoomParams_RoomGameObj_KeepRegistered_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_RoomGameObj_KeepRegistered_get")]
+ public static extern bool CSharp_AkRoomParams_RoomGameObj_KeepRegistered_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkRoomParams")]
+ public static extern void CSharp_delete_AkRoomParams(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetImageSource")]
+ public static extern int CSharp_SetImageSource(uint jarg1, global::System.IntPtr jarg2, uint jarg3, ulong jarg4, ulong jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RemoveImageSource")]
+ public static extern int CSharp_RemoveImageSource(uint jarg1, uint jarg2, ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ClearImageSources__SWIG_0")]
+ public static extern int CSharp_ClearImageSources__SWIG_0(uint jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ClearImageSources__SWIG_1")]
+ public static extern int CSharp_ClearImageSources__SWIG_1(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ClearImageSources__SWIG_2")]
+ public static extern int CSharp_ClearImageSources__SWIG_2();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RemoveGeometry")]
+ public static extern int CSharp_RemoveGeometry(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_QueryReflectionPaths")]
+ public static extern int CSharp_QueryReflectionPaths(ulong jarg1, ref UnityEngine.Vector3 jarg2, ref UnityEngine.Vector3 jarg3, global::System.IntPtr jarg4, out uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RemoveRoom")]
+ public static extern int CSharp_RemoveRoom(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RemovePortal")]
+ public static extern int CSharp_RemovePortal(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetGameObjectInRoom")]
+ public static extern int CSharp_SetGameObjectInRoom(ulong jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetReflectionsOrder")]
+ public static extern int CSharp_SetReflectionsOrder(uint jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetNumberOfPrimaryRays")]
+ public static extern int CSharp_SetNumberOfPrimaryRays(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetEarlyReflectionsAuxSend")]
+ public static extern int CSharp_SetEarlyReflectionsAuxSend(ulong jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetEarlyReflectionsVolume")]
+ public static extern int CSharp_SetEarlyReflectionsVolume(ulong jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetPortalObstructionAndOcclusion")]
+ public static extern int CSharp_SetPortalObstructionAndOcclusion(ulong jarg1, float jarg2, float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_QueryWetDiffraction")]
+ public static extern int CSharp_QueryWetDiffraction(ulong jarg1, out float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_QueryDiffractionPaths")]
+ public static extern int CSharp_QueryDiffractionPaths(ulong jarg1, ref UnityEngine.Vector3 jarg2, ref UnityEngine.Vector3 jarg3, global::System.IntPtr jarg4, out uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadLEngine_set")]
+ public static extern void CSharp_AkPlatformInitSettings_threadLEngine_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadLEngine_get")]
+ public static extern global::System.IntPtr CSharp_AkPlatformInitSettings_threadLEngine_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadOutputMgr_set")]
+ public static extern void CSharp_AkPlatformInitSettings_threadOutputMgr_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadOutputMgr_get")]
+ public static extern global::System.IntPtr CSharp_AkPlatformInitSettings_threadOutputMgr_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadBankManager_set")]
+ public static extern void CSharp_AkPlatformInitSettings_threadBankManager_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadBankManager_get")]
+ public static extern global::System.IntPtr CSharp_AkPlatformInitSettings_threadBankManager_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadMonitor_set")]
+ public static extern void CSharp_AkPlatformInitSettings_threadMonitor_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadMonitor_get")]
+ public static extern global::System.IntPtr CSharp_AkPlatformInitSettings_threadMonitor_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_uSampleRate_set")]
+ public static extern void CSharp_AkPlatformInitSettings_uSampleRate_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_uSampleRate_get")]
+ public static extern uint CSharp_AkPlatformInitSettings_uSampleRate_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_uNumRefillsInVoice_set")]
+ public static extern void CSharp_AkPlatformInitSettings_uNumRefillsInVoice_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_uNumRefillsInVoice_get")]
+ public static extern ushort CSharp_AkPlatformInitSettings_uNumRefillsInVoice_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkPlatformInitSettings")]
+ public static extern void CSharp_delete_AkPlatformInitSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkStreamMgrSettings")]
+ public static extern void CSharp_delete_AkStreamMgrSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_pIOMemory_set")]
+ public static extern void CSharp_AkDeviceSettings_pIOMemory_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_pIOMemory_get")]
+ public static extern global::System.IntPtr CSharp_AkDeviceSettings_pIOMemory_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uIOMemorySize_set")]
+ public static extern void CSharp_AkDeviceSettings_uIOMemorySize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uIOMemorySize_get")]
+ public static extern uint CSharp_AkDeviceSettings_uIOMemorySize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uIOMemoryAlignment_set")]
+ public static extern void CSharp_AkDeviceSettings_uIOMemoryAlignment_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uIOMemoryAlignment_get")]
+ public static extern uint CSharp_AkDeviceSettings_uIOMemoryAlignment_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_ePoolAttributes_set")]
+ public static extern void CSharp_AkDeviceSettings_ePoolAttributes_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_ePoolAttributes_get")]
+ public static extern uint CSharp_AkDeviceSettings_ePoolAttributes_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uGranularity_set")]
+ public static extern void CSharp_AkDeviceSettings_uGranularity_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uGranularity_get")]
+ public static extern uint CSharp_AkDeviceSettings_uGranularity_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uSchedulerTypeFlags_set")]
+ public static extern void CSharp_AkDeviceSettings_uSchedulerTypeFlags_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uSchedulerTypeFlags_get")]
+ public static extern uint CSharp_AkDeviceSettings_uSchedulerTypeFlags_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_threadProperties_set")]
+ public static extern void CSharp_AkDeviceSettings_threadProperties_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_threadProperties_get")]
+ public static extern global::System.IntPtr CSharp_AkDeviceSettings_threadProperties_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_fTargetAutoStmBufferLength_set")]
+ public static extern void CSharp_AkDeviceSettings_fTargetAutoStmBufferLength_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_fTargetAutoStmBufferLength_get")]
+ public static extern float CSharp_AkDeviceSettings_fTargetAutoStmBufferLength_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uMaxConcurrentIO_set")]
+ public static extern void CSharp_AkDeviceSettings_uMaxConcurrentIO_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uMaxConcurrentIO_get")]
+ public static extern uint CSharp_AkDeviceSettings_uMaxConcurrentIO_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_bUseStreamCache_set")]
+ public static extern void CSharp_AkDeviceSettings_bUseStreamCache_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_bUseStreamCache_get")]
+ public static extern bool CSharp_AkDeviceSettings_bUseStreamCache_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uMaxCachePinnedBytes_set")]
+ public static extern void CSharp_AkDeviceSettings_uMaxCachePinnedBytes_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uMaxCachePinnedBytes_get")]
+ public static extern uint CSharp_AkDeviceSettings_uMaxCachePinnedBytes_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkDeviceSettings")]
+ public static extern void CSharp_delete_AkDeviceSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkThreadProperties_nPriority_set")]
+ public static extern void CSharp_AkThreadProperties_nPriority_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkThreadProperties_nPriority_get")]
+ public static extern int CSharp_AkThreadProperties_nPriority_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkThreadProperties_uStackSize_set")]
+ public static extern void CSharp_AkThreadProperties_uStackSize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkThreadProperties_uStackSize_get")]
+ public static extern uint CSharp_AkThreadProperties_uStackSize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkThreadProperties_uSchedPolicy_set")]
+ public static extern void CSharp_AkThreadProperties_uSchedPolicy_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkThreadProperties_uSchedPolicy_get")]
+ public static extern int CSharp_AkThreadProperties_uSchedPolicy_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkThreadProperties_dwAffinityMask_set")]
+ public static extern void CSharp_AkThreadProperties_dwAffinityMask_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkThreadProperties_dwAffinityMask_get")]
+ public static extern uint CSharp_AkThreadProperties_dwAffinityMask_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkThreadProperties")]
+ public static extern global::System.IntPtr CSharp_new_AkThreadProperties();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkThreadProperties")]
+ public static extern void CSharp_delete_AkThreadProperties(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetErrorLogger__SWIG_0")]
+ public static extern void CSharp_SetErrorLogger__SWIG_0(AkLogger.ErrorLoggerInteropDelegate jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetErrorLogger__SWIG_1")]
+ public static extern void CSharp_SetErrorLogger__SWIG_1();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetAudioInputCallbacks")]
+ public static extern void CSharp_SetAudioInputCallbacks(AkAudioInputManager.AudioSamplesInteropDelegate jarg1, AkAudioInputManager.AudioFormatInteropDelegate jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkUnityPlatformSpecificSettings")]
+ public static extern void CSharp_delete_AkUnityPlatformSpecificSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkCommunicationSettings")]
+ public static extern global::System.IntPtr CSharp_new_AkCommunicationSettings();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uPoolSize_set")]
+ public static extern void CSharp_AkCommunicationSettings_uPoolSize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uPoolSize_get")]
+ public static extern uint CSharp_AkCommunicationSettings_uPoolSize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_set")]
+ public static extern void CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_get")]
+ public static extern ushort CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uCommandPort_set")]
+ public static extern void CSharp_AkCommunicationSettings_uCommandPort_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uCommandPort_get")]
+ public static extern ushort CSharp_AkCommunicationSettings_uCommandPort_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uNotificationPort_set")]
+ public static extern void CSharp_AkCommunicationSettings_uNotificationPort_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uNotificationPort_get")]
+ public static extern ushort CSharp_AkCommunicationSettings_uNotificationPort_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_commSystem_set")]
+ public static extern void CSharp_AkCommunicationSettings_commSystem_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_commSystem_get")]
+ public static extern int CSharp_AkCommunicationSettings_commSystem_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_bInitSystemLib_set")]
+ public static extern void CSharp_AkCommunicationSettings_bInitSystemLib_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_bInitSystemLib_get")]
+ public static extern bool CSharp_AkCommunicationSettings_bInitSystemLib_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_szAppNetworkName_set")]
+ public static extern void CSharp_AkCommunicationSettings_szAppNetworkName_set(global::System.IntPtr jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_szAppNetworkName_get")]
+ public static extern global::System.IntPtr CSharp_AkCommunicationSettings_szAppNetworkName_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkCommunicationSettings")]
+ public static extern void CSharp_delete_AkCommunicationSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkInitializationSettings")]
+ public static extern global::System.IntPtr CSharp_new_AkInitializationSettings();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkInitializationSettings")]
+ public static extern void CSharp_delete_AkInitializationSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_streamMgrSettings_set")]
+ public static extern void CSharp_AkInitializationSettings_streamMgrSettings_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_streamMgrSettings_get")]
+ public static extern global::System.IntPtr CSharp_AkInitializationSettings_streamMgrSettings_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_deviceSettings_set")]
+ public static extern void CSharp_AkInitializationSettings_deviceSettings_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_deviceSettings_get")]
+ public static extern global::System.IntPtr CSharp_AkInitializationSettings_deviceSettings_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_initSettings_set")]
+ public static extern void CSharp_AkInitializationSettings_initSettings_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_initSettings_get")]
+ public static extern global::System.IntPtr CSharp_AkInitializationSettings_initSettings_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_platformSettings_set")]
+ public static extern void CSharp_AkInitializationSettings_platformSettings_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_platformSettings_get")]
+ public static extern global::System.IntPtr CSharp_AkInitializationSettings_platformSettings_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_musicSettings_set")]
+ public static extern void CSharp_AkInitializationSettings_musicSettings_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_musicSettings_get")]
+ public static extern global::System.IntPtr CSharp_AkInitializationSettings_musicSettings_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_unityPlatformSpecificSettings_set")]
+ public static extern void CSharp_AkInitializationSettings_unityPlatformSpecificSettings_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_unityPlatformSpecificSettings_get")]
+ public static extern global::System.IntPtr CSharp_AkInitializationSettings_unityPlatformSpecificSettings_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_useAsyncOpen_set")]
+ public static extern void CSharp_AkInitializationSettings_useAsyncOpen_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_useAsyncOpen_get")]
+ public static extern bool CSharp_AkInitializationSettings_useAsyncOpen_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkExternalSourceInfo__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkExternalSourceInfo__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkExternalSourceInfo")]
+ public static extern void CSharp_delete_AkExternalSourceInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkExternalSourceInfo__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkExternalSourceInfo__SWIG_1(global::System.IntPtr jarg1, uint jarg2, uint jarg3, uint jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkExternalSourceInfo__SWIG_2")]
+ public static extern global::System.IntPtr CSharp_new_AkExternalSourceInfo__SWIG_2([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1, uint jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkExternalSourceInfo__SWIG_3")]
+ public static extern global::System.IntPtr CSharp_new_AkExternalSourceInfo__SWIG_3(uint jarg1, uint jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_Clear")]
+ public static extern void CSharp_AkExternalSourceInfo_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_Clone")]
+ public static extern void CSharp_AkExternalSourceInfo_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_GetSizeOf")]
+ public static extern int CSharp_AkExternalSourceInfo_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_iExternalSrcCookie_set")]
+ public static extern void CSharp_AkExternalSourceInfo_iExternalSrcCookie_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_iExternalSrcCookie_get")]
+ public static extern uint CSharp_AkExternalSourceInfo_iExternalSrcCookie_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_idCodec_set")]
+ public static extern void CSharp_AkExternalSourceInfo_idCodec_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_idCodec_get")]
+ public static extern uint CSharp_AkExternalSourceInfo_idCodec_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_szFile_set")]
+ public static extern void CSharp_AkExternalSourceInfo_szFile_set(global::System.IntPtr jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_szFile_get")]
+ public static extern global::System.IntPtr CSharp_AkExternalSourceInfo_szFile_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_pInMemory_set")]
+ public static extern void CSharp_AkExternalSourceInfo_pInMemory_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_pInMemory_get")]
+ public static extern global::System.IntPtr CSharp_AkExternalSourceInfo_pInMemory_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_uiMemorySize_set")]
+ public static extern void CSharp_AkExternalSourceInfo_uiMemorySize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_uiMemorySize_get")]
+ public static extern uint CSharp_AkExternalSourceInfo_uiMemorySize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_idFile_set")]
+ public static extern void CSharp_AkExternalSourceInfo_idFile_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_idFile_get")]
+ public static extern uint CSharp_AkExternalSourceInfo_idFile_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_Init")]
+ public static extern int CSharp_Init(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_InitSpatialAudio")]
+ public static extern int CSharp_InitSpatialAudio(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_InitCommunication")]
+ public static extern int CSharp_InitCommunication(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_Term")]
+ public static extern void CSharp_Term();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RegisterGameObjInternal")]
+ public static extern int CSharp_RegisterGameObjInternal(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnregisterGameObjInternal")]
+ public static extern int CSharp_UnregisterGameObjInternal(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RegisterGameObjInternal_WithName")]
+ public static extern int CSharp_RegisterGameObjInternal_WithName(ulong jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBasePath")]
+ public static extern int CSharp_SetBasePath([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetCurrentLanguage")]
+ public static extern int CSharp_SetCurrentLanguage([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadFilePackage")]
+ public static extern int CSharp_LoadFilePackage([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, out uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddBasePath")]
+ public static extern int CSharp_AddBasePath([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetGameName")]
+ public static extern int CSharp_SetGameName([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetDecodedBankPath")]
+ public static extern int CSharp_SetDecodedBankPath([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadAndDecodeBank")]
+ public static extern int CSharp_LoadAndDecodeBank([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, bool jarg2, out uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadAndDecodeBankFromMemory")]
+ public static extern int CSharp_LoadAndDecodeBankFromMemory(global::System.IntPtr jarg1, uint jarg2, bool jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg4, bool jarg5, out uint jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_0")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7, uint jarg8);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_1")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_2")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_2([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_3")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_3([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetCurrentLanguage")]
+ public static extern global::System.IntPtr CSharp_GetCurrentLanguage();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnloadFilePackage")]
+ public static extern int CSharp_UnloadFilePackage(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnloadAllFilePackages")]
+ public static extern int CSharp_UnloadAllFilePackages();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetObjectPosition")]
+ public static extern int CSharp_SetObjectPosition(ulong jarg1, UnityEngine.Vector3 jarg2, UnityEngine.Vector3 jarg3, UnityEngine.Vector3 jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSourceMultiplePlayPositions__SWIG_0")]
+ public static extern int CSharp_GetSourceMultiplePlayPositions__SWIG_0(uint jarg1, [global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg2, [global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg3, [global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]int[] jarg4, ref uint jarg5, bool jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSourceMultiplePlayPositions__SWIG_1")]
+ public static extern int CSharp_GetSourceMultiplePlayPositions__SWIG_1(uint jarg1, [global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg2, [global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg3, [global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]int[] jarg4, ref uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetListeners")]
+ public static extern int CSharp_SetListeners(ulong jarg1, ulong[] jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetDefaultListeners")]
+ public static extern int CSharp_SetDefaultListeners(ulong[] jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddOutput__SWIG_0")]
+ public static extern int CSharp_AddOutput__SWIG_0(global::System.IntPtr jarg1, out ulong jarg2, ulong[] jarg3, uint jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddOutput__SWIG_1")]
+ public static extern int CSharp_AddOutput__SWIG_1(global::System.IntPtr jarg1, out ulong jarg2, ulong[] jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddOutput__SWIG_2")]
+ public static extern int CSharp_AddOutput__SWIG_2(global::System.IntPtr jarg1, out ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddOutput__SWIG_3")]
+ public static extern int CSharp_AddOutput__SWIG_3(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDefaultStreamSettings")]
+ public static extern void CSharp_GetDefaultStreamSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDefaultDeviceSettings")]
+ public static extern void CSharp_GetDefaultDeviceSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDefaultMusicSettings")]
+ public static extern void CSharp_GetDefaultMusicSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDefaultInitSettings")]
+ public static extern void CSharp_GetDefaultInitSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDefaultPlatformInitSettings")]
+ public static extern void CSharp_GetDefaultPlatformInitSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetMajorMinorVersion")]
+ public static extern uint CSharp_GetMajorMinorVersion();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSubminorBuildVersion")]
+ public static extern uint CSharp_GetSubminorBuildVersion();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StartResourceMonitoring")]
+ public static extern void CSharp_StartResourceMonitoring();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopResourceMonitoring")]
+ public static extern void CSharp_StopResourceMonitoring();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetResourceMonitorDataSummary")]
+ public static extern void CSharp_GetResourceMonitorDataSummary(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRoomPortal")]
+ public static extern int CSharp_SetRoomPortal(ulong jarg1, global::System.IntPtr jarg2, UnityEngine.Vector3 jarg3, bool jarg4, ulong jarg5, ulong jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRoom")]
+ public static extern int CSharp_SetRoom(ulong jarg1, global::System.IntPtr jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RegisterSpatialAudioListener")]
+ public static extern int CSharp_RegisterSpatialAudioListener(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnregisterSpatialAudioListener")]
+ public static extern int CSharp_UnregisterSpatialAudioListener(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetGeometry")]
+ public static extern int CSharp_SetGeometry(ulong jarg1, global::System.IntPtr jarg2, uint jarg3, UnityEngine.Vector3[] jarg4, uint jarg5, global::System.IntPtr jarg6, uint jarg7, ulong jarg8, bool jarg9, bool jarg10);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_4")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_4(uint jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7, uint jarg8);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_5")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_5(uint jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_6")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_6(uint jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_7")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_7(uint jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylist_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkPlaylist_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIPost_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkMIDIPost_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkEventCallbackInfo_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkEventCallbackInfo_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEventCallbackInfo_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMarkerCallbackInfo_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkMarkerCallbackInfo_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDurationCallbackInfo_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkDurationCallbackInfo_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDynamicSequenceItemCallbackInfo_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkDynamicSequenceItemCallbackInfo_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkMusicSyncCallbackInfo_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicPlaylistCallbackInfo_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkMusicPlaylistCallbackInfo_SWIGUpcast(global::System.IntPtr jarg1);}
+#endif // #if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Mac/AkSoundEnginePINVOKE_Mac.cs.meta b/Assets/Wwise/Deployment/API/Generated/Mac/AkSoundEnginePINVOKE_Mac.cs.meta
new file mode 100644
index 000000000..5f7b1ff8b
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Mac/AkSoundEnginePINVOKE_Mac.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 79fbac8b42fb0fd46a40a95d5b0ab85d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Mac/AkSoundEngine_Mac.cs b/Assets/Wwise/Deployment/API/Generated/Mac/AkSoundEngine_Mac.cs
new file mode 100644
index 000000000..ea62be790
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Mac/AkSoundEngine_Mac.cs
@@ -0,0 +1,1931 @@
+#if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public partial class AkSoundEngine {
+ public static uint AK_SOUNDBANK_VERSION { get { return AkSoundEnginePINVOKE.CSharp_AK_SOUNDBANK_VERSION_get(); }
+ }
+
+ public static ushort AK_INT { get { return AkSoundEnginePINVOKE.CSharp_AK_INT_get(); }
+ }
+
+ public static ushort AK_FLOAT { get { return AkSoundEnginePINVOKE.CSharp_AK_FLOAT_get(); }
+ }
+
+ public static byte AK_INTERLEAVED { get { return AkSoundEnginePINVOKE.CSharp_AK_INTERLEAVED_get(); }
+ }
+
+ public static byte AK_NONINTERLEAVED { get { return AkSoundEnginePINVOKE.CSharp_AK_NONINTERLEAVED_get(); }
+ }
+
+ public static uint AK_LE_NATIVE_BITSPERSAMPLE { get { return AkSoundEnginePINVOKE.CSharp_AK_LE_NATIVE_BITSPERSAMPLE_get(); }
+ }
+
+ public static uint AK_LE_NATIVE_SAMPLETYPE { get { return AkSoundEnginePINVOKE.CSharp_AK_LE_NATIVE_SAMPLETYPE_get(); }
+ }
+
+ public static uint AK_LE_NATIVE_INTERLEAVE { get { return AkSoundEnginePINVOKE.CSharp_AK_LE_NATIVE_INTERLEAVE_get(); }
+ }
+
+ public static uint DynamicSequenceOpen(UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, AkDynamicSequenceType in_eDynamicSequenceType) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_DynamicSequenceOpen__SWIG_0(in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, (int)in_eDynamicSequenceType);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint DynamicSequenceOpen(UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_DynamicSequenceOpen__SWIG_1(in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint DynamicSequenceOpen(UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_DynamicSequenceOpen__SWIG_2(in_gameObjectID_id);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static AKRESULT DynamicSequenceClose(uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceClose(in_playingID); }
+
+ public static AKRESULT DynamicSequencePlay(uint in_playingID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequencePlay__SWIG_0(in_playingID, in_uTransitionDuration, (int)in_eFadeCurve); }
+
+ public static AKRESULT DynamicSequencePlay(uint in_playingID, int in_uTransitionDuration) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequencePlay__SWIG_1(in_playingID, in_uTransitionDuration); }
+
+ public static AKRESULT DynamicSequencePlay(uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequencePlay__SWIG_2(in_playingID); }
+
+ public static AKRESULT DynamicSequencePause(uint in_playingID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequencePause__SWIG_0(in_playingID, in_uTransitionDuration, (int)in_eFadeCurve); }
+
+ public static AKRESULT DynamicSequencePause(uint in_playingID, int in_uTransitionDuration) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequencePause__SWIG_1(in_playingID, in_uTransitionDuration); }
+
+ public static AKRESULT DynamicSequencePause(uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequencePause__SWIG_2(in_playingID); }
+
+ public static AKRESULT DynamicSequenceResume(uint in_playingID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceResume__SWIG_0(in_playingID, in_uTransitionDuration, (int)in_eFadeCurve); }
+
+ public static AKRESULT DynamicSequenceResume(uint in_playingID, int in_uTransitionDuration) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceResume__SWIG_1(in_playingID, in_uTransitionDuration); }
+
+ public static AKRESULT DynamicSequenceResume(uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceResume__SWIG_2(in_playingID); }
+
+ public static AKRESULT DynamicSequenceStop(uint in_playingID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceStop__SWIG_0(in_playingID, in_uTransitionDuration, (int)in_eFadeCurve); }
+
+ public static AKRESULT DynamicSequenceStop(uint in_playingID, int in_uTransitionDuration) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceStop__SWIG_1(in_playingID, in_uTransitionDuration); }
+
+ public static AKRESULT DynamicSequenceStop(uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceStop__SWIG_2(in_playingID); }
+
+ public static AKRESULT DynamicSequenceBreak(uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceBreak(in_playingID); }
+
+ public static AKRESULT Seek(uint in_playingID, int in_iPosition, bool in_bSeekToNearestMarker) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_Seek__SWIG_0(in_playingID, in_iPosition, in_bSeekToNearestMarker); }
+
+ public static AKRESULT Seek(uint in_playingID, float in_fPercent, bool in_bSeekToNearestMarker) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_Seek__SWIG_1(in_playingID, in_fPercent, in_bSeekToNearestMarker); }
+
+ public static AKRESULT DynamicSequenceGetPauseTimes(uint in_playingID, out uint out_uTime, out uint out_uDuration) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceGetPauseTimes(in_playingID, out out_uTime, out out_uDuration); }
+
+ public static AkPlaylist DynamicSequenceLockPlaylist(uint in_playingID) {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_DynamicSequenceLockPlaylist(in_playingID);
+ AkPlaylist ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkPlaylist(cPtr, false);
+ return ret;
+ }
+
+ public static AKRESULT DynamicSequenceUnlockPlaylist(uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceUnlockPlaylist(in_playingID); }
+
+ public static bool IsInitialized() { return AkSoundEnginePINVOKE.CSharp_IsInitialized(); }
+
+ public static AKRESULT GetAudioSettings(AkAudioSettings out_audioSettings) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetAudioSettings(AkAudioSettings.getCPtr(out_audioSettings)); }
+
+ public static AkChannelConfig GetSpeakerConfiguration(ulong in_idOutput) {
+ AkChannelConfig ret = new AkChannelConfig(AkSoundEnginePINVOKE.CSharp_GetSpeakerConfiguration__SWIG_0(in_idOutput), true);
+ return ret;
+ }
+
+ public static AkChannelConfig GetSpeakerConfiguration() {
+ AkChannelConfig ret = new AkChannelConfig(AkSoundEnginePINVOKE.CSharp_GetSpeakerConfiguration__SWIG_1(), true);
+ return ret;
+ }
+
+ public static AKRESULT GetPanningRule(out int out_ePanningRule, ulong in_idOutput) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPanningRule__SWIG_0(out out_ePanningRule, in_idOutput); }
+
+ public static AKRESULT GetPanningRule(out int out_ePanningRule) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPanningRule__SWIG_1(out out_ePanningRule); }
+
+ public static AKRESULT SetPanningRule(AkPanningRule in_ePanningRule, ulong in_idOutput) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetPanningRule__SWIG_0((int)in_ePanningRule, in_idOutput); }
+
+ public static AKRESULT SetPanningRule(AkPanningRule in_ePanningRule) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetPanningRule__SWIG_1((int)in_ePanningRule); }
+
+ public static AKRESULT GetSpeakerAngles(float[] io_pfSpeakerAngles, ref uint io_uNumAngles, out float out_fHeightAngle, ulong in_idOutput) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSpeakerAngles__SWIG_0(io_pfSpeakerAngles, ref io_uNumAngles, out out_fHeightAngle, in_idOutput); }
+
+ public static AKRESULT GetSpeakerAngles(float[] io_pfSpeakerAngles, ref uint io_uNumAngles, out float out_fHeightAngle) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSpeakerAngles__SWIG_1(io_pfSpeakerAngles, ref io_uNumAngles, out out_fHeightAngle); }
+
+ public static AKRESULT SetSpeakerAngles(float[] in_pfSpeakerAngles, uint in_uNumAngles, float in_fHeightAngle, ulong in_idOutput) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetSpeakerAngles__SWIG_0(in_pfSpeakerAngles, in_uNumAngles, in_fHeightAngle, in_idOutput); }
+
+ public static AKRESULT SetSpeakerAngles(float[] in_pfSpeakerAngles, uint in_uNumAngles, float in_fHeightAngle) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetSpeakerAngles__SWIG_1(in_pfSpeakerAngles, in_uNumAngles, in_fHeightAngle); }
+
+ public static AKRESULT SetVolumeThreshold(float in_fVolumeThresholdDB) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetVolumeThreshold(in_fVolumeThresholdDB); }
+
+ public static AKRESULT SetMaxNumVoicesLimit(ushort in_maxNumberVoices) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMaxNumVoicesLimit(in_maxNumberVoices); }
+
+ public static AKRESULT RenderAudio(bool in_bAllowSyncRender) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RenderAudio__SWIG_0(in_bAllowSyncRender); }
+
+ public static AKRESULT RenderAudio() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RenderAudio__SWIG_1(); }
+
+ public static AKRESULT RegisterPluginDLL(string in_DllName, string in_DllPath) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RegisterPluginDLL__SWIG_0(in_DllName, in_DllPath); }
+
+ public static AKRESULT RegisterPluginDLL(string in_DllName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RegisterPluginDLL__SWIG_1(in_DllName); }
+
+ public static uint GetIDFromString(string in_pszString) { return AkSoundEnginePINVOKE.CSharp_GetIDFromString__SWIG_0(in_pszString); }
+
+ public static uint PostEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_0(in_eventID, in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer(), in_PlayingID);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_1(in_eventID, in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer());
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_2(in_eventID, in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_3(in_eventID, in_gameObjectID_id);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_4(in_pszEventName, in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer(), in_PlayingID);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_5(in_pszEventName, in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer());
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_6(in_pszEventName, in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_7(in_pszEventName, in_gameObjectID_id);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(uint in_eventID, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_0(in_eventID, (int)in_ActionType, in_gameObjectID_id, in_uTransitionDuration, (int)in_eFadeCurve, in_PlayingID); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(uint in_eventID, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_1(in_eventID, (int)in_ActionType, in_gameObjectID_id, in_uTransitionDuration, (int)in_eFadeCurve); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(uint in_eventID, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID, int in_uTransitionDuration) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_2(in_eventID, (int)in_ActionType, in_gameObjectID_id, in_uTransitionDuration); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(uint in_eventID, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_3(in_eventID, (int)in_ActionType, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(uint in_eventID, AkActionOnEventType in_ActionType) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_4(in_eventID, (int)in_ActionType); }
+
+ public static AKRESULT ExecuteActionOnEvent(string in_pszEventName, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_5(in_pszEventName, (int)in_ActionType, in_gameObjectID_id, in_uTransitionDuration, (int)in_eFadeCurve, in_PlayingID); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(string in_pszEventName, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_6(in_pszEventName, (int)in_ActionType, in_gameObjectID_id, in_uTransitionDuration, (int)in_eFadeCurve); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(string in_pszEventName, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID, int in_uTransitionDuration) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_7(in_pszEventName, (int)in_ActionType, in_gameObjectID_id, in_uTransitionDuration); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(string in_pszEventName, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_8(in_pszEventName, (int)in_ActionType, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(string in_pszEventName, AkActionOnEventType in_ActionType) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_9(in_pszEventName, (int)in_ActionType); }
+
+ public static AKRESULT PostMIDIOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, AkMIDIPostArray in_pPosts, ushort in_uNumPosts) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostMIDIOnEvent(in_eventID, in_gameObjectID_id, in_pPosts.GetBuffer(), in_uNumPosts); }
+ }
+
+ public static AKRESULT StopMIDIOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_StopMIDIOnEvent__SWIG_0(in_eventID, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT StopMIDIOnEvent(uint in_eventID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_StopMIDIOnEvent__SWIG_1(in_eventID); }
+
+ public static AKRESULT StopMIDIOnEvent() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_StopMIDIOnEvent__SWIG_2(); }
+
+ public static AKRESULT PinEventInStreamCache(uint in_eventID, sbyte in_uActivePriority, sbyte in_uInactivePriority) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PinEventInStreamCache__SWIG_0(in_eventID, in_uActivePriority, in_uInactivePriority); }
+
+ public static AKRESULT PinEventInStreamCache(string in_pszEventName, sbyte in_uActivePriority, sbyte in_uInactivePriority) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PinEventInStreamCache__SWIG_1(in_pszEventName, in_uActivePriority, in_uInactivePriority); }
+
+ public static AKRESULT UnpinEventInStreamCache(uint in_eventID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnpinEventInStreamCache__SWIG_0(in_eventID); }
+
+ public static AKRESULT UnpinEventInStreamCache(string in_pszEventName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnpinEventInStreamCache__SWIG_1(in_pszEventName); }
+
+ public static AKRESULT GetBufferStatusForPinnedEvent(uint in_eventID, out float out_fPercentBuffered, out int out_bCachePinnedMemoryFull) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetBufferStatusForPinnedEvent__SWIG_0(in_eventID, out out_fPercentBuffered, out out_bCachePinnedMemoryFull); }
+
+ public static AKRESULT GetBufferStatusForPinnedEvent(string in_pszEventName, out float out_fPercentBuffered, out int out_bCachePinnedMemoryFull) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetBufferStatusForPinnedEvent__SWIG_1(in_pszEventName, out out_fPercentBuffered, out out_bCachePinnedMemoryFull); }
+
+ public static AKRESULT SeekOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, int in_iPosition, bool in_bSeekToNearestMarker, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_0(in_eventID, in_gameObjectID_id, in_iPosition, in_bSeekToNearestMarker, in_PlayingID); }
+ }
+
+ public static AKRESULT SeekOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, int in_iPosition, bool in_bSeekToNearestMarker) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_1(in_eventID, in_gameObjectID_id, in_iPosition, in_bSeekToNearestMarker); }
+ }
+
+ public static AKRESULT SeekOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, int in_iPosition) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_2(in_eventID, in_gameObjectID_id, in_iPosition); }
+ }
+
+ public static AKRESULT SeekOnEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, int in_iPosition, bool in_bSeekToNearestMarker, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_3(in_pszEventName, in_gameObjectID_id, in_iPosition, in_bSeekToNearestMarker, in_PlayingID); }
+ }
+
+ public static AKRESULT SeekOnEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, int in_iPosition, bool in_bSeekToNearestMarker) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_4(in_pszEventName, in_gameObjectID_id, in_iPosition, in_bSeekToNearestMarker); }
+ }
+
+ public static AKRESULT SeekOnEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, int in_iPosition) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_5(in_pszEventName, in_gameObjectID_id, in_iPosition); }
+ }
+
+ public static AKRESULT SeekOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, float in_fPercent, bool in_bSeekToNearestMarker, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_9(in_eventID, in_gameObjectID_id, in_fPercent, in_bSeekToNearestMarker, in_PlayingID); }
+ }
+
+ public static AKRESULT SeekOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, float in_fPercent, bool in_bSeekToNearestMarker) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_10(in_eventID, in_gameObjectID_id, in_fPercent, in_bSeekToNearestMarker); }
+ }
+
+ public static AKRESULT SeekOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, float in_fPercent) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_11(in_eventID, in_gameObjectID_id, in_fPercent); }
+ }
+
+ public static AKRESULT SeekOnEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, float in_fPercent, bool in_bSeekToNearestMarker, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_12(in_pszEventName, in_gameObjectID_id, in_fPercent, in_bSeekToNearestMarker, in_PlayingID); }
+ }
+
+ public static AKRESULT SeekOnEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, float in_fPercent, bool in_bSeekToNearestMarker) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_13(in_pszEventName, in_gameObjectID_id, in_fPercent, in_bSeekToNearestMarker); }
+ }
+
+ public static AKRESULT SeekOnEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, float in_fPercent) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_14(in_pszEventName, in_gameObjectID_id, in_fPercent); }
+ }
+
+ public static void CancelEventCallbackCookie(object in_pCookie) {
+ AkCallbackManager.RemoveEventCallbackCookie(in_pCookie);
+ }
+
+ public static void CancelEventCallbackGameObject(UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { AkSoundEnginePINVOKE.CSharp_CancelEventCallbackGameObject(in_gameObjectID_id); }
+ }
+
+ public static void CancelEventCallback(uint in_playingID) {
+ AkCallbackManager.RemoveEventCallback(in_playingID);
+ }
+
+ public static AKRESULT GetSourcePlayPosition(uint in_PlayingID, out int out_puPosition, bool in_bExtrapolate) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSourcePlayPosition__SWIG_0(in_PlayingID, out out_puPosition, in_bExtrapolate); }
+
+ public static AKRESULT GetSourcePlayPosition(uint in_PlayingID, out int out_puPosition) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSourcePlayPosition__SWIG_1(in_PlayingID, out out_puPosition); }
+
+ public static AKRESULT GetSourceStreamBuffering(uint in_PlayingID, out int out_buffering, out int out_bIsBuffering) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSourceStreamBuffering(in_PlayingID, out out_buffering, out out_bIsBuffering); }
+
+ public static void StopAll(UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { AkSoundEnginePINVOKE.CSharp_StopAll__SWIG_0(in_gameObjectID_id); }
+ }
+
+ public static void StopAll() { AkSoundEnginePINVOKE.CSharp_StopAll__SWIG_1(); }
+
+ public static void StopPlayingID(uint in_playingID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) { AkSoundEnginePINVOKE.CSharp_StopPlayingID__SWIG_0(in_playingID, in_uTransitionDuration, (int)in_eFadeCurve); }
+
+ public static void StopPlayingID(uint in_playingID, int in_uTransitionDuration) { AkSoundEnginePINVOKE.CSharp_StopPlayingID__SWIG_1(in_playingID, in_uTransitionDuration); }
+
+ public static void StopPlayingID(uint in_playingID) { AkSoundEnginePINVOKE.CSharp_StopPlayingID__SWIG_2(in_playingID); }
+
+ public static void ExecuteActionOnPlayingID(AkActionOnEventType in_ActionType, uint in_playingID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) { AkSoundEnginePINVOKE.CSharp_ExecuteActionOnPlayingID__SWIG_0((int)in_ActionType, in_playingID, in_uTransitionDuration, (int)in_eFadeCurve); }
+
+ public static void ExecuteActionOnPlayingID(AkActionOnEventType in_ActionType, uint in_playingID, int in_uTransitionDuration) { AkSoundEnginePINVOKE.CSharp_ExecuteActionOnPlayingID__SWIG_1((int)in_ActionType, in_playingID, in_uTransitionDuration); }
+
+ public static void ExecuteActionOnPlayingID(AkActionOnEventType in_ActionType, uint in_playingID) { AkSoundEnginePINVOKE.CSharp_ExecuteActionOnPlayingID__SWIG_2((int)in_ActionType, in_playingID); }
+
+ public static void SetRandomSeed(uint in_uSeed) { AkSoundEnginePINVOKE.CSharp_SetRandomSeed(in_uSeed); }
+
+ public static void MuteBackgroundMusic(bool in_bMute) { AkSoundEnginePINVOKE.CSharp_MuteBackgroundMusic(in_bMute); }
+
+ public static bool GetBackgroundMusicMute() { return AkSoundEnginePINVOKE.CSharp_GetBackgroundMusicMute(); }
+
+ public static AKRESULT SendPluginCustomGameData(uint in_busID, UnityEngine.GameObject in_busObjectID, AkPluginType in_eType, uint in_uCompanyID, uint in_uPluginID, global::System.IntPtr in_pData, uint in_uSizeInBytes) {
+
+ var in_busObjectID_id = AkSoundEngine.GetAkGameObjectID(in_busObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_busObjectID, in_busObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SendPluginCustomGameData(in_busID, in_busObjectID_id, (int)in_eType, in_uCompanyID, in_uPluginID, in_pData, in_uSizeInBytes); }
+ }
+
+ public static AKRESULT UnregisterAllGameObj() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnregisterAllGameObj(); }
+
+ public static AKRESULT SetMultiplePositions(UnityEngine.GameObject in_GameObjectID, AkPositionArray in_pPositions, ushort in_NumPositions, AkMultiPositionType in_eMultiPositionType) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMultiplePositions__SWIG_0(AkSoundEngine.GetAkGameObjectID(in_GameObjectID), in_pPositions.m_Buffer, in_NumPositions, (int)in_eMultiPositionType); }
+
+ public static AKRESULT SetMultiplePositions(UnityEngine.GameObject in_GameObjectID, AkPositionArray in_pPositions, ushort in_NumPositions) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMultiplePositions__SWIG_1(AkSoundEngine.GetAkGameObjectID(in_GameObjectID), in_pPositions.m_Buffer, in_NumPositions); }
+
+ public static AKRESULT SetMultiplePositions(UnityEngine.GameObject in_GameObjectID, AkChannelEmitterArray in_pPositions, ushort in_NumPositions, AkMultiPositionType in_eMultiPositionType) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMultiplePositions__SWIG_2(AkSoundEngine.GetAkGameObjectID(in_GameObjectID), in_pPositions.m_Buffer, in_NumPositions, (int)in_eMultiPositionType); }
+
+ public static AKRESULT SetMultiplePositions(UnityEngine.GameObject in_GameObjectID, AkChannelEmitterArray in_pPositions, ushort in_NumPositions) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMultiplePositions__SWIG_3(AkSoundEngine.GetAkGameObjectID(in_GameObjectID), in_pPositions.m_Buffer, in_NumPositions); }
+
+ public static AKRESULT SetScalingFactor(UnityEngine.GameObject in_GameObjectID, float in_fAttenuationScalingFactor) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetScalingFactor(AkSoundEngine.GetAkGameObjectID(in_GameObjectID), in_fAttenuationScalingFactor); }
+
+ public static AKRESULT ClearBanks() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ClearBanks(); }
+
+ public static AKRESULT SetBankLoadIOSettings(float in_fThroughput, sbyte in_priority) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBankLoadIOSettings(in_fThroughput, in_priority); }
+
+ public static AKRESULT LoadBank(string in_pszString, out uint out_bankID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBank__SWIG_0(in_pszString, out out_bankID); }
+
+ public static AKRESULT LoadBank(uint in_bankID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBank__SWIG_2(in_bankID); }
+
+ public static AKRESULT LoadBankMemoryView(global::System.IntPtr in_pInMemoryBankPtr, uint in_uInMemoryBankSize, out uint out_bankID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBankMemoryView__SWIG_0(in_pInMemoryBankPtr, in_uInMemoryBankSize, out out_bankID); }
+
+ public static AKRESULT LoadBankMemoryCopy(global::System.IntPtr in_pInMemoryBankPtr, uint in_uInMemoryBankSize, out uint out_bankID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBankMemoryCopy__SWIG_0(in_pInMemoryBankPtr, in_uInMemoryBankSize, out out_bankID); }
+
+ public static AKRESULT LoadBank(string in_pszString, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie, out uint out_bankID) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBank__SWIG_3(in_pszString, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, out out_bankID); }
+ }
+
+ public static AKRESULT LoadBank(uint in_bankID, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBank__SWIG_5(in_bankID, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); }
+ }
+
+ public static AKRESULT LoadBankMemoryView(global::System.IntPtr in_pInMemoryBankPtr, uint in_uInMemoryBankSize, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie, out uint out_bankID) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBankMemoryView__SWIG_1(in_pInMemoryBankPtr, in_uInMemoryBankSize, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, out out_bankID); }
+ }
+
+ public static AKRESULT LoadBankMemoryCopy(global::System.IntPtr in_pInMemoryBankPtr, uint in_uInMemoryBankSize, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie, out uint out_bankID) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBankMemoryCopy__SWIG_1(in_pInMemoryBankPtr, in_uInMemoryBankSize, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, out out_bankID); }
+ }
+
+ public static AKRESULT UnloadBank(string in_pszString, global::System.IntPtr in_pInMemoryBankPtr) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnloadBank__SWIG_0(in_pszString, in_pInMemoryBankPtr); }
+
+ public static AKRESULT UnloadBank(uint in_bankID, global::System.IntPtr in_pInMemoryBankPtr) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnloadBank__SWIG_2(in_bankID, in_pInMemoryBankPtr); }
+
+ public static AKRESULT UnloadBank(string in_pszString, global::System.IntPtr in_pInMemoryBankPtr, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnloadBank__SWIG_3(in_pszString, in_pInMemoryBankPtr, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); }
+ }
+
+ public static AKRESULT UnloadBank(uint in_bankID, global::System.IntPtr in_pInMemoryBankPtr, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnloadBank__SWIG_5(in_bankID, in_pInMemoryBankPtr, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); }
+ }
+
+ public static void CancelBankCallbackCookie(object in_pCookie) {
+ AkCallbackManager.RemoveBankCallback(in_pCookie);
+ }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, string in_pszString, AkBankContent in_uFlags) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_0((int)in_PreparationType, in_pszString, (int)in_uFlags); }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, string in_pszString) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_1((int)in_PreparationType, in_pszString); }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, uint in_bankID, AkBankContent in_uFlags) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_4((int)in_PreparationType, in_bankID, (int)in_uFlags); }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, uint in_bankID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_5((int)in_PreparationType, in_bankID); }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, string in_pszString, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie, AkBankContent in_uFlags) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_6((int)in_PreparationType, in_pszString, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, (int)in_uFlags); }
+ }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, string in_pszString, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_7((int)in_PreparationType, in_pszString, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); }
+ }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, uint in_bankID, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie, AkBankContent in_uFlags) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_10((int)in_PreparationType, in_bankID, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, (int)in_uFlags); }
+ }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, uint in_bankID, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_11((int)in_PreparationType, in_bankID, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); }
+ }
+
+ public static AKRESULT ClearPreparedEvents() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ClearPreparedEvents(); }
+
+ public static AKRESULT PrepareEvent(AkPreparationType in_PreparationType, string [] in_ppszString, uint in_uNumEvent) {
+
+ //Find the required size
+ int size = 0;
+ foreach(string s in in_ppszString)
+ size += s.Length + 1;
+
+ int sizeofChar = 2; //Unicode
+ global::System.IntPtr pMem = global::System.Runtime.InteropServices.Marshal.AllocHGlobal(size * sizeofChar + 2);
+
+ //Write the length of array
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pMem, (short)in_ppszString.Length);
+ global::System.IntPtr pCurrent = (global::System.IntPtr)(pMem.ToInt64() + sizeofChar);
+
+ //Copy the strings one after the other.
+ foreach(string s in in_ppszString)
+ {
+ global::System.Runtime.InteropServices.Marshal.Copy(s.ToCharArray(), 0, pCurrent, s.Length);
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar * s.Length);
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pCurrent, 0); //Null-terminated string
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar);
+ }
+
+ try { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareEvent__SWIG_0((int)in_PreparationType, pMem, in_uNumEvent); } finally {
+ global::System.Runtime.InteropServices.Marshal.FreeHGlobal(pMem);
+ }
+ }
+
+ public static AKRESULT PrepareEvent(AkPreparationType in_PreparationType, uint[] in_pEventID, uint in_uNumEvent) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareEvent__SWIG_1((int)in_PreparationType, in_pEventID, in_uNumEvent); }
+
+ public static AKRESULT PrepareEvent(AkPreparationType in_PreparationType, string [] in_ppszString, uint in_uNumEvent, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+
+ //Find the required size
+ int size = 0;
+ foreach(string s in in_ppszString)
+ size += s.Length + 1;
+
+ int sizeofChar = 2; //Unicode
+ global::System.IntPtr pMem = global::System.Runtime.InteropServices.Marshal.AllocHGlobal(size * sizeofChar + 2);
+
+ //Write the length of array
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pMem, (short)in_ppszString.Length);
+ global::System.IntPtr pCurrent = (global::System.IntPtr)(pMem.ToInt64() + sizeofChar);
+
+ //Copy the strings one after the other.
+ foreach(string s in in_ppszString)
+ {
+ global::System.Runtime.InteropServices.Marshal.Copy(s.ToCharArray(), 0, pCurrent, s.Length);
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar * s.Length);
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pCurrent, 0); //Null-terminated string
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar);
+ }
+
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ try { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareEvent__SWIG_2((int)in_PreparationType, pMem, in_uNumEvent, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); } finally {
+ global::System.Runtime.InteropServices.Marshal.FreeHGlobal(pMem);
+ }
+ }
+
+ public static AKRESULT PrepareEvent(AkPreparationType in_PreparationType, uint[] in_pEventID, uint in_uNumEvent, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareEvent__SWIG_3((int)in_PreparationType, in_pEventID, in_uNumEvent, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); }
+ }
+
+ public static AKRESULT SetMedia(AkSourceSettingsArray in_pSourceSettings, uint in_uNumSourceSettings) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMedia(in_pSourceSettings.GetBuffer(), in_uNumSourceSettings); }
+
+ public static AKRESULT UnsetMedia(AkSourceSettingsArray in_pSourceSettings, uint in_uNumSourceSettings) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnsetMedia(in_pSourceSettings.GetBuffer(), in_uNumSourceSettings); }
+
+ public static AKRESULT PrepareGameSyncs(AkPreparationType in_PreparationType, AkGroupType in_eGameSyncType, string in_pszGroupName, string [] in_ppszGameSyncName, uint in_uNumGameSyncs) {
+
+ //Find the required size
+ int size = 0;
+ foreach(string s in in_ppszGameSyncName)
+ size += s.Length + 1;
+
+ int sizeofChar = 2; //Unicode
+ global::System.IntPtr pMem = global::System.Runtime.InteropServices.Marshal.AllocHGlobal(size * sizeofChar + 2);
+
+ //Write the length of array
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pMem, (short)in_ppszGameSyncName.Length);
+ global::System.IntPtr pCurrent = (global::System.IntPtr)(pMem.ToInt64() + sizeofChar);
+
+ //Copy the strings one after the other.
+ foreach(string s in in_ppszGameSyncName)
+ {
+ global::System.Runtime.InteropServices.Marshal.Copy(s.ToCharArray(), 0, pCurrent, s.Length);
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar * s.Length);
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pCurrent, 0); //Null-terminated string
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar);
+ }
+
+ try { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareGameSyncs__SWIG_0((int)in_PreparationType, (int)in_eGameSyncType, in_pszGroupName, pMem, in_uNumGameSyncs); } finally {
+ global::System.Runtime.InteropServices.Marshal.FreeHGlobal(pMem);
+ }
+ }
+
+ public static AKRESULT PrepareGameSyncs(AkPreparationType in_PreparationType, AkGroupType in_eGameSyncType, uint in_GroupID, uint[] in_paGameSyncID, uint in_uNumGameSyncs) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareGameSyncs__SWIG_1((int)in_PreparationType, (int)in_eGameSyncType, in_GroupID, in_paGameSyncID, in_uNumGameSyncs); }
+
+ public static AKRESULT PrepareGameSyncs(AkPreparationType in_PreparationType, AkGroupType in_eGameSyncType, string in_pszGroupName, string [] in_ppszGameSyncName, uint in_uNumGameSyncs, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+
+ //Find the required size
+ int size = 0;
+ foreach(string s in in_ppszGameSyncName)
+ size += s.Length + 1;
+
+ int sizeofChar = 2; //Unicode
+ global::System.IntPtr pMem = global::System.Runtime.InteropServices.Marshal.AllocHGlobal(size * sizeofChar + 2);
+
+ //Write the length of array
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pMem, (short)in_ppszGameSyncName.Length);
+ global::System.IntPtr pCurrent = (global::System.IntPtr)(pMem.ToInt64() + sizeofChar);
+
+ //Copy the strings one after the other.
+ foreach(string s in in_ppszGameSyncName)
+ {
+ global::System.Runtime.InteropServices.Marshal.Copy(s.ToCharArray(), 0, pCurrent, s.Length);
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar * s.Length);
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pCurrent, 0); //Null-terminated string
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar);
+ }
+
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ try { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareGameSyncs__SWIG_2((int)in_PreparationType, (int)in_eGameSyncType, in_pszGroupName, pMem, in_uNumGameSyncs, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); } finally {
+ global::System.Runtime.InteropServices.Marshal.FreeHGlobal(pMem);
+ }
+ }
+
+ public static AKRESULT PrepareGameSyncs(AkPreparationType in_PreparationType, AkGroupType in_eGameSyncType, uint in_GroupID, uint[] in_paGameSyncID, uint in_uNumGameSyncs, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareGameSyncs__SWIG_3((int)in_PreparationType, (int)in_eGameSyncType, in_GroupID, in_paGameSyncID, in_uNumGameSyncs, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); }
+ }
+
+ public static AKRESULT AddListener(UnityEngine.GameObject in_emitterGameObj, UnityEngine.GameObject in_listenerGameObj) {
+
+ var in_emitterGameObj_id = AkSoundEngine.GetAkGameObjectID(in_emitterGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_emitterGameObj, in_emitterGameObj_id);
+
+
+ var in_listenerGameObj_id = AkSoundEngine.GetAkGameObjectID(in_listenerGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_listenerGameObj, in_listenerGameObj_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddListener(in_emitterGameObj_id, in_listenerGameObj_id); }
+ }
+
+ public static AKRESULT RemoveListener(UnityEngine.GameObject in_emitterGameObj, UnityEngine.GameObject in_listenerGameObj) {
+
+ var in_emitterGameObj_id = AkSoundEngine.GetAkGameObjectID(in_emitterGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_emitterGameObj, in_emitterGameObj_id);
+
+
+ var in_listenerGameObj_id = AkSoundEngine.GetAkGameObjectID(in_listenerGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_listenerGameObj, in_listenerGameObj_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RemoveListener(in_emitterGameObj_id, in_listenerGameObj_id); }
+ }
+
+ public static AKRESULT AddDefaultListener(UnityEngine.GameObject in_listenerGameObj) {
+
+ var in_listenerGameObj_id = AkSoundEngine.GetAkGameObjectID(in_listenerGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_listenerGameObj, in_listenerGameObj_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddDefaultListener(in_listenerGameObj_id); }
+ }
+
+ public static AKRESULT RemoveDefaultListener(UnityEngine.GameObject in_listenerGameObj) {
+
+ var in_listenerGameObj_id = AkSoundEngine.GetAkGameObjectID(in_listenerGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_listenerGameObj, in_listenerGameObj_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RemoveDefaultListener(in_listenerGameObj_id); }
+ }
+
+ public static AKRESULT ResetListenersToDefault(UnityEngine.GameObject in_emitterGameObj) {
+
+ var in_emitterGameObj_id = AkSoundEngine.GetAkGameObjectID(in_emitterGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_emitterGameObj, in_emitterGameObj_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetListenersToDefault(in_emitterGameObj_id); }
+ }
+
+ public static AKRESULT SetListenerSpatialization(UnityEngine.GameObject in_uListenerID, bool in_bSpatialized, AkChannelConfig in_channelConfig, float[] in_pVolumeOffsets) {
+
+ var in_uListenerID_id = AkSoundEngine.GetAkGameObjectID(in_uListenerID);
+ AkSoundEngine.PreGameObjectAPICall(in_uListenerID, in_uListenerID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetListenerSpatialization__SWIG_0(in_uListenerID_id, in_bSpatialized, AkChannelConfig.getCPtr(in_channelConfig), in_pVolumeOffsets); }
+ }
+
+ public static AKRESULT SetListenerSpatialization(UnityEngine.GameObject in_uListenerID, bool in_bSpatialized, AkChannelConfig in_channelConfig) {
+
+ var in_uListenerID_id = AkSoundEngine.GetAkGameObjectID(in_uListenerID);
+ AkSoundEngine.PreGameObjectAPICall(in_uListenerID, in_uListenerID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetListenerSpatialization__SWIG_1(in_uListenerID_id, in_bSpatialized, AkChannelConfig.getCPtr(in_channelConfig)); }
+ }
+
+ public static AKRESULT SetRTPCValue(uint in_rtpcID, float in_value, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve, bool in_bBypassInternalValueInterpolation) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_0(in_rtpcID, in_value, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve, in_bBypassInternalValueInterpolation); }
+ }
+
+ public static AKRESULT SetRTPCValue(uint in_rtpcID, float in_value, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_1(in_rtpcID, in_value, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve); }
+ }
+
+ public static AKRESULT SetRTPCValue(uint in_rtpcID, float in_value, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_2(in_rtpcID, in_value, in_gameObjectID_id, in_uValueChangeDuration); }
+ }
+
+ public static AKRESULT SetRTPCValue(uint in_rtpcID, float in_value, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_3(in_rtpcID, in_value, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT SetRTPCValue(uint in_rtpcID, float in_value) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_4(in_rtpcID, in_value); }
+
+ public static AKRESULT SetRTPCValue(string in_pszRtpcName, float in_value, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve, bool in_bBypassInternalValueInterpolation) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_5(in_pszRtpcName, in_value, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve, in_bBypassInternalValueInterpolation); }
+ }
+
+ public static AKRESULT SetRTPCValue(string in_pszRtpcName, float in_value, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_6(in_pszRtpcName, in_value, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve); }
+ }
+
+ public static AKRESULT SetRTPCValue(string in_pszRtpcName, float in_value, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_7(in_pszRtpcName, in_value, in_gameObjectID_id, in_uValueChangeDuration); }
+ }
+
+ public static AKRESULT SetRTPCValue(string in_pszRtpcName, float in_value, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_8(in_pszRtpcName, in_value, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT SetRTPCValue(string in_pszRtpcName, float in_value) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_9(in_pszRtpcName, in_value); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(uint in_rtpcID, float in_value, uint in_playingID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve, bool in_bBypassInternalValueInterpolation) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_0(in_rtpcID, in_value, in_playingID, in_uValueChangeDuration, (int)in_eFadeCurve, in_bBypassInternalValueInterpolation); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(uint in_rtpcID, float in_value, uint in_playingID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_1(in_rtpcID, in_value, in_playingID, in_uValueChangeDuration, (int)in_eFadeCurve); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(uint in_rtpcID, float in_value, uint in_playingID, int in_uValueChangeDuration) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_2(in_rtpcID, in_value, in_playingID, in_uValueChangeDuration); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(uint in_rtpcID, float in_value, uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_3(in_rtpcID, in_value, in_playingID); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(string in_pszRtpcName, float in_value, uint in_playingID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve, bool in_bBypassInternalValueInterpolation) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_4(in_pszRtpcName, in_value, in_playingID, in_uValueChangeDuration, (int)in_eFadeCurve, in_bBypassInternalValueInterpolation); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(string in_pszRtpcName, float in_value, uint in_playingID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_5(in_pszRtpcName, in_value, in_playingID, in_uValueChangeDuration, (int)in_eFadeCurve); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(string in_pszRtpcName, float in_value, uint in_playingID, int in_uValueChangeDuration) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_6(in_pszRtpcName, in_value, in_playingID, in_uValueChangeDuration); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(string in_pszRtpcName, float in_value, uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_7(in_pszRtpcName, in_value, in_playingID); }
+
+ public static AKRESULT ResetRTPCValue(uint in_rtpcID, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve, bool in_bBypassInternalValueInterpolation) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_0(in_rtpcID, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve, in_bBypassInternalValueInterpolation); }
+ }
+
+ public static AKRESULT ResetRTPCValue(uint in_rtpcID, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_1(in_rtpcID, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve); }
+ }
+
+ public static AKRESULT ResetRTPCValue(uint in_rtpcID, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_2(in_rtpcID, in_gameObjectID_id, in_uValueChangeDuration); }
+ }
+
+ public static AKRESULT ResetRTPCValue(uint in_rtpcID, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_3(in_rtpcID, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT ResetRTPCValue(uint in_rtpcID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_4(in_rtpcID); }
+
+ public static AKRESULT ResetRTPCValue(string in_pszRtpcName, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve, bool in_bBypassInternalValueInterpolation) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_5(in_pszRtpcName, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve, in_bBypassInternalValueInterpolation); }
+ }
+
+ public static AKRESULT ResetRTPCValue(string in_pszRtpcName, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_6(in_pszRtpcName, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve); }
+ }
+
+ public static AKRESULT ResetRTPCValue(string in_pszRtpcName, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_7(in_pszRtpcName, in_gameObjectID_id, in_uValueChangeDuration); }
+ }
+
+ public static AKRESULT ResetRTPCValue(string in_pszRtpcName, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_8(in_pszRtpcName, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT ResetRTPCValue(string in_pszRtpcName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_9(in_pszRtpcName); }
+
+ public static AKRESULT SetSwitch(uint in_switchGroup, uint in_switchState, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetSwitch__SWIG_0(in_switchGroup, in_switchState, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT SetSwitch(string in_pszSwitchGroup, string in_pszSwitchState, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetSwitch__SWIG_1(in_pszSwitchGroup, in_pszSwitchState, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT PostTrigger(uint in_triggerID, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostTrigger__SWIG_0(in_triggerID, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT PostTrigger(string in_pszTrigger, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostTrigger__SWIG_1(in_pszTrigger, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT SetState(uint in_stateGroup, uint in_state) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetState__SWIG_0(in_stateGroup, in_state); }
+
+ public static AKRESULT SetState(string in_pszStateGroup, string in_pszState) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetState__SWIG_1(in_pszStateGroup, in_pszState); }
+
+ public static AKRESULT SetGameObjectAuxSendValues(UnityEngine.GameObject in_gameObjectID, AkAuxSendArray in_aAuxSendValues, uint in_uNumSendValues) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetGameObjectAuxSendValues(in_gameObjectID_id, in_aAuxSendValues.GetBuffer(), in_uNumSendValues); }
+ }
+
+ public static AKRESULT SetGameObjectOutputBusVolume(UnityEngine.GameObject in_emitterObjID, UnityEngine.GameObject in_listenerObjID, float in_fControlValue) {
+
+ var in_emitterObjID_id = AkSoundEngine.GetAkGameObjectID(in_emitterObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_emitterObjID, in_emitterObjID_id);
+
+
+ var in_listenerObjID_id = AkSoundEngine.GetAkGameObjectID(in_listenerObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_listenerObjID, in_listenerObjID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetGameObjectOutputBusVolume(in_emitterObjID_id, in_listenerObjID_id, in_fControlValue); }
+ }
+
+ public static AKRESULT SetActorMixerEffect(uint in_audioNodeID, uint in_uFXIndex, uint in_shareSetID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetActorMixerEffect(in_audioNodeID, in_uFXIndex, in_shareSetID); }
+
+ public static AKRESULT SetBusEffect(uint in_audioNodeID, uint in_uFXIndex, uint in_shareSetID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBusEffect__SWIG_0(in_audioNodeID, in_uFXIndex, in_shareSetID); }
+
+ public static AKRESULT SetBusEffect(string in_pszBusName, uint in_uFXIndex, uint in_shareSetID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBusEffect__SWIG_1(in_pszBusName, in_uFXIndex, in_shareSetID); }
+
+ public static AKRESULT SetMixer(uint in_audioNodeID, uint in_shareSetID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMixer__SWIG_0(in_audioNodeID, in_shareSetID); }
+
+ public static AKRESULT SetMixer(string in_pszBusName, uint in_shareSetID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMixer__SWIG_1(in_pszBusName, in_shareSetID); }
+
+ public static AKRESULT SetBusConfig(uint in_audioNodeID, AkChannelConfig in_channelConfig) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBusConfig__SWIG_0(in_audioNodeID, AkChannelConfig.getCPtr(in_channelConfig)); }
+
+ public static AKRESULT SetBusConfig(string in_pszBusName, AkChannelConfig in_channelConfig) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBusConfig__SWIG_1(in_pszBusName, AkChannelConfig.getCPtr(in_channelConfig)); }
+
+ public static AKRESULT SetObjectObstructionAndOcclusion(UnityEngine.GameObject in_EmitterID, UnityEngine.GameObject in_ListenerID, float in_fObstructionLevel, float in_fOcclusionLevel) {
+
+ var in_EmitterID_id = AkSoundEngine.GetAkGameObjectID(in_EmitterID);
+ AkSoundEngine.PreGameObjectAPICall(in_EmitterID, in_EmitterID_id);
+
+
+ var in_ListenerID_id = AkSoundEngine.GetAkGameObjectID(in_ListenerID);
+ AkSoundEngine.PreGameObjectAPICall(in_ListenerID, in_ListenerID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetObjectObstructionAndOcclusion(in_EmitterID_id, in_ListenerID_id, in_fObstructionLevel, in_fOcclusionLevel); }
+ }
+
+ public static AKRESULT SetMultipleObstructionAndOcclusion(UnityEngine.GameObject in_EmitterID, UnityEngine.GameObject in_uListenerID, AkObstructionOcclusionValuesArray in_fObstructionOcclusionValues, uint in_uNumOcclusionObstruction) {
+
+ var in_EmitterID_id = AkSoundEngine.GetAkGameObjectID(in_EmitterID);
+ AkSoundEngine.PreGameObjectAPICall(in_EmitterID, in_EmitterID_id);
+
+
+ var in_uListenerID_id = AkSoundEngine.GetAkGameObjectID(in_uListenerID);
+ AkSoundEngine.PreGameObjectAPICall(in_uListenerID, in_uListenerID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMultipleObstructionAndOcclusion(in_EmitterID_id, in_uListenerID_id, in_fObstructionOcclusionValues.GetBuffer(), in_uNumOcclusionObstruction); }
+ }
+
+ public static AKRESULT StartOutputCapture(string in_CaptureFileName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_StartOutputCapture(in_CaptureFileName); }
+
+ public static AKRESULT StopOutputCapture() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_StopOutputCapture(); }
+
+ public static AKRESULT AddOutputCaptureMarker(string in_MarkerText) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddOutputCaptureMarker(in_MarkerText); }
+
+ public static AKRESULT StartProfilerCapture(string in_CaptureFileName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_StartProfilerCapture(in_CaptureFileName); }
+
+ public static AKRESULT StopProfilerCapture() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_StopProfilerCapture(); }
+
+ public static AKRESULT RemoveOutput(ulong in_idOutput) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RemoveOutput(in_idOutput); }
+
+ public static AKRESULT ReplaceOutput(AkOutputSettings in_Settings, ulong in_outputDeviceId, out ulong out_pOutputDeviceId) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ReplaceOutput__SWIG_0(AkOutputSettings.getCPtr(in_Settings), in_outputDeviceId, out out_pOutputDeviceId); }
+
+ public static AKRESULT ReplaceOutput(AkOutputSettings in_Settings, ulong in_outputDeviceId) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ReplaceOutput__SWIG_1(AkOutputSettings.getCPtr(in_Settings), in_outputDeviceId); }
+
+ public static ulong GetOutputID(uint in_idShareset, uint in_idDevice) { return AkSoundEnginePINVOKE.CSharp_GetOutputID__SWIG_0(in_idShareset, in_idDevice); }
+
+ public static ulong GetOutputID(string in_szShareSet, uint in_idDevice) { return AkSoundEnginePINVOKE.CSharp_GetOutputID__SWIG_1(in_szShareSet, in_idDevice); }
+
+ public static AKRESULT SetBusDevice(uint in_idBus, uint in_idNewDevice) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBusDevice__SWIG_0(in_idBus, in_idNewDevice); }
+
+ public static AKRESULT SetBusDevice(string in_BusName, string in_DeviceName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBusDevice__SWIG_1(in_BusName, in_DeviceName); }
+
+ public static AKRESULT GetDeviceList(uint in_ulCompanyID, uint in_ulPluginID, out uint io_maxNumDevices, AkDeviceDescriptionArray out_deviceDescriptions) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetDeviceList__SWIG_0(in_ulCompanyID, in_ulPluginID, out io_maxNumDevices, out_deviceDescriptions.GetBuffer()); }
+
+ public static AKRESULT GetDeviceList(uint in_audioDeviceShareSetID, out uint io_maxNumDevices, AkDeviceDescriptionArray out_deviceDescriptions) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetDeviceList__SWIG_1(in_audioDeviceShareSetID, out io_maxNumDevices, out_deviceDescriptions.GetBuffer()); }
+
+ public static AKRESULT SetOutputVolume(ulong in_idOutput, float in_fVolume) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetOutputVolume(in_idOutput, in_fVolume); }
+
+ public static AKRESULT GetDeviceSpatialAudioSupport(uint in_idDevice) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetDeviceSpatialAudioSupport(in_idDevice); }
+
+ public static AKRESULT Suspend(bool in_bRenderAnyway) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_Suspend__SWIG_0(in_bRenderAnyway); }
+
+ public static AKRESULT Suspend() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_Suspend__SWIG_1(); }
+
+ public static AKRESULT WakeupFromSuspend() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_WakeupFromSuspend(); }
+
+ public static uint GetBufferTick() { return AkSoundEnginePINVOKE.CSharp_GetBufferTick(); }
+
+ public static byte AK_INVALID_MIDI_CHANNEL { get { return AkSoundEnginePINVOKE.CSharp_AK_INVALID_MIDI_CHANNEL_get(); }
+ }
+
+ public static byte AK_INVALID_MIDI_NOTE { get { return AkSoundEnginePINVOKE.CSharp_AK_INVALID_MIDI_NOTE_get(); }
+ }
+
+ public static AKRESULT GetPlayingSegmentInfo(uint in_PlayingID, AkSegmentInfo out_segmentInfo, bool in_bExtrapolate) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPlayingSegmentInfo__SWIG_0(in_PlayingID, AkSegmentInfo.getCPtr(out_segmentInfo), in_bExtrapolate); }
+
+ public static AKRESULT GetPlayingSegmentInfo(uint in_PlayingID, AkSegmentInfo out_segmentInfo) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPlayingSegmentInfo__SWIG_1(in_PlayingID, AkSegmentInfo.getCPtr(out_segmentInfo)); }
+
+ public static void LocalOutput(AkMonitorErrorCode in_eErrorCode, string in_pszError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID, UnityEngine.GameObject in_gameObjID) {
+
+ var in_gameObjID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjID, in_gameObjID_id);
+
+ { AkSoundEnginePINVOKE.CSharp_LocalOutput((int)in_eErrorCode, in_pszError, (int)in_eErrorLevel, in_playingID, in_gameObjID_id); }
+ }
+
+ public static AKRESULT PostCode(AkMonitorErrorCode in_eError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID, UnityEngine.GameObject in_gameObjID, uint in_audioNodeID, bool in_bIsBus) {
+
+ var in_gameObjID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjID, in_gameObjID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostCode__SWIG_0((int)in_eError, (int)in_eErrorLevel, in_playingID, in_gameObjID_id, in_audioNodeID, in_bIsBus); }
+ }
+
+ public static AKRESULT PostCode(AkMonitorErrorCode in_eError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID, UnityEngine.GameObject in_gameObjID, uint in_audioNodeID) {
+
+ var in_gameObjID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjID, in_gameObjID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostCode__SWIG_1((int)in_eError, (int)in_eErrorLevel, in_playingID, in_gameObjID_id, in_audioNodeID); }
+ }
+
+ public static AKRESULT PostCode(AkMonitorErrorCode in_eError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID, UnityEngine.GameObject in_gameObjID) {
+
+ var in_gameObjID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjID, in_gameObjID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostCode__SWIG_2((int)in_eError, (int)in_eErrorLevel, in_playingID, in_gameObjID_id); }
+ }
+
+ public static AKRESULT PostCode(AkMonitorErrorCode in_eError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostCode__SWIG_3((int)in_eError, (int)in_eErrorLevel, in_playingID); }
+
+ public static AKRESULT PostCode(AkMonitorErrorCode in_eError, AkMonitorErrorLevel in_eErrorLevel) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostCode__SWIG_4((int)in_eError, (int)in_eErrorLevel); }
+
+ public static AKRESULT PostString(string in_pszError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID, UnityEngine.GameObject in_gameObjID, uint in_audioNodeID, bool in_bIsBus) {
+
+ var in_gameObjID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjID, in_gameObjID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostString__SWIG_0(in_pszError, (int)in_eErrorLevel, in_playingID, in_gameObjID_id, in_audioNodeID, in_bIsBus); }
+ }
+
+ public static AKRESULT PostString(string in_pszError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID, UnityEngine.GameObject in_gameObjID, uint in_audioNodeID) {
+
+ var in_gameObjID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjID, in_gameObjID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostString__SWIG_1(in_pszError, (int)in_eErrorLevel, in_playingID, in_gameObjID_id, in_audioNodeID); }
+ }
+
+ public static AKRESULT PostString(string in_pszError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID, UnityEngine.GameObject in_gameObjID) {
+
+ var in_gameObjID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjID, in_gameObjID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostString__SWIG_2(in_pszError, (int)in_eErrorLevel, in_playingID, in_gameObjID_id); }
+ }
+
+ public static AKRESULT PostString(string in_pszError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostString__SWIG_3(in_pszError, (int)in_eErrorLevel, in_playingID); }
+
+ public static AKRESULT PostString(string in_pszError, AkMonitorErrorLevel in_eErrorLevel) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostString__SWIG_4(in_pszError, (int)in_eErrorLevel); }
+
+ public static int GetTimeStamp() { return AkSoundEnginePINVOKE.CSharp_GetTimeStamp(); }
+
+ public static uint GetNumNonZeroBits(uint in_uWord) { return AkSoundEnginePINVOKE.CSharp_GetNumNonZeroBits(in_uWord); }
+
+ public static void AkGetDefaultHighPriorityThreadProperties(AkThreadProperties out_threadProperties) { AkSoundEnginePINVOKE.CSharp_AkGetDefaultHighPriorityThreadProperties(AkThreadProperties.getCPtr(out_threadProperties)); }
+
+ public static uint ResolveDialogueEvent(uint in_eventID, uint[] in_aArgumentValues, uint in_uNumArguments, uint in_idSequence) { return AkSoundEnginePINVOKE.CSharp_ResolveDialogueEvent__SWIG_0(in_eventID, in_aArgumentValues, in_uNumArguments, in_idSequence); }
+
+ public static uint ResolveDialogueEvent(uint in_eventID, uint[] in_aArgumentValues, uint in_uNumArguments) { return AkSoundEnginePINVOKE.CSharp_ResolveDialogueEvent__SWIG_1(in_eventID, in_aArgumentValues, in_uNumArguments); }
+
+ public static AKRESULT GetDialogueEventCustomPropertyValue(uint in_eventID, uint in_uPropID, out int out_iValue) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetDialogueEventCustomPropertyValue__SWIG_0(in_eventID, in_uPropID, out out_iValue); }
+
+ public static AKRESULT GetDialogueEventCustomPropertyValue(uint in_eventID, uint in_uPropID, out float out_fValue) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetDialogueEventCustomPropertyValue__SWIG_1(in_eventID, in_uPropID, out out_fValue); }
+
+ public static AKRESULT GetPosition(UnityEngine.GameObject in_GameObjectID, AkTransform out_rPosition) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPosition(AkSoundEngine.GetAkGameObjectID(in_GameObjectID), AkTransform.getCPtr(out_rPosition)); }
+
+ public static AKRESULT GetListenerPosition(UnityEngine.GameObject in_uIndex, AkTransform out_rPosition) {
+
+ var in_uIndex_id = AkSoundEngine.GetAkGameObjectID(in_uIndex);
+ AkSoundEngine.PreGameObjectAPICall(in_uIndex, in_uIndex_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetListenerPosition(in_uIndex_id, AkTransform.getCPtr(out_rPosition)); }
+ }
+
+ public static AKRESULT GetRTPCValue(uint in_rtpcID, UnityEngine.GameObject in_gameObjectID, uint in_playingID, out float out_rValue, ref int io_rValueType) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetRTPCValue__SWIG_0(in_rtpcID, in_gameObjectID_id, in_playingID, out out_rValue, ref io_rValueType); }
+ }
+
+ public static AKRESULT GetRTPCValue(string in_pszRtpcName, UnityEngine.GameObject in_gameObjectID, uint in_playingID, out float out_rValue, ref int io_rValueType) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetRTPCValue__SWIG_1(in_pszRtpcName, in_gameObjectID_id, in_playingID, out out_rValue, ref io_rValueType); }
+ }
+
+ public static AKRESULT GetSwitch(uint in_switchGroup, UnityEngine.GameObject in_gameObjectID, out uint out_rSwitchState) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSwitch__SWIG_0(in_switchGroup, in_gameObjectID_id, out out_rSwitchState); }
+ }
+
+ public static AKRESULT GetSwitch(string in_pstrSwitchGroupName, UnityEngine.GameObject in_GameObj, out uint out_rSwitchState) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSwitch__SWIG_1(in_pstrSwitchGroupName, AkSoundEngine.GetAkGameObjectID(in_GameObj), out out_rSwitchState); }
+
+ public static AKRESULT GetState(uint in_stateGroup, out uint out_rState) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetState__SWIG_0(in_stateGroup, out out_rState); }
+
+ public static AKRESULT GetState(string in_pstrStateGroupName, out uint out_rState) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetState__SWIG_1(in_pstrStateGroupName, out out_rState); }
+
+ public static AKRESULT GetGameObjectAuxSendValues(UnityEngine.GameObject in_gameObjectID, AkAuxSendArray out_paAuxSendValues, ref uint io_ruNumSendValues) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetGameObjectAuxSendValues(in_gameObjectID_id, out_paAuxSendValues.GetBuffer(), ref io_ruNumSendValues); }
+ }
+
+ public static AKRESULT GetGameObjectDryLevelValue(UnityEngine.GameObject in_EmitterID, UnityEngine.GameObject in_ListenerID, out float out_rfControlValue) {
+
+ var in_EmitterID_id = AkSoundEngine.GetAkGameObjectID(in_EmitterID);
+ AkSoundEngine.PreGameObjectAPICall(in_EmitterID, in_EmitterID_id);
+
+
+ var in_ListenerID_id = AkSoundEngine.GetAkGameObjectID(in_ListenerID);
+ AkSoundEngine.PreGameObjectAPICall(in_ListenerID, in_ListenerID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetGameObjectDryLevelValue(in_EmitterID_id, in_ListenerID_id, out out_rfControlValue); }
+ }
+
+ public static AKRESULT GetObjectObstructionAndOcclusion(UnityEngine.GameObject in_EmitterID, UnityEngine.GameObject in_ListenerID, out float out_rfObstructionLevel, out float out_rfOcclusionLevel) {
+
+ var in_EmitterID_id = AkSoundEngine.GetAkGameObjectID(in_EmitterID);
+ AkSoundEngine.PreGameObjectAPICall(in_EmitterID, in_EmitterID_id);
+
+
+ var in_ListenerID_id = AkSoundEngine.GetAkGameObjectID(in_ListenerID);
+ AkSoundEngine.PreGameObjectAPICall(in_ListenerID, in_ListenerID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetObjectObstructionAndOcclusion(in_EmitterID_id, in_ListenerID_id, out out_rfObstructionLevel, out out_rfOcclusionLevel); }
+ }
+
+ public static AKRESULT QueryAudioObjectIDs(uint in_eventID, ref uint io_ruNumItems, AkObjectInfoArray out_aObjectInfos) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_QueryAudioObjectIDs__SWIG_0(in_eventID, ref io_ruNumItems, out_aObjectInfos.GetBuffer()); }
+
+ public static AKRESULT QueryAudioObjectIDs(string in_pszEventName, ref uint io_ruNumItems, AkObjectInfoArray out_aObjectInfos) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_QueryAudioObjectIDs__SWIG_1(in_pszEventName, ref io_ruNumItems, out_aObjectInfos.GetBuffer()); }
+
+ public static AKRESULT GetPositioningInfo(uint in_ObjectID, AkPositioningInfo out_rPositioningInfo) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPositioningInfo(in_ObjectID, AkPositioningInfo.getCPtr(out_rPositioningInfo)); }
+
+ public static bool GetIsGameObjectActive(UnityEngine.GameObject in_GameObjId) {
+
+ var in_GameObjId_id = AkSoundEngine.GetAkGameObjectID(in_GameObjId);
+ AkSoundEngine.PreGameObjectAPICall(in_GameObjId, in_GameObjId_id);
+
+ { return AkSoundEnginePINVOKE.CSharp_GetIsGameObjectActive(in_GameObjId_id); }
+ }
+
+ public static float GetMaxRadius(UnityEngine.GameObject in_GameObjId) {
+
+ var in_GameObjId_id = AkSoundEngine.GetAkGameObjectID(in_GameObjId);
+ AkSoundEngine.PreGameObjectAPICall(in_GameObjId, in_GameObjId_id);
+
+ { return AkSoundEnginePINVOKE.CSharp_GetMaxRadius(in_GameObjId_id); }
+ }
+
+ public static uint GetEventIDFromPlayingID(uint in_playingID) { return AkSoundEnginePINVOKE.CSharp_GetEventIDFromPlayingID(in_playingID); }
+
+ public static ulong GetGameObjectFromPlayingID(uint in_playingID) { return AkSoundEnginePINVOKE.CSharp_GetGameObjectFromPlayingID(in_playingID); }
+
+ public static AKRESULT GetPlayingIDsFromGameObject(UnityEngine.GameObject in_GameObjId, ref uint io_ruNumIDs, uint[] out_aPlayingIDs) {
+
+ var in_GameObjId_id = AkSoundEngine.GetAkGameObjectID(in_GameObjId);
+ AkSoundEngine.PreGameObjectAPICall(in_GameObjId, in_GameObjId_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPlayingIDsFromGameObject(in_GameObjId_id, ref io_ruNumIDs, out_aPlayingIDs); }
+ }
+
+ public static AKRESULT GetCustomPropertyValue(uint in_ObjectID, uint in_uPropID, out int out_iValue) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetCustomPropertyValue__SWIG_0(in_ObjectID, in_uPropID, out out_iValue); }
+
+ public static AKRESULT GetCustomPropertyValue(uint in_ObjectID, uint in_uPropID, out float out_fValue) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetCustomPropertyValue__SWIG_1(in_ObjectID, in_uPropID, out out_fValue); }
+
+ public static void AK_SPEAKER_SETUP_FIX_LEFT_TO_CENTER(ref uint io_uChannelMask) { AkSoundEnginePINVOKE.CSharp_AK_SPEAKER_SETUP_FIX_LEFT_TO_CENTER(ref io_uChannelMask); }
+
+ public static void AK_SPEAKER_SETUP_FIX_REAR_TO_SIDE(ref uint io_uChannelMask) { AkSoundEnginePINVOKE.CSharp_AK_SPEAKER_SETUP_FIX_REAR_TO_SIDE(ref io_uChannelMask); }
+
+ public static void AK_SPEAKER_SETUP_CONVERT_TO_SUPPORTED(ref uint io_uChannelMask) { AkSoundEnginePINVOKE.CSharp_AK_SPEAKER_SETUP_CONVERT_TO_SUPPORTED(ref io_uChannelMask); }
+
+ public static byte ChannelMaskToNumChannels(uint in_uChannelMask) { return AkSoundEnginePINVOKE.CSharp_ChannelMaskToNumChannels(in_uChannelMask); }
+
+ public static uint ChannelMaskFromNumChannels(uint in_uNumChannels) { return AkSoundEnginePINVOKE.CSharp_ChannelMaskFromNumChannels(in_uNumChannels); }
+
+ public static byte ChannelBitToIndex(uint in_uChannelBit, uint in_uChannelMask) { return AkSoundEnginePINVOKE.CSharp_ChannelBitToIndex(in_uChannelBit, in_uChannelMask); }
+
+ public static bool HasSurroundChannels(uint in_uChannelMask) { return AkSoundEnginePINVOKE.CSharp_HasSurroundChannels(in_uChannelMask); }
+
+ public static bool HasStrictlyOnePairOfSurroundChannels(uint in_uChannelMask) { return AkSoundEnginePINVOKE.CSharp_HasStrictlyOnePairOfSurroundChannels(in_uChannelMask); }
+
+ public static bool HasSideAndRearChannels(uint in_uChannelMask) { return AkSoundEnginePINVOKE.CSharp_HasSideAndRearChannels(in_uChannelMask); }
+
+ public static bool HasHeightChannels(uint in_uChannelMask) { return AkSoundEnginePINVOKE.CSharp_HasHeightChannels(in_uChannelMask); }
+
+ public static uint BackToSideChannels(uint in_uChannelMask) { return AkSoundEnginePINVOKE.CSharp_BackToSideChannels(in_uChannelMask); }
+
+ public static uint StdChannelIndexToDisplayIndex(AkChannelOrdering in_eOrdering, uint in_uChannelMask, uint in_uChannelIdx) { return AkSoundEnginePINVOKE.CSharp_StdChannelIndexToDisplayIndex((int)in_eOrdering, in_uChannelMask, in_uChannelIdx); }
+
+ public static float kDefaultMaxPathLength { get { return AkSoundEnginePINVOKE.CSharp_kDefaultMaxPathLength_get(); }
+ }
+
+ public static uint kDefaultDiffractionMaxEdges { get { return AkSoundEnginePINVOKE.CSharp_kDefaultDiffractionMaxEdges_get(); }
+ }
+
+ public static uint kDefaultDiffractionMaxPaths { get { return AkSoundEnginePINVOKE.CSharp_kDefaultDiffractionMaxPaths_get(); }
+ }
+
+ public static float kMaxDiffraction { get { return AkSoundEnginePINVOKE.CSharp_kMaxDiffraction_get(); }
+ }
+
+ public static uint kDiffractionMaxEdges { get { return AkSoundEnginePINVOKE.CSharp_kDiffractionMaxEdges_get(); }
+ }
+
+ public static uint kDiffractionMaxPaths { get { return AkSoundEnginePINVOKE.CSharp_kDiffractionMaxPaths_get(); }
+ }
+
+ public static uint kPortalToPortalDiffractionMaxPaths { get { return AkSoundEnginePINVOKE.CSharp_kPortalToPortalDiffractionMaxPaths_get(); }
+ }
+
+ public static AKRESULT SetImageSource(uint in_srcID, AkImageSourceSettings in_info, uint in_AuxBusID, ulong in_roomID, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetImageSource(in_srcID, AkImageSourceSettings.getCPtr(in_info), in_AuxBusID, in_roomID, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT RemoveImageSource(uint in_srcID, uint in_AuxBusID, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RemoveImageSource(in_srcID, in_AuxBusID, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT ClearImageSources(uint in_AuxBusID, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ClearImageSources__SWIG_0(in_AuxBusID, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT ClearImageSources(uint in_AuxBusID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ClearImageSources__SWIG_1(in_AuxBusID); }
+
+ public static AKRESULT ClearImageSources() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ClearImageSources__SWIG_2(); }
+
+ public static AKRESULT RemoveGeometry(ulong in_SetID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RemoveGeometry(in_SetID); }
+
+ public static AKRESULT QueryReflectionPaths(UnityEngine.GameObject in_gameObjectID, ref UnityEngine.Vector3 out_listenerPos, ref UnityEngine.Vector3 out_emitterPos, AkReflectionPathInfoArray out_aPaths, out uint io_uArraySize) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_QueryReflectionPaths(in_gameObjectID_id, ref out_listenerPos, ref out_emitterPos, out_aPaths.GetBuffer(), out io_uArraySize); }
+ }
+
+ public static AKRESULT RemoveRoom(ulong in_RoomID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RemoveRoom(in_RoomID); }
+
+ public static AKRESULT RemovePortal(ulong in_PortalID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RemovePortal(in_PortalID); }
+
+ public static AKRESULT SetGameObjectInRoom(UnityEngine.GameObject in_gameObjectID, ulong in_CurrentRoomID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetGameObjectInRoom(in_gameObjectID_id, in_CurrentRoomID); }
+ }
+
+ public static AKRESULT SetReflectionsOrder(uint in_uReflectionsOrder, bool in_bUpdatePaths) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetReflectionsOrder(in_uReflectionsOrder, in_bUpdatePaths); }
+
+ public static AKRESULT SetNumberOfPrimaryRays(uint in_uNbPrimaryRays) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetNumberOfPrimaryRays(in_uNbPrimaryRays); }
+
+ public static AKRESULT SetEarlyReflectionsAuxSend(UnityEngine.GameObject in_gameObjectID, uint in_auxBusID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetEarlyReflectionsAuxSend(in_gameObjectID_id, in_auxBusID); }
+ }
+
+ public static AKRESULT SetEarlyReflectionsVolume(UnityEngine.GameObject in_gameObjectID, float in_fSendVolume) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetEarlyReflectionsVolume(in_gameObjectID_id, in_fSendVolume); }
+ }
+
+ public static AKRESULT SetPortalObstructionAndOcclusion(ulong in_PortalID, float in_fObstruction, float in_fOcclusion) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetPortalObstructionAndOcclusion(in_PortalID, in_fObstruction, in_fOcclusion); }
+
+ public static AKRESULT QueryWetDiffraction(ulong in_portal, out float out_wetDiffraction) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_QueryWetDiffraction(in_portal, out out_wetDiffraction); }
+
+ public static AKRESULT QueryDiffractionPaths(UnityEngine.GameObject in_gameObjectID, ref UnityEngine.Vector3 out_listenerPos, ref UnityEngine.Vector3 out_emitterPos, AkDiffractionPathInfoArray out_aPaths, out uint io_uArraySize) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_QueryDiffractionPaths(in_gameObjectID_id, ref out_listenerPos, ref out_emitterPos, out_aPaths.GetBuffer(), out io_uArraySize); }
+ }
+
+ public static void SetErrorLogger(AkLogger.ErrorLoggerInteropDelegate logger) { AkSoundEnginePINVOKE.CSharp_SetErrorLogger__SWIG_0(logger); }
+
+ public static void SetErrorLogger() { AkSoundEnginePINVOKE.CSharp_SetErrorLogger__SWIG_1(); }
+
+ public static void SetAudioInputCallbacks(AkAudioInputManager.AudioSamplesInteropDelegate getAudioSamples, AkAudioInputManager.AudioFormatInteropDelegate getAudioFormat) { AkSoundEnginePINVOKE.CSharp_SetAudioInputCallbacks(getAudioSamples, getAudioFormat); }
+
+ public static AKRESULT Init(AkInitializationSettings settings) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_Init(AkInitializationSettings.getCPtr(settings)); }
+
+ public static AKRESULT InitSpatialAudio(AkSpatialAudioInitSettings settings) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_InitSpatialAudio(AkSpatialAudioInitSettings.getCPtr(settings)); }
+
+ public static AKRESULT InitCommunication(AkCommunicationSettings settings) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_InitCommunication(AkCommunicationSettings.getCPtr(settings)); }
+
+ public static void Term() { AkSoundEnginePINVOKE.CSharp_Term(); }
+
+ public static AKRESULT RegisterGameObjInternal(UnityEngine.GameObject in_GameObj) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RegisterGameObjInternal(AkSoundEngine.GetAkGameObjectID(in_GameObj)); }
+
+ public static AKRESULT UnregisterGameObjInternal(UnityEngine.GameObject in_GameObj) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnregisterGameObjInternal(AkSoundEngine.GetAkGameObjectID(in_GameObj)); }
+
+ public static AKRESULT RegisterGameObjInternal_WithName(UnityEngine.GameObject in_GameObj, string in_pszObjName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RegisterGameObjInternal_WithName(AkSoundEngine.GetAkGameObjectID(in_GameObj), in_pszObjName); }
+
+ public static AKRESULT SetBasePath(string in_pszBasePath) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBasePath(in_pszBasePath); }
+
+ public static AKRESULT SetCurrentLanguage(string in_pszAudioSrcPath) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetCurrentLanguage(in_pszAudioSrcPath); }
+
+ public static AKRESULT LoadFilePackage(string in_pszFilePackageName, out uint out_uPackageID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadFilePackage(in_pszFilePackageName, out out_uPackageID); }
+
+ public static AKRESULT AddBasePath(string in_pszBasePath) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddBasePath(in_pszBasePath); }
+
+ public static AKRESULT SetGameName(string in_GameName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetGameName(in_GameName); }
+
+ public static AKRESULT SetDecodedBankPath(string in_DecodedPath) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetDecodedBankPath(in_DecodedPath); }
+
+ public static AKRESULT LoadAndDecodeBank(string in_pszString, bool in_bSaveDecodedBank, out uint out_bankID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadAndDecodeBank(in_pszString, in_bSaveDecodedBank, out out_bankID); }
+
+ public static AKRESULT LoadAndDecodeBankFromMemory(global::System.IntPtr in_BankData, uint in_BankDataSize, bool in_bSaveDecodedBank, string in_DecodedBankName, bool in_bIsLanguageSpecific, out uint out_bankID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadAndDecodeBankFromMemory(in_BankData, in_BankDataSize, in_bSaveDecodedBank, in_DecodedBankName, in_bIsLanguageSpecific, out out_bankID); }
+
+ public static uint PostEventOnRoom(string in_pszEventName, ulong in_roomID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources, uint in_PlayingID) {
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_0(in_pszEventName, in_roomID, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer(), in_PlayingID);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEventOnRoom(string in_pszEventName, ulong in_roomID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources) {
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_1(in_pszEventName, in_roomID, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer());
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEventOnRoom(string in_pszEventName, ulong in_roomID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie) {
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_2(in_pszEventName, in_roomID, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEventOnRoom(string in_pszEventName, ulong in_roomID) {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_3(in_pszEventName, in_roomID);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+
+ public static string GetCurrentLanguage() { return AkSoundEngine.StringFromIntPtrOSString(AkSoundEnginePINVOKE.CSharp_GetCurrentLanguage()); }
+
+ public static AKRESULT UnloadFilePackage(uint in_uPackageID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnloadFilePackage(in_uPackageID); }
+
+ public static AKRESULT UnloadAllFilePackages() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnloadAllFilePackages(); }
+
+ public static AKRESULT SetObjectPosition(UnityEngine.GameObject in_GameObjectID, UnityEngine.Vector3 Pos, UnityEngine.Vector3 Front, UnityEngine.Vector3 Top) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetObjectPosition(AkSoundEngine.GetAkGameObjectID(in_GameObjectID), Pos, Front, Top); }
+
+ public static AKRESULT GetSourceMultiplePlayPositions(uint in_PlayingID, uint[] out_audioNodeID, uint[] out_mediaID, int[] out_msTime, ref uint io_pcPositions, bool in_bExtrapolate) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSourceMultiplePlayPositions__SWIG_0(in_PlayingID, out_audioNodeID, out_mediaID, out_msTime, ref io_pcPositions, in_bExtrapolate); }
+
+ public static AKRESULT GetSourceMultiplePlayPositions(uint in_PlayingID, uint[] out_audioNodeID, uint[] out_mediaID, int[] out_msTime, ref uint io_pcPositions) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSourceMultiplePlayPositions__SWIG_1(in_PlayingID, out_audioNodeID, out_mediaID, out_msTime, ref io_pcPositions); }
+
+ public static AKRESULT SetListeners(UnityEngine.GameObject in_emitterGameObj, ulong[] in_pListenerGameObjs, uint in_uNumListeners) {
+
+ var in_emitterGameObj_id = AkSoundEngine.GetAkGameObjectID(in_emitterGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_emitterGameObj, in_emitterGameObj_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetListeners(in_emitterGameObj_id, in_pListenerGameObjs, in_uNumListeners); }
+ }
+
+ public static AKRESULT SetDefaultListeners(ulong[] in_pListenerObjs, uint in_uNumListeners) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetDefaultListeners(in_pListenerObjs, in_uNumListeners); }
+
+ public static AKRESULT AddOutput(AkOutputSettings in_Settings, out ulong out_pDeviceID, ulong[] in_pListenerIDs, uint in_uNumListeners) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddOutput__SWIG_0(AkOutputSettings.getCPtr(in_Settings), out out_pDeviceID, in_pListenerIDs, in_uNumListeners); }
+
+ public static AKRESULT AddOutput(AkOutputSettings in_Settings, out ulong out_pDeviceID, ulong[] in_pListenerIDs) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddOutput__SWIG_1(AkOutputSettings.getCPtr(in_Settings), out out_pDeviceID, in_pListenerIDs); }
+
+ public static AKRESULT AddOutput(AkOutputSettings in_Settings, out ulong out_pDeviceID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddOutput__SWIG_2(AkOutputSettings.getCPtr(in_Settings), out out_pDeviceID); }
+
+ public static AKRESULT AddOutput(AkOutputSettings in_Settings) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddOutput__SWIG_3(AkOutputSettings.getCPtr(in_Settings)); }
+
+ public static void GetDefaultStreamSettings(AkStreamMgrSettings out_settings) { AkSoundEnginePINVOKE.CSharp_GetDefaultStreamSettings(AkStreamMgrSettings.getCPtr(out_settings)); }
+
+ public static void GetDefaultDeviceSettings(AkDeviceSettings out_settings) { AkSoundEnginePINVOKE.CSharp_GetDefaultDeviceSettings(AkDeviceSettings.getCPtr(out_settings)); }
+
+ public static void GetDefaultMusicSettings(AkMusicSettings out_settings) { AkSoundEnginePINVOKE.CSharp_GetDefaultMusicSettings(AkMusicSettings.getCPtr(out_settings)); }
+
+ public static void GetDefaultInitSettings(AkInitSettings out_settings) { AkSoundEnginePINVOKE.CSharp_GetDefaultInitSettings(AkInitSettings.getCPtr(out_settings)); }
+
+ public static void GetDefaultPlatformInitSettings(AkPlatformInitSettings out_settings) { AkSoundEnginePINVOKE.CSharp_GetDefaultPlatformInitSettings(AkPlatformInitSettings.getCPtr(out_settings)); }
+
+ public static uint GetMajorMinorVersion() { return AkSoundEnginePINVOKE.CSharp_GetMajorMinorVersion(); }
+
+ public static uint GetSubminorBuildVersion() { return AkSoundEnginePINVOKE.CSharp_GetSubminorBuildVersion(); }
+
+ public static void StartResourceMonitoring() { AkSoundEnginePINVOKE.CSharp_StartResourceMonitoring(); }
+
+ public static void StopResourceMonitoring() { AkSoundEnginePINVOKE.CSharp_StopResourceMonitoring(); }
+
+ public static void GetResourceMonitorDataSummary(AkResourceMonitorDataSummary resourceMonitorDataSummary) { AkSoundEnginePINVOKE.CSharp_GetResourceMonitorDataSummary(AkResourceMonitorDataSummary.getCPtr(resourceMonitorDataSummary)); }
+
+ public static AKRESULT SetRoomPortal(ulong in_PortalID, AkTransform Transform, UnityEngine.Vector3 Extent, bool bEnabled, ulong FrontRoom, ulong BackRoom) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRoomPortal(in_PortalID, AkTransform.getCPtr(Transform), Extent, bEnabled, FrontRoom, BackRoom); }
+
+ public static AKRESULT SetRoom(ulong in_RoomID, AkRoomParams in_roomParams, string in_pName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRoom(in_RoomID, AkRoomParams.getCPtr(in_roomParams), in_pName); }
+
+ public static AKRESULT RegisterSpatialAudioListener(UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RegisterSpatialAudioListener(in_gameObjectID_id); }
+ }
+
+ public static AKRESULT UnregisterSpatialAudioListener(UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnregisterSpatialAudioListener(in_gameObjectID_id); }
+ }
+
+ public static AKRESULT SetGeometry(ulong in_GeomSetID, AkTriangleArray Triangles, uint NumTriangles, UnityEngine.Vector3[] Vertices, uint NumVertices, AkAcousticSurfaceArray Surfaces, uint NumSurfaces, ulong RoomID, bool EnableDiffraction, bool EnableDiffractionOnBoundaryEdges) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetGeometry(in_GeomSetID, Triangles.GetBuffer(), NumTriangles, Vertices, NumVertices, Surfaces.GetBuffer(), NumSurfaces, RoomID, EnableDiffraction, EnableDiffractionOnBoundaryEdges); }
+
+ public static uint PostEventOnRoom(uint in_eventID, ulong in_roomID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources, uint in_PlayingID) {
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_4(in_eventID, in_roomID, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer(), in_PlayingID);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEventOnRoom(uint in_eventID, ulong in_roomID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources) {
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_5(in_eventID, in_roomID, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer());
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEventOnRoom(uint in_eventID, ulong in_roomID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie) {
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_6(in_eventID, in_roomID, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEventOnRoom(uint in_eventID, ulong in_roomID) {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_7(in_eventID, in_roomID);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+
+ public const int AK_SIMD_ALIGNMENT = 16;
+ public const int AK_BUFFER_ALIGNMENT = 16;
+ public const int AK_MAX_PATH = 260;
+ public const int AK_BANK_PLATFORM_DATA_ALIGNMENT = (16);
+ public const uint AK_INVALID_PLUGINID = unchecked((uint)(-1));
+ public const ulong AK_INVALID_GAME_OBJECT = unchecked((ulong)(-1));
+ public const uint AK_INVALID_UNIQUE_ID = 0;
+ public const uint AK_INVALID_RTPC_ID = AK_INVALID_UNIQUE_ID;
+ public const uint AK_INVALID_LISTENER_INDEX = unchecked((uint)(-1));
+ public const uint AK_INVALID_PLAYING_ID = AK_INVALID_UNIQUE_ID;
+ public const uint AK_DEFAULT_SWITCH_STATE = 0;
+ public const int AK_INVALID_POOL_ID = -1;
+ public const int AK_DEFAULT_POOL_ID = -1;
+ public const uint AK_INVALID_AUX_ID = AK_INVALID_UNIQUE_ID;
+ public const uint AK_INVALID_FILE_ID = unchecked((uint)(-1));
+ public const uint AK_INVALID_DEVICE_ID = unchecked((uint)(-1));
+ public const uint AK_INVALID_BANK_ID = AK_INVALID_UNIQUE_ID;
+ public const uint AK_FALLBACK_ARGUMENTVALUE_ID = 0;
+ public const uint AK_INVALID_CHANNELMASK = 0;
+ public const uint AK_INVALID_OUTPUT_DEVICE_ID = AK_INVALID_UNIQUE_ID;
+ public const uint AK_MIXER_FX_SLOT = unchecked((uint)(-1));
+ public const ulong AK_DEFAULT_LISTENER_OBJ = 0;
+ public const uint AK_DEFAULT_PRIORITY = 50;
+ public const uint AK_MIN_PRIORITY = 0;
+ public const uint AK_MAX_PRIORITY = 100;
+ public const uint AK_DEFAULT_BANK_IO_PRIORITY = AK_DEFAULT_PRIORITY;
+ public const double AK_DEFAULT_BANK_THROUGHPUT = 1*1024*1024/1000.0;
+ public const uint AKCOMPANYID_AUDIOKINETIC = 0;
+ public const uint AK_LISTENERS_MASK_ALL = 0xFFFFFFFF;
+ public const int NULL = 0;
+ public const int AKCURVEINTERPOLATION_NUM_STORAGE_BIT = 5;
+ public const int AK_MAX_LANGUAGE_NAME_SIZE = (32);
+ public const int AKCOMPANYID_PLUGINDEV_MIN = (64);
+ public const int AKCOMPANYID_PLUGINDEV_MAX = (255);
+ public const int AKCOMPANYID_AUDIOKINETIC_EXTERNAL = (1);
+ public const int AKCOMPANYID_MCDSP = (256);
+ public const int AKCOMPANYID_WAVEARTS = (257);
+ public const int AKCOMPANYID_PHONETICARTS = (258);
+ public const int AKCOMPANYID_IZOTOPE = (259);
+ public const int AKCOMPANYID_CRANKCASEAUDIO = (261);
+ public const int AKCOMPANYID_IOSONO = (262);
+ public const int AKCOMPANYID_AUROTECHNOLOGIES = (263);
+ public const int AKCOMPANYID_DOLBY = (264);
+ public const int AKCOMPANYID_TWOBIGEARS = (265);
+ public const int AKCOMPANYID_OCULUS = (266);
+ public const int AKCOMPANYID_BLUERIPPLESOUND = (267);
+ public const int AKCOMPANYID_ENZIEN = (268);
+ public const int AKCOMPANYID_KROTOS = (269);
+ public const int AKCOMPANYID_NURULIZE = (270);
+ public const int AKCOMPANYID_SUPERPOWERED = (271);
+ public const int AKCOMPANYID_GOOGLE = (272);
+ public const int AKCOMPANYID_VISISONICS = (277);
+ public const int AKCODECID_BANK = (0);
+ public const int AKCODECID_PCM = (1);
+ public const int AKCODECID_ADPCM = (2);
+ public const int AKCODECID_XMA = (3);
+ public const int AKCODECID_VORBIS = (4);
+ public const int AKCODECID_WIIADPCM = (5);
+ public const int AKCODECID_PCMEX = (7);
+ public const int AKCODECID_EXTERNAL_SOURCE = (8);
+ public const int AKCODECID_XWMA = (9);
+ public const int AKCODECID_AAC = (10);
+ public const int AKCODECID_FILE_PACKAGE = (11);
+ public const int AKCODECID_ATRAC9 = (12);
+ public const int AKCODECID_VAG = (13);
+ public const int AKCODECID_PROFILERCAPTURE = (14);
+ public const int AKCODECID_ANALYSISFILE = (15);
+ public const int AKCODECID_MIDI = (16);
+ public const int AKCODECID_OPUSNX = (17);
+ public const int AKCODECID_CAF = (18);
+ public const int AKCODECID_AKOPUS = (19);
+ public const int AKCODECID_AKOPUS_WEM = (20);
+ public const int AKPLUGINID_METER = (129);
+ public const int AKPLUGINID_RECORDER = (132);
+ public const int AKEXTENSIONID_SPATIALAUDIO = (800);
+ public const int AKEXTENSIONID_INTERACTIVEMUSIC = (801);
+ public const int AKEXTENSIONID_EVENTMGRTHREAD = (900);
+ public const int AK_WAVE_FORMAT_VAG = 0xFFFB;
+ public const int AK_WAVE_FORMAT_AT9 = 0xFFFC;
+ public const int AK_WAVE_FORMAT_VORBIS = 0xFFFF;
+ public const int AK_WAVE_FORMAT_AAC = 0xAAC0;
+ public const int AK_WAVE_FORMAT_OPUSNX = 0x3039;
+ public const int AK_WAVE_FORMAT_OPUS = 0x3040;
+ public const int AK_WAVE_FORMAT_OPUS_WEM = 0x3041;
+ public const int WAVE_FORMAT_XMA2 = 0x166;
+ public const int AK_PANNER_NUM_STORAGE_BITS = 3;
+ public const int AK_POSSOURCE_NUM_STORAGE_BITS = 3;
+ public const int AK_SPAT_NUM_STORAGE_BITS = 3;
+ public const int AK_MAX_BITS_METERING_FLAGS = (5);
+ public const int AK_OS_STRUCT_ALIGN = 4;
+ public const int AK_64B_OS_STRUCT_ALIGN = 8;
+ public const bool AK_ASYNC_OPEN_DEFAULT = (false);
+ public const int AK_COMM_DEFAULT_DISCOVERY_PORT = 24024;
+ public const int AK_MIDI_EVENT_TYPE_INVALID = 0x00;
+ public const int AK_MIDI_EVENT_TYPE_NOTE_OFF = 0x80;
+ public const int AK_MIDI_EVENT_TYPE_NOTE_ON = 0x90;
+ public const int AK_MIDI_EVENT_TYPE_NOTE_AFTERTOUCH = 0xa0;
+ public const int AK_MIDI_EVENT_TYPE_CONTROLLER = 0xb0;
+ public const int AK_MIDI_EVENT_TYPE_PROGRAM_CHANGE = 0xc0;
+ public const int AK_MIDI_EVENT_TYPE_CHANNEL_AFTERTOUCH = 0xd0;
+ public const int AK_MIDI_EVENT_TYPE_PITCH_BEND = 0xe0;
+ public const int AK_MIDI_EVENT_TYPE_SYSEX = 0xf0;
+ public const int AK_MIDI_EVENT_TYPE_ESCAPE = 0xf7;
+ public const int AK_MIDI_EVENT_TYPE_META = 0xff;
+ public const int AK_MIDI_CC_BANK_SELECT_COARSE = 0;
+ public const int AK_MIDI_CC_MOD_WHEEL_COARSE = 1;
+ public const int AK_MIDI_CC_BREATH_CTRL_COARSE = 2;
+ public const int AK_MIDI_CC_CTRL_3_COARSE = 3;
+ public const int AK_MIDI_CC_FOOT_PEDAL_COARSE = 4;
+ public const int AK_MIDI_CC_PORTAMENTO_COARSE = 5;
+ public const int AK_MIDI_CC_DATA_ENTRY_COARSE = 6;
+ public const int AK_MIDI_CC_VOLUME_COARSE = 7;
+ public const int AK_MIDI_CC_BALANCE_COARSE = 8;
+ public const int AK_MIDI_CC_CTRL_9_COARSE = 9;
+ public const int AK_MIDI_CC_PAN_POSITION_COARSE = 10;
+ public const int AK_MIDI_CC_EXPRESSION_COARSE = 11;
+ public const int AK_MIDI_CC_EFFECT_CTRL_1_COARSE = 12;
+ public const int AK_MIDI_CC_EFFECT_CTRL_2_COARSE = 13;
+ public const int AK_MIDI_CC_CTRL_14_COARSE = 14;
+ public const int AK_MIDI_CC_CTRL_15_COARSE = 15;
+ public const int AK_MIDI_CC_GEN_SLIDER_1 = 16;
+ public const int AK_MIDI_CC_GEN_SLIDER_2 = 17;
+ public const int AK_MIDI_CC_GEN_SLIDER_3 = 18;
+ public const int AK_MIDI_CC_GEN_SLIDER_4 = 19;
+ public const int AK_MIDI_CC_CTRL_20_COARSE = 20;
+ public const int AK_MIDI_CC_CTRL_21_COARSE = 21;
+ public const int AK_MIDI_CC_CTRL_22_COARSE = 22;
+ public const int AK_MIDI_CC_CTRL_23_COARSE = 23;
+ public const int AK_MIDI_CC_CTRL_24_COARSE = 24;
+ public const int AK_MIDI_CC_CTRL_25_COARSE = 25;
+ public const int AK_MIDI_CC_CTRL_26_COARSE = 26;
+ public const int AK_MIDI_CC_CTRL_27_COARSE = 27;
+ public const int AK_MIDI_CC_CTRL_28_COARSE = 28;
+ public const int AK_MIDI_CC_CTRL_29_COARSE = 29;
+ public const int AK_MIDI_CC_CTRL_30_COARSE = 30;
+ public const int AK_MIDI_CC_CTRL_31_COARSE = 31;
+ public const int AK_MIDI_CC_BANK_SELECT_FINE = 32;
+ public const int AK_MIDI_CC_MOD_WHEEL_FINE = 33;
+ public const int AK_MIDI_CC_BREATH_CTRL_FINE = 34;
+ public const int AK_MIDI_CC_CTRL_3_FINE = 35;
+ public const int AK_MIDI_CC_FOOT_PEDAL_FINE = 36;
+ public const int AK_MIDI_CC_PORTAMENTO_FINE = 37;
+ public const int AK_MIDI_CC_DATA_ENTRY_FINE = 38;
+ public const int AK_MIDI_CC_VOLUME_FINE = 39;
+ public const int AK_MIDI_CC_BALANCE_FINE = 40;
+ public const int AK_MIDI_CC_CTRL_9_FINE = 41;
+ public const int AK_MIDI_CC_PAN_POSITION_FINE = 42;
+ public const int AK_MIDI_CC_EXPRESSION_FINE = 43;
+ public const int AK_MIDI_CC_EFFECT_CTRL_1_FINE = 44;
+ public const int AK_MIDI_CC_EFFECT_CTRL_2_FINE = 45;
+ public const int AK_MIDI_CC_CTRL_14_FINE = 46;
+ public const int AK_MIDI_CC_CTRL_15_FINE = 47;
+ public const int AK_MIDI_CC_CTRL_20_FINE = 52;
+ public const int AK_MIDI_CC_CTRL_21_FINE = 53;
+ public const int AK_MIDI_CC_CTRL_22_FINE = 54;
+ public const int AK_MIDI_CC_CTRL_23_FINE = 55;
+ public const int AK_MIDI_CC_CTRL_24_FINE = 56;
+ public const int AK_MIDI_CC_CTRL_25_FINE = 57;
+ public const int AK_MIDI_CC_CTRL_26_FINE = 58;
+ public const int AK_MIDI_CC_CTRL_27_FINE = 59;
+ public const int AK_MIDI_CC_CTRL_28_FINE = 60;
+ public const int AK_MIDI_CC_CTRL_29_FINE = 61;
+ public const int AK_MIDI_CC_CTRL_30_FINE = 62;
+ public const int AK_MIDI_CC_CTRL_31_FINE = 63;
+ public const int AK_MIDI_CC_HOLD_PEDAL = 64;
+ public const int AK_MIDI_CC_PORTAMENTO_ON_OFF = 65;
+ public const int AK_MIDI_CC_SUSTENUTO_PEDAL = 66;
+ public const int AK_MIDI_CC_SOFT_PEDAL = 67;
+ public const int AK_MIDI_CC_LEGATO_PEDAL = 68;
+ public const int AK_MIDI_CC_HOLD_PEDAL_2 = 69;
+ public const int AK_MIDI_CC_SOUND_VARIATION = 70;
+ public const int AK_MIDI_CC_SOUND_TIMBRE = 71;
+ public const int AK_MIDI_CC_SOUND_RELEASE_TIME = 72;
+ public const int AK_MIDI_CC_SOUND_ATTACK_TIME = 73;
+ public const int AK_MIDI_CC_SOUND_BRIGHTNESS = 74;
+ public const int AK_MIDI_CC_SOUND_CTRL_6 = 75;
+ public const int AK_MIDI_CC_SOUND_CTRL_7 = 76;
+ public const int AK_MIDI_CC_SOUND_CTRL_8 = 77;
+ public const int AK_MIDI_CC_SOUND_CTRL_9 = 78;
+ public const int AK_MIDI_CC_SOUND_CTRL_10 = 79;
+ public const int AK_MIDI_CC_GENERAL_BUTTON_1 = 80;
+ public const int AK_MIDI_CC_GENERAL_BUTTON_2 = 81;
+ public const int AK_MIDI_CC_GENERAL_BUTTON_3 = 82;
+ public const int AK_MIDI_CC_GENERAL_BUTTON_4 = 83;
+ public const int AK_MIDI_CC_REVERB_LEVEL = 91;
+ public const int AK_MIDI_CC_TREMOLO_LEVEL = 92;
+ public const int AK_MIDI_CC_CHORUS_LEVEL = 93;
+ public const int AK_MIDI_CC_CELESTE_LEVEL = 94;
+ public const int AK_MIDI_CC_PHASER_LEVEL = 95;
+ public const int AK_MIDI_CC_DATA_BUTTON_P1 = 96;
+ public const int AK_MIDI_CC_DATA_BUTTON_M1 = 97;
+ public const int AK_MIDI_CC_NON_REGISTER_COARSE = 98;
+ public const int AK_MIDI_CC_NON_REGISTER_FINE = 99;
+ public const int AK_MIDI_CC_ALL_SOUND_OFF = 120;
+ public const int AK_MIDI_CC_ALL_CONTROLLERS_OFF = 121;
+ public const int AK_MIDI_CC_LOCAL_KEYBOARD = 122;
+ public const int AK_MIDI_CC_ALL_NOTES_OFF = 123;
+ public const int AK_MIDI_CC_OMNI_MODE_OFF = 124;
+ public const int AK_MIDI_CC_OMNI_MODE_ON = 125;
+ public const int AK_MIDI_CC_OMNI_MONOPHONIC_ON = 126;
+ public const int AK_MIDI_CC_OMNI_POLYPHONIC_ON = 127;
+ public const int AK_SPEAKER_FRONT_LEFT = 0x1;
+ public const int AK_SPEAKER_FRONT_RIGHT = 0x2;
+ public const int AK_SPEAKER_FRONT_CENTER = 0x4;
+ public const int AK_SPEAKER_LOW_FREQUENCY = 0x8;
+ public const int AK_SPEAKER_BACK_LEFT = 0x10;
+ public const int AK_SPEAKER_BACK_RIGHT = 0x20;
+ public const int AK_SPEAKER_BACK_CENTER = 0x100;
+ public const int AK_SPEAKER_SIDE_LEFT = 0x200;
+ public const int AK_SPEAKER_SIDE_RIGHT = 0x400;
+ public const int AK_SPEAKER_TOP = 0x800;
+ public const int AK_SPEAKER_HEIGHT_FRONT_LEFT = 0x1000;
+ public const int AK_SPEAKER_HEIGHT_FRONT_CENTER = 0x2000;
+ public const int AK_SPEAKER_HEIGHT_FRONT_RIGHT = 0x4000;
+ public const int AK_SPEAKER_HEIGHT_BACK_LEFT = 0x8000;
+ public const int AK_SPEAKER_HEIGHT_BACK_CENTER = 0x10000;
+ public const int AK_SPEAKER_HEIGHT_BACK_RIGHT = 0x20000;
+ public const int AK_SPEAKER_SETUP_MONO = 0x4;
+ public const int AK_SPEAKER_SETUP_0POINT1 = 0x8;
+ public const int AK_SPEAKER_SETUP_1POINT1 = (0x4|0x8);
+ public const int AK_SPEAKER_SETUP_STEREO = (0x1|0x2);
+ public const int AK_SPEAKER_SETUP_2POINT1 = ((0x1|0x2)|0x8);
+ public const int AK_SPEAKER_SETUP_3STEREO = ((0x1|0x2)|0x4);
+ public const int AK_SPEAKER_SETUP_3POINT1 = (((0x1|0x2)|0x4)|0x8);
+ public const int AK_SPEAKER_SETUP_4 = ((0x1|0x2)|0x200|0x400);
+ public const int AK_SPEAKER_SETUP_4POINT1 = (((0x1|0x2)|0x200|0x400)|0x8);
+ public const int AK_SPEAKER_SETUP_5 = (((0x1|0x2)|0x200|0x400)|0x4);
+ public const int AK_SPEAKER_SETUP_5POINT1 = ((((0x1|0x2)|0x200|0x400)|0x4)|0x8);
+ public const int AK_SPEAKER_SETUP_6 = (((0x1|0x2)|0x200|0x400)|0x10|0x20);
+ public const int AK_SPEAKER_SETUP_6POINT1 = ((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x8);
+ public const int AK_SPEAKER_SETUP_7 = ((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4);
+ public const int AK_SPEAKER_SETUP_7POINT1 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x8);
+ public const int AK_SPEAKER_SETUP_SURROUND = ((0x1|0x2)|0x100);
+ public const int AK_SPEAKER_SETUP_DPL2 = (((0x1|0x2)|0x200|0x400));
+ public const int AK_SPEAKER_SETUP_HEIGHT_4 = (0x1000|0x4000|0x8000|0x20000);
+ public const int AK_SPEAKER_SETUP_HEIGHT_5 = ((0x1000|0x4000|0x8000|0x20000)|0x2000);
+ public const int AK_SPEAKER_SETUP_HEIGHT_ALL = (((0x1000|0x4000|0x8000|0x20000)|0x2000)|0x10000);
+ public const int AK_SPEAKER_SETUP_AURO_222 = (((0x1|0x2)|0x200|0x400)|0x1000|0x4000);
+ public const int AK_SPEAKER_SETUP_AURO_8 = ((((0x1|0x2)|0x200|0x400)|0x1000|0x4000)|0x8000|0x20000);
+ public const int AK_SPEAKER_SETUP_AURO_9 = (((((0x1|0x2)|0x200|0x400)|0x1000|0x4000)|0x8000|0x20000)|0x4);
+ public const int AK_SPEAKER_SETUP_AURO_9POINT1 = ((((((0x1|0x2)|0x200|0x400)|0x1000|0x4000)|0x8000|0x20000)|0x4)|0x8);
+ public const int AK_SPEAKER_SETUP_AURO_10 = ((((((0x1|0x2)|0x200|0x400)|0x1000|0x4000)|0x8000|0x20000)|0x4)|0x800);
+ public const int AK_SPEAKER_SETUP_AURO_10POINT1 = (((((((0x1|0x2)|0x200|0x400)|0x1000|0x4000)|0x8000|0x20000)|0x4)|0x800)|0x8);
+ public const int AK_SPEAKER_SETUP_AURO_11 = (((((((0x1|0x2)|0x200|0x400)|0x1000|0x4000)|0x8000|0x20000)|0x4)|0x800)|0x2000);
+ public const int AK_SPEAKER_SETUP_AURO_11POINT1 = ((((((((0x1|0x2)|0x200|0x400)|0x1000|0x4000)|0x8000|0x20000)|0x4)|0x800)|0x2000)|0x8);
+ public const int AK_SPEAKER_SETUP_AURO_11_740 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|(0x1000|0x4000|0x8000|0x20000));
+ public const int AK_SPEAKER_SETUP_AURO_11POINT1_740 = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|(0x1000|0x4000|0x8000|0x20000))|0x8);
+ public const int AK_SPEAKER_SETUP_AURO_13_751 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|((0x1000|0x4000|0x8000|0x20000)|0x2000)|0x800);
+ public const int AK_SPEAKER_SETUP_AURO_13POINT1_751 = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|((0x1000|0x4000|0x8000|0x20000)|0x2000)|0x800)|0x8);
+ public const int AK_SPEAKER_SETUP_DOLBY_5_0_2 = ((((0x1|0x2)|0x200|0x400)|0x4)|0x1000|0x4000);
+ public const int AK_SPEAKER_SETUP_DOLBY_5_1_2 = (((((0x1|0x2)|0x200|0x400)|0x4)|0x1000|0x4000)|0x8);
+ public const int AK_SPEAKER_SETUP_DOLBY_6_0_2 = ((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x1000|0x4000);
+ public const int AK_SPEAKER_SETUP_DOLBY_6_1_2 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x1000|0x4000)|0x8);
+ public const int AK_SPEAKER_SETUP_DOLBY_6_0_4 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x1000|0x4000)|0x8000|0x20000);
+ public const int AK_SPEAKER_SETUP_DOLBY_6_1_4 = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x1000|0x4000)|0x8000|0x20000)|0x8);
+ public const int AK_SPEAKER_SETUP_DOLBY_7_0_2 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x1000|0x4000);
+ public const int AK_SPEAKER_SETUP_DOLBY_7_1_2 = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x1000|0x4000)|0x8);
+ public const int AK_SPEAKER_SETUP_DOLBY_7_0_4 = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x1000|0x4000)|0x8000|0x20000);
+ public const int AK_SPEAKER_SETUP_DOLBY_7_1_4 = (((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x1000|0x4000)|0x8000|0x20000)|0x8);
+ public const int AK_SPEAKER_SETUP_ALL_SPEAKERS = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x8)|0x100|(((0x1000|0x4000|0x8000|0x20000)|0x2000)|0x10000)|0x800);
+ public const int AK_IDX_SETUP_FRONT_LEFT = (0);
+ public const int AK_IDX_SETUP_FRONT_RIGHT = (1);
+ public const int AK_IDX_SETUP_CENTER = (2);
+ public const int AK_IDX_SETUP_NOCENTER_BACK_LEFT = (2);
+ public const int AK_IDX_SETUP_NOCENTER_BACK_RIGHT = (3);
+ public const int AK_IDX_SETUP_NOCENTER_SIDE_LEFT = (4);
+ public const int AK_IDX_SETUP_NOCENTER_SIDE_RIGHT = (5);
+ public const int AK_IDX_SETUP_WITHCENTER_BACK_LEFT = (3);
+ public const int AK_IDX_SETUP_WITHCENTER_BACK_RIGHT = (4);
+ public const int AK_IDX_SETUP_WITHCENTER_SIDE_LEFT = (5);
+ public const int AK_IDX_SETUP_WITHCENTER_SIDE_RIGHT = (6);
+ public const int AK_IDX_SETUP_0_LFE = (0);
+ public const int AK_IDX_SETUP_1_CENTER = (0);
+ public const int AK_IDX_SETUP_1_LFE = (1);
+ public const int AK_IDX_SETUP_2_LEFT = (0);
+ public const int AK_IDX_SETUP_2_RIGHT = (1);
+ public const int AK_IDX_SETUP_2_LFE = (2);
+ public const int AK_IDX_SETUP_3_LEFT = (0);
+ public const int AK_IDX_SETUP_3_RIGHT = (1);
+ public const int AK_IDX_SETUP_3_CENTER = (2);
+ public const int AK_IDX_SETUP_3_LFE = (3);
+ public const int AK_IDX_SETUP_4_FRONTLEFT = (0);
+ public const int AK_IDX_SETUP_4_FRONTRIGHT = (1);
+ public const int AK_IDX_SETUP_4_REARLEFT = (2);
+ public const int AK_IDX_SETUP_4_REARRIGHT = (3);
+ public const int AK_IDX_SETUP_4_LFE = (4);
+ public const int AK_IDX_SETUP_5_FRONTLEFT = (0);
+ public const int AK_IDX_SETUP_5_FRONTRIGHT = (1);
+ public const int AK_IDX_SETUP_5_CENTER = (2);
+ public const int AK_IDX_SETUP_5_REARLEFT = (3);
+ public const int AK_IDX_SETUP_5_REARRIGHT = (4);
+ public const int AK_IDX_SETUP_5_LFE = (5);
+ public const int AK_IDX_SETUP_6_FRONTLEFT = (0);
+ public const int AK_IDX_SETUP_6_FRONTRIGHT = (1);
+ public const int AK_IDX_SETUP_6_REARLEFT = (2);
+ public const int AK_IDX_SETUP_6_REARRIGHT = (3);
+ public const int AK_IDX_SETUP_6_SIDELEFT = (4);
+ public const int AK_IDX_SETUP_6_SIDERIGHT = (5);
+ public const int AK_IDX_SETUP_6_LFE = (6);
+ public const int AK_IDX_SETUP_7_FRONTLEFT = (0);
+ public const int AK_IDX_SETUP_7_FRONTRIGHT = (1);
+ public const int AK_IDX_SETUP_7_CENTER = (2);
+ public const int AK_IDX_SETUP_7_REARLEFT = (3);
+ public const int AK_IDX_SETUP_7_REARRIGHT = (4);
+ public const int AK_IDX_SETUP_7_SIDELEFT = (5);
+ public const int AK_IDX_SETUP_7_SIDERIGHT = (6);
+ public const int AK_IDX_SETUP_7_LFE = (7);
+ public const int AK_SPEAKER_SETUP_0_1 = (0x8);
+ public const int AK_SPEAKER_SETUP_1_0_CENTER = (0x4);
+ public const int AK_SPEAKER_SETUP_1_1_CENTER = (0x4|0x8);
+ public const int AK_SPEAKER_SETUP_2_0 = (0x1|0x2);
+ public const int AK_SPEAKER_SETUP_2_1 = (0x1|0x2|0x8);
+ public const int AK_SPEAKER_SETUP_3_0 = (0x1|0x2|0x4);
+ public const int AK_SPEAKER_SETUP_3_1 = ((0x1|0x2|0x4)|0x8);
+ public const int AK_SPEAKER_SETUP_FRONT = ((0x1|0x2|0x4));
+ public const int AK_SPEAKER_SETUP_4_0 = (((0x1|0x2)|0x200|0x400));
+ public const int AK_SPEAKER_SETUP_4_1 = ((((0x1|0x2)|0x200|0x400)|0x8));
+ public const int AK_SPEAKER_SETUP_5_0 = ((((0x1|0x2)|0x200|0x400)|0x4));
+ public const int AK_SPEAKER_SETUP_5_1 = (((((0x1|0x2)|0x200|0x400)|0x4)|0x8));
+ public const int AK_SPEAKER_SETUP_6_0 = ((((0x1|0x2)|0x200|0x400)|0x10|0x20));
+ public const int AK_SPEAKER_SETUP_6_1 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x8));
+ public const int AK_SPEAKER_SETUP_7_0 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4));
+ public const int AK_SPEAKER_SETUP_7_1 = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x8));
+ public const int AK_SPEAKER_SETUP_DEFAULT_PLANE = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x8));
+ public const int AK_SUPPORTED_STANDARD_CHANNEL_MASK = (((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x8)|0x100|(((0x1000|0x4000|0x8000|0x20000)|0x2000)|0x10000)|0x800));
+ public const int AK_STANDARD_MAX_NUM_CHANNELS = (8);
+ public const int AK_MAX_AMBISONICS_ORDER = (5);
+ public const int AK_MAX_NUM_TEXTURE = 4;
+ public const int AK_MAX_REFLECT_ORDER = 4;
+ public const int AK_MAX_REFLECTION_PATH_LENGTH = (4+4);
+ public const int AK_MAX_SOUND_PROPAGATION_DEPTH = 8;
+ public const double AK_DEFAULT_DIFFR_SHADOW_DEGREES = (30.0);
+ public const double AK_DEFAULT_DIFFR_SHADOW_ATTEN = (1.0);
+ public const double AK_DEFAULT_MOVEMENT_THRESHOLD = (1.0);
+ public const int AK_DEFAULT_REFLECTIONS_ORDER = (1);
+ public const double AK_SA_EPSILON = (0.001);
+ public const double AK_SA_DIFFRACTION_EPSILON = (0.002);
+ public const double AK_SA_DIFFRACTION_DOT_EPSILON = (0.000002);
+ public const double AK_SA_PLANE_THICKNESS_RATIO = (0.005);
+}
+#endif // #if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Mac/AkSoundEngine_Mac.cs.meta b/Assets/Wwise/Deployment/API/Generated/Mac/AkSoundEngine_Mac.cs.meta
new file mode 100644
index 000000000..c5619fd37
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Mac/AkSoundEngine_Mac.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 576725706ae89df469c747fcbe2c72b1
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Mac/AkThreadProperties_Mac.cs b/Assets/Wwise/Deployment/API/Generated/Mac/AkThreadProperties_Mac.cs
new file mode 100644
index 000000000..15c0368f0
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Mac/AkThreadProperties_Mac.cs
@@ -0,0 +1,64 @@
+#if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkThreadProperties : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkThreadProperties(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkThreadProperties obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkThreadProperties() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkThreadProperties(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public int nPriority { set { AkSoundEnginePINVOKE.CSharp_AkThreadProperties_nPriority_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkThreadProperties_nPriority_get(swigCPtr); }
+ }
+
+ public uint uStackSize { set { AkSoundEnginePINVOKE.CSharp_AkThreadProperties_uStackSize_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkThreadProperties_uStackSize_get(swigCPtr); }
+ }
+
+ public int uSchedPolicy { set { AkSoundEnginePINVOKE.CSharp_AkThreadProperties_uSchedPolicy_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkThreadProperties_uSchedPolicy_get(swigCPtr); }
+ }
+
+ public uint dwAffinityMask { set { AkSoundEnginePINVOKE.CSharp_AkThreadProperties_dwAffinityMask_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkThreadProperties_dwAffinityMask_get(swigCPtr); }
+ }
+
+ public AkThreadProperties() : this(AkSoundEnginePINVOKE.CSharp_new_AkThreadProperties(), true) {
+ }
+
+}
+#endif // #if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Mac/AkThreadProperties_Mac.cs.meta b/Assets/Wwise/Deployment/API/Generated/Mac/AkThreadProperties_Mac.cs.meta
new file mode 100644
index 000000000..25fe7c275
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Mac/AkThreadProperties_Mac.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 43aecd2de983b2444a6bd2692513ec75
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Mac/AkUnityPlatformSpecificSettings_Mac.cs b/Assets/Wwise/Deployment/API/Generated/Mac/AkUnityPlatformSpecificSettings_Mac.cs
new file mode 100644
index 000000000..3345c4ca9
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Mac/AkUnityPlatformSpecificSettings_Mac.cs
@@ -0,0 +1,49 @@
+#if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkUnityPlatformSpecificSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkUnityPlatformSpecificSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkUnityPlatformSpecificSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkUnityPlatformSpecificSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkUnityPlatformSpecificSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+}
+#endif // #if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Mac/AkUnityPlatformSpecificSettings_Mac.cs.meta b/Assets/Wwise/Deployment/API/Generated/Mac/AkUnityPlatformSpecificSettings_Mac.cs.meta
new file mode 100644
index 000000000..2df208d2b
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Mac/AkUnityPlatformSpecificSettings_Mac.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 28ee6c4c069b84d4091f75934d4117f7
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Windows.meta b/Assets/Wwise/Deployment/API/Generated/Windows.meta
new file mode 100644
index 000000000..e16308669
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Windows.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 05b51ffc69f3a8f4994515cbec50c82f
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Windows/AkAudioAPI_Windows.cs b/Assets/Wwise/Deployment/API/Generated/Windows/AkAudioAPI_Windows.cs
new file mode 100644
index 000000000..fc66fa945
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Windows/AkAudioAPI_Windows.cs
@@ -0,0 +1,19 @@
+#if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public enum AkAudioAPI {
+ AkAPI_Wasapi = 1 << 0,
+ AkAPI_XAudio2 = 1 << 1,
+ AkAPI_DirectSound = 1 << 2,
+ AkAPI_Default = AkAPI_Wasapi|AkAPI_XAudio2|AkAPI_DirectSound
+}
+#endif // #if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Windows/AkAudioAPI_Windows.cs.meta b/Assets/Wwise/Deployment/API/Generated/Windows/AkAudioAPI_Windows.cs.meta
new file mode 100644
index 000000000..7504b46d3
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Windows/AkAudioAPI_Windows.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4369aac11ea57a34c882d18d573a0c0f
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Windows/AkCommunicationSettings_Windows.cs b/Assets/Wwise/Deployment/API/Generated/Windows/AkCommunicationSettings_Windows.cs
new file mode 100644
index 000000000..b72f54a03
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Windows/AkCommunicationSettings_Windows.cs
@@ -0,0 +1,78 @@
+#if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkCommunicationSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkCommunicationSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkCommunicationSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkCommunicationSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkCommunicationSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkCommunicationSettings() : this(AkSoundEnginePINVOKE.CSharp_new_AkCommunicationSettings(), true) {
+ }
+
+ public uint uPoolSize { set { AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uPoolSize_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uPoolSize_get(swigCPtr); }
+ }
+
+ public ushort uDiscoveryBroadcastPort { set { AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_get(swigCPtr); }
+ }
+
+ public ushort uCommandPort { set { AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uCommandPort_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uCommandPort_get(swigCPtr); }
+ }
+
+ public ushort uNotificationPort { set { AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uNotificationPort_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_uNotificationPort_get(swigCPtr); }
+ }
+
+ public AkCommunicationSettings.AkCommSystem commSystem { set { AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_commSystem_set(swigCPtr, (int)value); } get { return (AkCommunicationSettings.AkCommSystem)AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_commSystem_get(swigCPtr); }
+ }
+
+ public bool bInitSystemLib { set { AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_bInitSystemLib_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_bInitSystemLib_get(swigCPtr); }
+ }
+
+ public string szAppNetworkName { set { AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_szAppNetworkName_set(swigCPtr, value); } get { return AkSoundEngine.StringFromIntPtrString(AkSoundEnginePINVOKE.CSharp_AkCommunicationSettings_szAppNetworkName_get(swigCPtr)); }
+ }
+
+ public enum AkCommSystem {
+ AkCommSystem_Socket,
+ AkCommSystem_HTCS
+ }
+
+}
+#endif // #if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Windows/AkCommunicationSettings_Windows.cs.meta b/Assets/Wwise/Deployment/API/Generated/Windows/AkCommunicationSettings_Windows.cs.meta
new file mode 100644
index 000000000..0ef31dfe4
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Windows/AkCommunicationSettings_Windows.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: accec1e0c2e65a046b288aa5b323fb60
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Windows/AkPlatformInitSettings_Windows.cs b/Assets/Wwise/Deployment/API/Generated/Windows/AkPlatformInitSettings_Windows.cs
new file mode 100644
index 000000000..6b0eed214
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Windows/AkPlatformInitSettings_Windows.cs
@@ -0,0 +1,96 @@
+#if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkPlatformInitSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkPlatformInitSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkPlatformInitSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkPlatformInitSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkPlatformInitSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public AkThreadProperties threadLEngine { set { AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadLEngine_set(swigCPtr, AkThreadProperties.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadLEngine_get(swigCPtr);
+ AkThreadProperties ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkThreadProperties(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkThreadProperties threadOutputMgr { set { AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadOutputMgr_set(swigCPtr, AkThreadProperties.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadOutputMgr_get(swigCPtr);
+ AkThreadProperties ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkThreadProperties(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkThreadProperties threadBankManager { set { AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadBankManager_set(swigCPtr, AkThreadProperties.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadBankManager_get(swigCPtr);
+ AkThreadProperties ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkThreadProperties(cPtr, false);
+ return ret;
+ }
+ }
+
+ public AkThreadProperties threadMonitor { set { AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadMonitor_set(swigCPtr, AkThreadProperties.getCPtr(value)); }
+ get {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadMonitor_get(swigCPtr);
+ AkThreadProperties ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkThreadProperties(cPtr, false);
+ return ret;
+ }
+ }
+
+ public ushort uNumRefillsInVoice { set { AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_uNumRefillsInVoice_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_uNumRefillsInVoice_get(swigCPtr); }
+ }
+
+ public uint uSampleRate { set { AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_uSampleRate_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_uSampleRate_get(swigCPtr); }
+ }
+
+ public AkAudioAPI eAudioAPI { set { AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_eAudioAPI_set(swigCPtr, (int)value); } get { return (AkAudioAPI)AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_eAudioAPI_get(swigCPtr); }
+ }
+
+ public bool bGlobalFocus { set { AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_bGlobalFocus_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_bGlobalFocus_get(swigCPtr); }
+ }
+
+ public bool bEnableAvxSupport { set { AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_bEnableAvxSupport_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkPlatformInitSettings_bEnableAvxSupport_get(swigCPtr); }
+ }
+
+}
+#endif // #if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Windows/AkPlatformInitSettings_Windows.cs.meta b/Assets/Wwise/Deployment/API/Generated/Windows/AkPlatformInitSettings_Windows.cs.meta
new file mode 100644
index 000000000..65f4342f5
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Windows/AkPlatformInitSettings_Windows.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: ba49b40c6b5c4184b8665d1c1f778b1a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEnginePINVOKE_Windows.cs b/Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEnginePINVOKE_Windows.cs
new file mode 100644
index 000000000..9cee08f9b
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEnginePINVOKE_Windows.cs
@@ -0,0 +1,2173 @@
+#if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+class AkSoundEnginePINVOKE {
+
+ static AkSoundEnginePINVOKE() {
+ }
+
+
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_SOUNDBANK_VERSION_get")]
+ public static extern uint CSharp_AK_SOUNDBANK_VERSION_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioSettings_uNumSamplesPerFrame_set")]
+ public static extern void CSharp_AkAudioSettings_uNumSamplesPerFrame_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioSettings_uNumSamplesPerFrame_get")]
+ public static extern uint CSharp_AkAudioSettings_uNumSamplesPerFrame_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioSettings_uNumSamplesPerSecond_set")]
+ public static extern void CSharp_AkAudioSettings_uNumSamplesPerSecond_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioSettings_uNumSamplesPerSecond_get")]
+ public static extern uint CSharp_AkAudioSettings_uNumSamplesPerSecond_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkAudioSettings")]
+ public static extern global::System.IntPtr CSharp_new_AkAudioSettings();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkAudioSettings")]
+ public static extern void CSharp_delete_AkAudioSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_idDevice_set")]
+ public static extern void CSharp_AkDeviceDescription_idDevice_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_idDevice_get")]
+ public static extern uint CSharp_AkDeviceDescription_idDevice_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_deviceName_set")]
+ public static extern void CSharp_AkDeviceDescription_deviceName_set(global::System.IntPtr jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_deviceName_get")]
+ public static extern global::System.IntPtr CSharp_AkDeviceDescription_deviceName_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_deviceStateMask_set")]
+ public static extern void CSharp_AkDeviceDescription_deviceStateMask_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_deviceStateMask_get")]
+ public static extern int CSharp_AkDeviceDescription_deviceStateMask_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_isDefaultDevice_set")]
+ public static extern void CSharp_AkDeviceDescription_isDefaultDevice_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_isDefaultDevice_get")]
+ public static extern bool CSharp_AkDeviceDescription_isDefaultDevice_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_Clear")]
+ public static extern void CSharp_AkDeviceDescription_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_GetSizeOf")]
+ public static extern int CSharp_AkDeviceDescription_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceDescription_Clone")]
+ public static extern void CSharp_AkDeviceDescription_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkDeviceDescription")]
+ public static extern global::System.IntPtr CSharp_new_AkDeviceDescription();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkDeviceDescription")]
+ public static extern void CSharp_delete_AkDeviceDescription(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_Position")]
+ public static extern UnityEngine.Vector3 CSharp_AkTransform_Position(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_OrientationFront")]
+ public static extern UnityEngine.Vector3 CSharp_AkTransform_OrientationFront(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_OrientationTop")]
+ public static extern UnityEngine.Vector3 CSharp_AkTransform_OrientationTop(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_Set__SWIG_0")]
+ public static extern void CSharp_AkTransform_Set__SWIG_0(global::System.IntPtr jarg1, UnityEngine.Vector3 jarg2, UnityEngine.Vector3 jarg3, UnityEngine.Vector3 jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_Set__SWIG_1")]
+ public static extern void CSharp_AkTransform_Set__SWIG_1(global::System.IntPtr jarg1, float jarg2, float jarg3, float jarg4, float jarg5, float jarg6, float jarg7, float jarg8, float jarg9, float jarg10);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_SetPosition__SWIG_0")]
+ public static extern void CSharp_AkTransform_SetPosition__SWIG_0(global::System.IntPtr jarg1, UnityEngine.Vector3 jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_SetPosition__SWIG_1")]
+ public static extern void CSharp_AkTransform_SetPosition__SWIG_1(global::System.IntPtr jarg1, float jarg2, float jarg3, float jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_SetOrientation__SWIG_0")]
+ public static extern void CSharp_AkTransform_SetOrientation__SWIG_0(global::System.IntPtr jarg1, UnityEngine.Vector3 jarg2, UnityEngine.Vector3 jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTransform_SetOrientation__SWIG_1")]
+ public static extern void CSharp_AkTransform_SetOrientation__SWIG_1(global::System.IntPtr jarg1, float jarg2, float jarg3, float jarg4, float jarg5, float jarg6, float jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkTransform")]
+ public static extern global::System.IntPtr CSharp_new_AkTransform();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkTransform")]
+ public static extern void CSharp_delete_AkTransform(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObstructionOcclusionValues_occlusion_set")]
+ public static extern void CSharp_AkObstructionOcclusionValues_occlusion_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObstructionOcclusionValues_occlusion_get")]
+ public static extern float CSharp_AkObstructionOcclusionValues_occlusion_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObstructionOcclusionValues_obstruction_set")]
+ public static extern void CSharp_AkObstructionOcclusionValues_obstruction_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObstructionOcclusionValues_obstruction_get")]
+ public static extern float CSharp_AkObstructionOcclusionValues_obstruction_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObstructionOcclusionValues_Clear")]
+ public static extern void CSharp_AkObstructionOcclusionValues_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObstructionOcclusionValues_GetSizeOf")]
+ public static extern int CSharp_AkObstructionOcclusionValues_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObstructionOcclusionValues_Clone")]
+ public static extern void CSharp_AkObstructionOcclusionValues_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkObstructionOcclusionValues")]
+ public static extern global::System.IntPtr CSharp_new_AkObstructionOcclusionValues();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkObstructionOcclusionValues")]
+ public static extern void CSharp_delete_AkObstructionOcclusionValues(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelEmitter_position_set")]
+ public static extern void CSharp_AkChannelEmitter_position_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelEmitter_position_get")]
+ public static extern global::System.IntPtr CSharp_AkChannelEmitter_position_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelEmitter_uInputChannels_set")]
+ public static extern void CSharp_AkChannelEmitter_uInputChannels_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelEmitter_uInputChannels_get")]
+ public static extern uint CSharp_AkChannelEmitter_uInputChannels_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkChannelEmitter")]
+ public static extern void CSharp_delete_AkChannelEmitter(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_listenerID_set")]
+ public static extern void CSharp_AkAuxSendValue_listenerID_set(global::System.IntPtr jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_listenerID_get")]
+ public static extern ulong CSharp_AkAuxSendValue_listenerID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_auxBusID_set")]
+ public static extern void CSharp_AkAuxSendValue_auxBusID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_auxBusID_get")]
+ public static extern uint CSharp_AkAuxSendValue_auxBusID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_fControlValue_set")]
+ public static extern void CSharp_AkAuxSendValue_fControlValue_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_fControlValue_get")]
+ public static extern float CSharp_AkAuxSendValue_fControlValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_Set")]
+ public static extern void CSharp_AkAuxSendValue_Set(global::System.IntPtr jarg1, ulong jarg2, uint jarg3, float jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_IsSame")]
+ public static extern bool CSharp_AkAuxSendValue_IsSame(global::System.IntPtr jarg1, ulong jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAuxSendValue_GetSizeOf")]
+ public static extern int CSharp_AkAuxSendValue_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkAuxSendValue")]
+ public static extern void CSharp_delete_AkAuxSendValue(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkRamp__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkRamp__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkRamp__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkRamp__SWIG_1(float jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRamp_fPrev_set")]
+ public static extern void CSharp_AkRamp_fPrev_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRamp_fPrev_get")]
+ public static extern float CSharp_AkRamp_fPrev_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRamp_fNext_set")]
+ public static extern void CSharp_AkRamp_fNext_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRamp_fNext_get")]
+ public static extern float CSharp_AkRamp_fNext_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkRamp")]
+ public static extern void CSharp_delete_AkRamp(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_INT_get")]
+ public static extern ushort CSharp_AK_INT_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_FLOAT_get")]
+ public static extern ushort CSharp_AK_FLOAT_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_INTERLEAVED_get")]
+ public static extern byte CSharp_AK_INTERLEAVED_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_NONINTERLEAVED_get")]
+ public static extern byte CSharp_AK_NONINTERLEAVED_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_LE_NATIVE_BITSPERSAMPLE_get")]
+ public static extern uint CSharp_AK_LE_NATIVE_BITSPERSAMPLE_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_LE_NATIVE_SAMPLETYPE_get")]
+ public static extern uint CSharp_AK_LE_NATIVE_SAMPLETYPE_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_LE_NATIVE_INTERLEAVE_get")]
+ public static extern uint CSharp_AK_LE_NATIVE_INTERLEAVE_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uSampleRate_set")]
+ public static extern void CSharp_AkAudioFormat_uSampleRate_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uSampleRate_get")]
+ public static extern uint CSharp_AkAudioFormat_uSampleRate_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_channelConfig_set")]
+ public static extern void CSharp_AkAudioFormat_channelConfig_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_channelConfig_get")]
+ public static extern global::System.IntPtr CSharp_AkAudioFormat_channelConfig_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uBitsPerSample_set")]
+ public static extern void CSharp_AkAudioFormat_uBitsPerSample_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uBitsPerSample_get")]
+ public static extern uint CSharp_AkAudioFormat_uBitsPerSample_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uBlockAlign_set")]
+ public static extern void CSharp_AkAudioFormat_uBlockAlign_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uBlockAlign_get")]
+ public static extern uint CSharp_AkAudioFormat_uBlockAlign_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uTypeID_set")]
+ public static extern void CSharp_AkAudioFormat_uTypeID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uTypeID_get")]
+ public static extern uint CSharp_AkAudioFormat_uTypeID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uInterleaveID_set")]
+ public static extern void CSharp_AkAudioFormat_uInterleaveID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_uInterleaveID_get")]
+ public static extern uint CSharp_AkAudioFormat_uInterleaveID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_GetNumChannels")]
+ public static extern uint CSharp_AkAudioFormat_GetNumChannels(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_GetBitsPerSample")]
+ public static extern uint CSharp_AkAudioFormat_GetBitsPerSample(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_GetBlockAlign")]
+ public static extern uint CSharp_AkAudioFormat_GetBlockAlign(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_GetTypeID")]
+ public static extern uint CSharp_AkAudioFormat_GetTypeID(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_GetInterleaveID")]
+ public static extern uint CSharp_AkAudioFormat_GetInterleaveID(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_SetAll")]
+ public static extern void CSharp_AkAudioFormat_SetAll(global::System.IntPtr jarg1, uint jarg2, global::System.IntPtr jarg3, uint jarg4, uint jarg5, uint jarg6, uint jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioFormat_IsChannelConfigSupported")]
+ public static extern bool CSharp_AkAudioFormat_IsChannelConfigSupported(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkAudioFormat")]
+ public static extern global::System.IntPtr CSharp_new_AkAudioFormat();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkAudioFormat")]
+ public static extern void CSharp_delete_AkAudioFormat(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkIterator_pItem_set")]
+ public static extern void CSharp_AkIterator_pItem_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkIterator_pItem_get")]
+ public static extern global::System.IntPtr CSharp_AkIterator_pItem_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkIterator_NextIter")]
+ public static extern global::System.IntPtr CSharp_AkIterator_NextIter(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkIterator_PrevIter")]
+ public static extern global::System.IntPtr CSharp_AkIterator_PrevIter(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkIterator_GetItem")]
+ public static extern global::System.IntPtr CSharp_AkIterator_GetItem(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkIterator_IsEqualTo")]
+ public static extern bool CSharp_AkIterator_IsEqualTo(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkIterator_IsDifferentFrom")]
+ public static extern bool CSharp_AkIterator_IsDifferentFrom(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkIterator")]
+ public static extern global::System.IntPtr CSharp_new_AkIterator();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkIterator")]
+ public static extern void CSharp_delete_AkIterator(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkPlaylistItem__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkPlaylistItem__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkPlaylistItem__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkPlaylistItem__SWIG_1(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkPlaylistItem")]
+ public static extern void CSharp_delete_AkPlaylistItem(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_Assign")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistItem_Assign(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_IsEqualTo")]
+ public static extern bool CSharp_AkPlaylistItem_IsEqualTo(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_SetExternalSources")]
+ public static extern int CSharp_AkPlaylistItem_SetExternalSources(global::System.IntPtr jarg1, uint jarg2, global::System.IntPtr jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_audioNodeID_set")]
+ public static extern void CSharp_AkPlaylistItem_audioNodeID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_audioNodeID_get")]
+ public static extern uint CSharp_AkPlaylistItem_audioNodeID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_msDelay_set")]
+ public static extern void CSharp_AkPlaylistItem_msDelay_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_msDelay_get")]
+ public static extern int CSharp_AkPlaylistItem_msDelay_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_pCustomInfo_set")]
+ public static extern void CSharp_AkPlaylistItem_pCustomInfo_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistItem_pCustomInfo_get")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistItem_pCustomInfo_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkPlaylistArray")]
+ public static extern global::System.IntPtr CSharp_new_AkPlaylistArray();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkPlaylistArray")]
+ public static extern void CSharp_delete_AkPlaylistArray(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Begin")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_Begin(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_End")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_End(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_FindEx")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_FindEx(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Erase__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_Erase__SWIG_0(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Erase__SWIG_1")]
+ public static extern void CSharp_AkPlaylistArray_Erase__SWIG_1(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_EraseSwap")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_EraseSwap(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_IsGrowingAllowed")]
+ public static extern bool CSharp_AkPlaylistArray_IsGrowingAllowed(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Reserve")]
+ public static extern int CSharp_AkPlaylistArray_Reserve(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Reserved")]
+ public static extern uint CSharp_AkPlaylistArray_Reserved(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Term")]
+ public static extern void CSharp_AkPlaylistArray_Term(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Length")]
+ public static extern uint CSharp_AkPlaylistArray_Length(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Data")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_Data(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_IsEmpty")]
+ public static extern bool CSharp_AkPlaylistArray_IsEmpty(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Exists")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_Exists(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_AddLast__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_AddLast__SWIG_0(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_AddLast__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_AddLast__SWIG_1(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Last")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_Last(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_RemoveLast")]
+ public static extern void CSharp_AkPlaylistArray_RemoveLast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Remove")]
+ public static extern int CSharp_AkPlaylistArray_Remove(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_RemoveSwap")]
+ public static extern int CSharp_AkPlaylistArray_RemoveSwap(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_RemoveAll")]
+ public static extern void CSharp_AkPlaylistArray_RemoveAll(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_ItemAtIndex")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_ItemAtIndex(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Insert")]
+ public static extern global::System.IntPtr CSharp_AkPlaylistArray_Insert(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_GrowArray__SWIG_0")]
+ public static extern bool CSharp_AkPlaylistArray_GrowArray__SWIG_0(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_GrowArray__SWIG_1")]
+ public static extern bool CSharp_AkPlaylistArray_GrowArray__SWIG_1(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Resize")]
+ public static extern bool CSharp_AkPlaylistArray_Resize(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Transfer")]
+ public static extern void CSharp_AkPlaylistArray_Transfer(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylistArray_Copy")]
+ public static extern int CSharp_AkPlaylistArray_Copy(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylist_Enqueue__SWIG_0")]
+ public static extern int CSharp_AkPlaylist_Enqueue__SWIG_0(global::System.IntPtr jarg1, uint jarg2, int jarg3, global::System.IntPtr jarg4, uint jarg5, global::System.IntPtr jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylist_Enqueue__SWIG_1")]
+ public static extern int CSharp_AkPlaylist_Enqueue__SWIG_1(global::System.IntPtr jarg1, uint jarg2, int jarg3, global::System.IntPtr jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylist_Enqueue__SWIG_2")]
+ public static extern int CSharp_AkPlaylist_Enqueue__SWIG_2(global::System.IntPtr jarg1, uint jarg2, int jarg3, global::System.IntPtr jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylist_Enqueue__SWIG_3")]
+ public static extern int CSharp_AkPlaylist_Enqueue__SWIG_3(global::System.IntPtr jarg1, uint jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylist_Enqueue__SWIG_4")]
+ public static extern int CSharp_AkPlaylist_Enqueue__SWIG_4(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkPlaylist")]
+ public static extern global::System.IntPtr CSharp_new_AkPlaylist();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkPlaylist")]
+ public static extern void CSharp_delete_AkPlaylist(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceOpen__SWIG_0")]
+ public static extern uint CSharp_DynamicSequenceOpen__SWIG_0(ulong jarg1, uint jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceOpen__SWIG_1")]
+ public static extern uint CSharp_DynamicSequenceOpen__SWIG_1(ulong jarg1, uint jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceOpen__SWIG_2")]
+ public static extern uint CSharp_DynamicSequenceOpen__SWIG_2(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceClose")]
+ public static extern int CSharp_DynamicSequenceClose(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequencePlay__SWIG_0")]
+ public static extern int CSharp_DynamicSequencePlay__SWIG_0(uint jarg1, int jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequencePlay__SWIG_1")]
+ public static extern int CSharp_DynamicSequencePlay__SWIG_1(uint jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequencePlay__SWIG_2")]
+ public static extern int CSharp_DynamicSequencePlay__SWIG_2(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequencePause__SWIG_0")]
+ public static extern int CSharp_DynamicSequencePause__SWIG_0(uint jarg1, int jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequencePause__SWIG_1")]
+ public static extern int CSharp_DynamicSequencePause__SWIG_1(uint jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequencePause__SWIG_2")]
+ public static extern int CSharp_DynamicSequencePause__SWIG_2(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceResume__SWIG_0")]
+ public static extern int CSharp_DynamicSequenceResume__SWIG_0(uint jarg1, int jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceResume__SWIG_1")]
+ public static extern int CSharp_DynamicSequenceResume__SWIG_1(uint jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceResume__SWIG_2")]
+ public static extern int CSharp_DynamicSequenceResume__SWIG_2(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceStop__SWIG_0")]
+ public static extern int CSharp_DynamicSequenceStop__SWIG_0(uint jarg1, int jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceStop__SWIG_1")]
+ public static extern int CSharp_DynamicSequenceStop__SWIG_1(uint jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceStop__SWIG_2")]
+ public static extern int CSharp_DynamicSequenceStop__SWIG_2(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceBreak")]
+ public static extern int CSharp_DynamicSequenceBreak(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_Seek__SWIG_0")]
+ public static extern int CSharp_Seek__SWIG_0(uint jarg1, int jarg2, bool jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_Seek__SWIG_1")]
+ public static extern int CSharp_Seek__SWIG_1(uint jarg1, float jarg2, bool jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceGetPauseTimes")]
+ public static extern int CSharp_DynamicSequenceGetPauseTimes(uint jarg1, out uint jarg2, out uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceLockPlaylist")]
+ public static extern global::System.IntPtr CSharp_DynamicSequenceLockPlaylist(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_DynamicSequenceUnlockPlaylist")]
+ public static extern int CSharp_DynamicSequenceUnlockPlaylist(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkOutputSettings__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkOutputSettings__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkOutputSettings__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkOutputSettings__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1, uint jarg2, global::System.IntPtr jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkOutputSettings__SWIG_2")]
+ public static extern global::System.IntPtr CSharp_new_AkOutputSettings__SWIG_2([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1, uint jarg2, global::System.IntPtr jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkOutputSettings__SWIG_3")]
+ public static extern global::System.IntPtr CSharp_new_AkOutputSettings__SWIG_3([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkOutputSettings__SWIG_4")]
+ public static extern global::System.IntPtr CSharp_new_AkOutputSettings__SWIG_4([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_audioDeviceShareset_set")]
+ public static extern void CSharp_AkOutputSettings_audioDeviceShareset_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_audioDeviceShareset_get")]
+ public static extern uint CSharp_AkOutputSettings_audioDeviceShareset_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_idDevice_set")]
+ public static extern void CSharp_AkOutputSettings_idDevice_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_idDevice_get")]
+ public static extern uint CSharp_AkOutputSettings_idDevice_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_ePanningRule_set")]
+ public static extern void CSharp_AkOutputSettings_ePanningRule_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_ePanningRule_get")]
+ public static extern int CSharp_AkOutputSettings_ePanningRule_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_channelConfig_set")]
+ public static extern void CSharp_AkOutputSettings_channelConfig_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkOutputSettings_channelConfig_get")]
+ public static extern global::System.IntPtr CSharp_AkOutputSettings_channelConfig_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkOutputSettings")]
+ public static extern void CSharp_delete_AkOutputSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTaskContext_uIdxThread_set")]
+ public static extern void CSharp_AkTaskContext_uIdxThread_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTaskContext_uIdxThread_get")]
+ public static extern uint CSharp_AkTaskContext_uIdxThread_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkTaskContext")]
+ public static extern global::System.IntPtr CSharp_new_AkTaskContext();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkTaskContext")]
+ public static extern void CSharp_delete_AkTaskContext(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uMaxNumPaths_set")]
+ public static extern void CSharp_AkInitSettings_uMaxNumPaths_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uMaxNumPaths_get")]
+ public static extern uint CSharp_AkInitSettings_uMaxNumPaths_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uCommandQueueSize_set")]
+ public static extern void CSharp_AkInitSettings_uCommandQueueSize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uCommandQueueSize_get")]
+ public static extern uint CSharp_AkInitSettings_uCommandQueueSize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bEnableGameSyncPreparation_set")]
+ public static extern void CSharp_AkInitSettings_bEnableGameSyncPreparation_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bEnableGameSyncPreparation_get")]
+ public static extern bool CSharp_AkInitSettings_bEnableGameSyncPreparation_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uContinuousPlaybackLookAhead_set")]
+ public static extern void CSharp_AkInitSettings_uContinuousPlaybackLookAhead_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uContinuousPlaybackLookAhead_get")]
+ public static extern uint CSharp_AkInitSettings_uContinuousPlaybackLookAhead_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uNumSamplesPerFrame_set")]
+ public static extern void CSharp_AkInitSettings_uNumSamplesPerFrame_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uNumSamplesPerFrame_get")]
+ public static extern uint CSharp_AkInitSettings_uNumSamplesPerFrame_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uMonitorQueuePoolSize_set")]
+ public static extern void CSharp_AkInitSettings_uMonitorQueuePoolSize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uMonitorQueuePoolSize_get")]
+ public static extern uint CSharp_AkInitSettings_uMonitorQueuePoolSize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_settingsMainOutput_set")]
+ public static extern void CSharp_AkInitSettings_settingsMainOutput_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_settingsMainOutput_get")]
+ public static extern global::System.IntPtr CSharp_AkInitSettings_settingsMainOutput_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uMaxHardwareTimeoutMs_set")]
+ public static extern void CSharp_AkInitSettings_uMaxHardwareTimeoutMs_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uMaxHardwareTimeoutMs_get")]
+ public static extern uint CSharp_AkInitSettings_uMaxHardwareTimeoutMs_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bUseSoundBankMgrThread_set")]
+ public static extern void CSharp_AkInitSettings_bUseSoundBankMgrThread_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bUseSoundBankMgrThread_get")]
+ public static extern bool CSharp_AkInitSettings_bUseSoundBankMgrThread_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bUseLEngineThread_set")]
+ public static extern void CSharp_AkInitSettings_bUseLEngineThread_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bUseLEngineThread_get")]
+ public static extern bool CSharp_AkInitSettings_bUseLEngineThread_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_szPluginDLLPath_set")]
+ public static extern void CSharp_AkInitSettings_szPluginDLLPath_set(global::System.IntPtr jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_szPluginDLLPath_get")]
+ public static extern global::System.IntPtr CSharp_AkInitSettings_szPluginDLLPath_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_eFloorPlane_set")]
+ public static extern void CSharp_AkInitSettings_eFloorPlane_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_eFloorPlane_get")]
+ public static extern int CSharp_AkInitSettings_eFloorPlane_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uBankReadBufferSize_set")]
+ public static extern void CSharp_AkInitSettings_uBankReadBufferSize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_uBankReadBufferSize_get")]
+ public static extern uint CSharp_AkInitSettings_uBankReadBufferSize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_fDebugOutOfRangeLimit_set")]
+ public static extern void CSharp_AkInitSettings_fDebugOutOfRangeLimit_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_fDebugOutOfRangeLimit_get")]
+ public static extern float CSharp_AkInitSettings_fDebugOutOfRangeLimit_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bDebugOutOfRangeCheckEnabled_set")]
+ public static extern void CSharp_AkInitSettings_bDebugOutOfRangeCheckEnabled_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitSettings_bDebugOutOfRangeCheckEnabled_get")]
+ public static extern bool CSharp_AkInitSettings_bDebugOutOfRangeCheckEnabled_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkInitSettings")]
+ public static extern void CSharp_delete_AkInitSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_sourceID_set")]
+ public static extern void CSharp_AkSourceSettings_sourceID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_sourceID_get")]
+ public static extern uint CSharp_AkSourceSettings_sourceID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_pMediaMemory_set")]
+ public static extern void CSharp_AkSourceSettings_pMediaMemory_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_pMediaMemory_get")]
+ public static extern global::System.IntPtr CSharp_AkSourceSettings_pMediaMemory_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_uMediaSize_set")]
+ public static extern void CSharp_AkSourceSettings_uMediaSize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_uMediaSize_get")]
+ public static extern uint CSharp_AkSourceSettings_uMediaSize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_Clear")]
+ public static extern void CSharp_AkSourceSettings_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_GetSizeOf")]
+ public static extern int CSharp_AkSourceSettings_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSourceSettings_Clone")]
+ public static extern void CSharp_AkSourceSettings_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkSourceSettings")]
+ public static extern global::System.IntPtr CSharp_new_AkSourceSettings();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkSourceSettings")]
+ public static extern void CSharp_delete_AkSourceSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_IsInitialized")]
+ public static extern bool CSharp_IsInitialized();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetAudioSettings")]
+ public static extern int CSharp_GetAudioSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSpeakerConfiguration__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_GetSpeakerConfiguration__SWIG_0(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSpeakerConfiguration__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_GetSpeakerConfiguration__SWIG_1();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetPanningRule__SWIG_0")]
+ public static extern int CSharp_GetPanningRule__SWIG_0(out int jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetPanningRule__SWIG_1")]
+ public static extern int CSharp_GetPanningRule__SWIG_1(out int jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetPanningRule__SWIG_0")]
+ public static extern int CSharp_SetPanningRule__SWIG_0(int jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetPanningRule__SWIG_1")]
+ public static extern int CSharp_SetPanningRule__SWIG_1(int jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSpeakerAngles__SWIG_0")]
+ public static extern int CSharp_GetSpeakerAngles__SWIG_0([global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]float[] jarg1, ref uint jarg2, out float jarg3, ulong jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSpeakerAngles__SWIG_1")]
+ public static extern int CSharp_GetSpeakerAngles__SWIG_1([global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]float[] jarg1, ref uint jarg2, out float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetSpeakerAngles__SWIG_0")]
+ public static extern int CSharp_SetSpeakerAngles__SWIG_0([global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]float[] jarg1, uint jarg2, float jarg3, ulong jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetSpeakerAngles__SWIG_1")]
+ public static extern int CSharp_SetSpeakerAngles__SWIG_1([global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]float[] jarg1, uint jarg2, float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetVolumeThreshold")]
+ public static extern int CSharp_SetVolumeThreshold(float jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMaxNumVoicesLimit")]
+ public static extern int CSharp_SetMaxNumVoicesLimit(ushort jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RenderAudio__SWIG_0")]
+ public static extern int CSharp_RenderAudio__SWIG_0(bool jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RenderAudio__SWIG_1")]
+ public static extern int CSharp_RenderAudio__SWIG_1();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RegisterPluginDLL__SWIG_0")]
+ public static extern int CSharp_RegisterPluginDLL__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RegisterPluginDLL__SWIG_1")]
+ public static extern int CSharp_RegisterPluginDLL__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetIDFromString__SWIG_0")]
+ public static extern uint CSharp_GetIDFromString__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_0")]
+ public static extern uint CSharp_PostEvent__SWIG_0(uint jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7, uint jarg8);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_1")]
+ public static extern uint CSharp_PostEvent__SWIG_1(uint jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_2")]
+ public static extern uint CSharp_PostEvent__SWIG_2(uint jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_3")]
+ public static extern uint CSharp_PostEvent__SWIG_3(uint jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_4")]
+ public static extern uint CSharp_PostEvent__SWIG_4([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7, uint jarg8);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_5")]
+ public static extern uint CSharp_PostEvent__SWIG_5([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_6")]
+ public static extern uint CSharp_PostEvent__SWIG_6([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEvent__SWIG_7")]
+ public static extern uint CSharp_PostEvent__SWIG_7([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_0")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_0(uint jarg1, int jarg2, ulong jarg3, int jarg4, int jarg5, uint jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_1")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_1(uint jarg1, int jarg2, ulong jarg3, int jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_2")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_2(uint jarg1, int jarg2, ulong jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_3")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_3(uint jarg1, int jarg2, ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_4")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_4(uint jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_5")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_5([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, ulong jarg3, int jarg4, int jarg5, uint jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_6")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_6([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, ulong jarg3, int jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_7")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_7([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, ulong jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_8")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_8([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnEvent__SWIG_9")]
+ public static extern int CSharp_ExecuteActionOnEvent__SWIG_9([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostMIDIOnEvent")]
+ public static extern int CSharp_PostMIDIOnEvent(uint jarg1, ulong jarg2, global::System.IntPtr jarg3, ushort jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopMIDIOnEvent__SWIG_0")]
+ public static extern int CSharp_StopMIDIOnEvent__SWIG_0(uint jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopMIDIOnEvent__SWIG_1")]
+ public static extern int CSharp_StopMIDIOnEvent__SWIG_1(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopMIDIOnEvent__SWIG_2")]
+ public static extern int CSharp_StopMIDIOnEvent__SWIG_2();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PinEventInStreamCache__SWIG_0")]
+ public static extern int CSharp_PinEventInStreamCache__SWIG_0(uint jarg1, char jarg2, char jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PinEventInStreamCache__SWIG_1")]
+ public static extern int CSharp_PinEventInStreamCache__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, char jarg2, char jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnpinEventInStreamCache__SWIG_0")]
+ public static extern int CSharp_UnpinEventInStreamCache__SWIG_0(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnpinEventInStreamCache__SWIG_1")]
+ public static extern int CSharp_UnpinEventInStreamCache__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetBufferStatusForPinnedEvent__SWIG_0")]
+ public static extern int CSharp_GetBufferStatusForPinnedEvent__SWIG_0(uint jarg1, out float jarg2, out int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetBufferStatusForPinnedEvent__SWIG_1")]
+ public static extern int CSharp_GetBufferStatusForPinnedEvent__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1, out float jarg2, out int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_0")]
+ public static extern int CSharp_SeekOnEvent__SWIG_0(uint jarg1, ulong jarg2, int jarg3, bool jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_1")]
+ public static extern int CSharp_SeekOnEvent__SWIG_1(uint jarg1, ulong jarg2, int jarg3, bool jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_2")]
+ public static extern int CSharp_SeekOnEvent__SWIG_2(uint jarg1, ulong jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_3")]
+ public static extern int CSharp_SeekOnEvent__SWIG_3([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, int jarg3, bool jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_4")]
+ public static extern int CSharp_SeekOnEvent__SWIG_4([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, int jarg3, bool jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_5")]
+ public static extern int CSharp_SeekOnEvent__SWIG_5([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_9")]
+ public static extern int CSharp_SeekOnEvent__SWIG_9(uint jarg1, ulong jarg2, float jarg3, bool jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_10")]
+ public static extern int CSharp_SeekOnEvent__SWIG_10(uint jarg1, ulong jarg2, float jarg3, bool jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_11")]
+ public static extern int CSharp_SeekOnEvent__SWIG_11(uint jarg1, ulong jarg2, float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_12")]
+ public static extern int CSharp_SeekOnEvent__SWIG_12([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, float jarg3, bool jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_13")]
+ public static extern int CSharp_SeekOnEvent__SWIG_13([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, float jarg3, bool jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SeekOnEvent__SWIG_14")]
+ public static extern int CSharp_SeekOnEvent__SWIG_14([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_CancelEventCallbackCookie")]
+ public static extern void CSharp_CancelEventCallbackCookie(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_CancelEventCallbackGameObject")]
+ public static extern void CSharp_CancelEventCallbackGameObject(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_CancelEventCallback")]
+ public static extern void CSharp_CancelEventCallback(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSourcePlayPosition__SWIG_0")]
+ public static extern int CSharp_GetSourcePlayPosition__SWIG_0(uint jarg1, out int jarg2, bool jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSourcePlayPosition__SWIG_1")]
+ public static extern int CSharp_GetSourcePlayPosition__SWIG_1(uint jarg1, out int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSourceStreamBuffering")]
+ public static extern int CSharp_GetSourceStreamBuffering(uint jarg1, out int jarg2, out int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopAll__SWIG_0")]
+ public static extern void CSharp_StopAll__SWIG_0(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopAll__SWIG_1")]
+ public static extern void CSharp_StopAll__SWIG_1();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopPlayingID__SWIG_0")]
+ public static extern void CSharp_StopPlayingID__SWIG_0(uint jarg1, int jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopPlayingID__SWIG_1")]
+ public static extern void CSharp_StopPlayingID__SWIG_1(uint jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopPlayingID__SWIG_2")]
+ public static extern void CSharp_StopPlayingID__SWIG_2(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnPlayingID__SWIG_0")]
+ public static extern void CSharp_ExecuteActionOnPlayingID__SWIG_0(int jarg1, uint jarg2, int jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnPlayingID__SWIG_1")]
+ public static extern void CSharp_ExecuteActionOnPlayingID__SWIG_1(int jarg1, uint jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ExecuteActionOnPlayingID__SWIG_2")]
+ public static extern void CSharp_ExecuteActionOnPlayingID__SWIG_2(int jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRandomSeed")]
+ public static extern void CSharp_SetRandomSeed(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_MuteBackgroundMusic")]
+ public static extern void CSharp_MuteBackgroundMusic(bool jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetBackgroundMusicMute")]
+ public static extern bool CSharp_GetBackgroundMusicMute();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SendPluginCustomGameData")]
+ public static extern int CSharp_SendPluginCustomGameData(uint jarg1, ulong jarg2, int jarg3, uint jarg4, uint jarg5, global::System.IntPtr jarg6, uint jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnregisterAllGameObj")]
+ public static extern int CSharp_UnregisterAllGameObj();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMultiplePositions__SWIG_0")]
+ public static extern int CSharp_SetMultiplePositions__SWIG_0(ulong jarg1, global::System.IntPtr jarg2, ushort jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMultiplePositions__SWIG_1")]
+ public static extern int CSharp_SetMultiplePositions__SWIG_1(ulong jarg1, global::System.IntPtr jarg2, ushort jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMultiplePositions__SWIG_2")]
+ public static extern int CSharp_SetMultiplePositions__SWIG_2(ulong jarg1, global::System.IntPtr jarg2, ushort jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMultiplePositions__SWIG_3")]
+ public static extern int CSharp_SetMultiplePositions__SWIG_3(ulong jarg1, global::System.IntPtr jarg2, ushort jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetScalingFactor")]
+ public static extern int CSharp_SetScalingFactor(ulong jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ClearBanks")]
+ public static extern int CSharp_ClearBanks();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBankLoadIOSettings")]
+ public static extern int CSharp_SetBankLoadIOSettings(float jarg1, char jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBank__SWIG_0")]
+ public static extern int CSharp_LoadBank__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, out uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBank__SWIG_2")]
+ public static extern int CSharp_LoadBank__SWIG_2(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBankMemoryView__SWIG_0")]
+ public static extern int CSharp_LoadBankMemoryView__SWIG_0(global::System.IntPtr jarg1, uint jarg2, out uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBankMemoryCopy__SWIG_0")]
+ public static extern int CSharp_LoadBankMemoryCopy__SWIG_0(global::System.IntPtr jarg1, uint jarg2, out uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBank__SWIG_3")]
+ public static extern int CSharp_LoadBank__SWIG_3([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, global::System.IntPtr jarg2, global::System.IntPtr jarg3, out uint jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBank__SWIG_5")]
+ public static extern int CSharp_LoadBank__SWIG_5(uint jarg1, global::System.IntPtr jarg2, global::System.IntPtr jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBankMemoryView__SWIG_1")]
+ public static extern int CSharp_LoadBankMemoryView__SWIG_1(global::System.IntPtr jarg1, uint jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4, out uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadBankMemoryCopy__SWIG_1")]
+ public static extern int CSharp_LoadBankMemoryCopy__SWIG_1(global::System.IntPtr jarg1, uint jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4, out uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnloadBank__SWIG_0")]
+ public static extern int CSharp_UnloadBank__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnloadBank__SWIG_2")]
+ public static extern int CSharp_UnloadBank__SWIG_2(uint jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnloadBank__SWIG_3")]
+ public static extern int CSharp_UnloadBank__SWIG_3([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, global::System.IntPtr jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnloadBank__SWIG_5")]
+ public static extern int CSharp_UnloadBank__SWIG_5(uint jarg1, global::System.IntPtr jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_CancelBankCallbackCookie")]
+ public static extern void CSharp_CancelBankCallbackCookie(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_0")]
+ public static extern int CSharp_PrepareBank__SWIG_0(int jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_1")]
+ public static extern int CSharp_PrepareBank__SWIG_1(int jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_4")]
+ public static extern int CSharp_PrepareBank__SWIG_4(int jarg1, uint jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_5")]
+ public static extern int CSharp_PrepareBank__SWIG_5(int jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_6")]
+ public static extern int CSharp_PrepareBank__SWIG_6(int jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_7")]
+ public static extern int CSharp_PrepareBank__SWIG_7(int jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_10")]
+ public static extern int CSharp_PrepareBank__SWIG_10(int jarg1, uint jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareBank__SWIG_11")]
+ public static extern int CSharp_PrepareBank__SWIG_11(int jarg1, uint jarg2, global::System.IntPtr jarg3, global::System.IntPtr jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ClearPreparedEvents")]
+ public static extern int CSharp_ClearPreparedEvents();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareEvent__SWIG_0")]
+ public static extern int CSharp_PrepareEvent__SWIG_0(int jarg1, global::System.IntPtr jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareEvent__SWIG_1")]
+ public static extern int CSharp_PrepareEvent__SWIG_1(int jarg1, [global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareEvent__SWIG_2")]
+ public static extern int CSharp_PrepareEvent__SWIG_2(int jarg1, global::System.IntPtr jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareEvent__SWIG_3")]
+ public static extern int CSharp_PrepareEvent__SWIG_3(int jarg1, [global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMedia")]
+ public static extern int CSharp_SetMedia(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnsetMedia")]
+ public static extern int CSharp_UnsetMedia(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareGameSyncs__SWIG_0")]
+ public static extern int CSharp_PrepareGameSyncs__SWIG_0(int jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg3, global::System.IntPtr jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareGameSyncs__SWIG_1")]
+ public static extern int CSharp_PrepareGameSyncs__SWIG_1(int jarg1, int jarg2, uint jarg3, [global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareGameSyncs__SWIG_2")]
+ public static extern int CSharp_PrepareGameSyncs__SWIG_2(int jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg3, global::System.IntPtr jarg4, uint jarg5, global::System.IntPtr jarg6, global::System.IntPtr jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PrepareGameSyncs__SWIG_3")]
+ public static extern int CSharp_PrepareGameSyncs__SWIG_3(int jarg1, int jarg2, uint jarg3, [global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg4, uint jarg5, global::System.IntPtr jarg6, global::System.IntPtr jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddListener")]
+ public static extern int CSharp_AddListener(ulong jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RemoveListener")]
+ public static extern int CSharp_RemoveListener(ulong jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddDefaultListener")]
+ public static extern int CSharp_AddDefaultListener(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RemoveDefaultListener")]
+ public static extern int CSharp_RemoveDefaultListener(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetListenersToDefault")]
+ public static extern int CSharp_ResetListenersToDefault(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetListenerSpatialization__SWIG_0")]
+ public static extern int CSharp_SetListenerSpatialization__SWIG_0(ulong jarg1, bool jarg2, global::System.IntPtr jarg3, [global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]float[] jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetListenerSpatialization__SWIG_1")]
+ public static extern int CSharp_SetListenerSpatialization__SWIG_1(ulong jarg1, bool jarg2, global::System.IntPtr jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_0")]
+ public static extern int CSharp_SetRTPCValue__SWIG_0(uint jarg1, float jarg2, ulong jarg3, int jarg4, int jarg5, bool jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_1")]
+ public static extern int CSharp_SetRTPCValue__SWIG_1(uint jarg1, float jarg2, ulong jarg3, int jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_2")]
+ public static extern int CSharp_SetRTPCValue__SWIG_2(uint jarg1, float jarg2, ulong jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_3")]
+ public static extern int CSharp_SetRTPCValue__SWIG_3(uint jarg1, float jarg2, ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_4")]
+ public static extern int CSharp_SetRTPCValue__SWIG_4(uint jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_5")]
+ public static extern int CSharp_SetRTPCValue__SWIG_5([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, ulong jarg3, int jarg4, int jarg5, bool jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_6")]
+ public static extern int CSharp_SetRTPCValue__SWIG_6([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, ulong jarg3, int jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_7")]
+ public static extern int CSharp_SetRTPCValue__SWIG_7([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, ulong jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_8")]
+ public static extern int CSharp_SetRTPCValue__SWIG_8([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValue__SWIG_9")]
+ public static extern int CSharp_SetRTPCValue__SWIG_9([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_0")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_0(uint jarg1, float jarg2, uint jarg3, int jarg4, int jarg5, bool jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_1")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_1(uint jarg1, float jarg2, uint jarg3, int jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_2")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_2(uint jarg1, float jarg2, uint jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_3")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_3(uint jarg1, float jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_4")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_4([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, uint jarg3, int jarg4, int jarg5, bool jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_5")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_5([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, uint jarg3, int jarg4, int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_6")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_6([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, uint jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRTPCValueByPlayingID__SWIG_7")]
+ public static extern int CSharp_SetRTPCValueByPlayingID__SWIG_7([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, float jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_0")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_0(uint jarg1, ulong jarg2, int jarg3, int jarg4, bool jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_1")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_1(uint jarg1, ulong jarg2, int jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_2")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_2(uint jarg1, ulong jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_3")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_3(uint jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_4")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_4(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_5")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_5([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, int jarg3, int jarg4, bool jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_6")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_6([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, int jarg3, int jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_7")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_7([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_8")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_8([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResetRTPCValue__SWIG_9")]
+ public static extern int CSharp_ResetRTPCValue__SWIG_9([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetSwitch__SWIG_0")]
+ public static extern int CSharp_SetSwitch__SWIG_0(uint jarg1, uint jarg2, ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetSwitch__SWIG_1")]
+ public static extern int CSharp_SetSwitch__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2, ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostTrigger__SWIG_0")]
+ public static extern int CSharp_PostTrigger__SWIG_0(uint jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostTrigger__SWIG_1")]
+ public static extern int CSharp_PostTrigger__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetState__SWIG_0")]
+ public static extern int CSharp_SetState__SWIG_0(uint jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetState__SWIG_1")]
+ public static extern int CSharp_SetState__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetGameObjectAuxSendValues")]
+ public static extern int CSharp_SetGameObjectAuxSendValues(ulong jarg1, global::System.IntPtr jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetGameObjectOutputBusVolume")]
+ public static extern int CSharp_SetGameObjectOutputBusVolume(ulong jarg1, ulong jarg2, float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetActorMixerEffect")]
+ public static extern int CSharp_SetActorMixerEffect(uint jarg1, uint jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBusEffect__SWIG_0")]
+ public static extern int CSharp_SetBusEffect__SWIG_0(uint jarg1, uint jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBusEffect__SWIG_1")]
+ public static extern int CSharp_SetBusEffect__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, uint jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMixer__SWIG_0")]
+ public static extern int CSharp_SetMixer__SWIG_0(uint jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMixer__SWIG_1")]
+ public static extern int CSharp_SetMixer__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBusConfig__SWIG_0")]
+ public static extern int CSharp_SetBusConfig__SWIG_0(uint jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBusConfig__SWIG_1")]
+ public static extern int CSharp_SetBusConfig__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetObjectObstructionAndOcclusion")]
+ public static extern int CSharp_SetObjectObstructionAndOcclusion(ulong jarg1, ulong jarg2, float jarg3, float jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetMultipleObstructionAndOcclusion")]
+ public static extern int CSharp_SetMultipleObstructionAndOcclusion(ulong jarg1, ulong jarg2, global::System.IntPtr jarg3, uint jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StartOutputCapture")]
+ public static extern int CSharp_StartOutputCapture([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopOutputCapture")]
+ public static extern int CSharp_StopOutputCapture();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddOutputCaptureMarker")]
+ public static extern int CSharp_AddOutputCaptureMarker([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StartProfilerCapture")]
+ public static extern int CSharp_StartProfilerCapture([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopProfilerCapture")]
+ public static extern int CSharp_StopProfilerCapture();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RemoveOutput")]
+ public static extern int CSharp_RemoveOutput(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ReplaceOutput__SWIG_0")]
+ public static extern int CSharp_ReplaceOutput__SWIG_0(global::System.IntPtr jarg1, ulong jarg2, out ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ReplaceOutput__SWIG_1")]
+ public static extern int CSharp_ReplaceOutput__SWIG_1(global::System.IntPtr jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetOutputID__SWIG_0")]
+ public static extern ulong CSharp_GetOutputID__SWIG_0(uint jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetOutputID__SWIG_1")]
+ public static extern ulong CSharp_GetOutputID__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBusDevice__SWIG_0")]
+ public static extern int CSharp_SetBusDevice__SWIG_0(uint jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBusDevice__SWIG_1")]
+ public static extern int CSharp_SetBusDevice__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDeviceList__SWIG_0")]
+ public static extern int CSharp_GetDeviceList__SWIG_0(uint jarg1, uint jarg2, out uint jarg3, global::System.IntPtr jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDeviceList__SWIG_1")]
+ public static extern int CSharp_GetDeviceList__SWIG_1(uint jarg1, out uint jarg2, global::System.IntPtr jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetOutputVolume")]
+ public static extern int CSharp_SetOutputVolume(ulong jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDeviceSpatialAudioSupport")]
+ public static extern int CSharp_GetDeviceSpatialAudioSupport(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_Suspend__SWIG_0")]
+ public static extern int CSharp_Suspend__SWIG_0(bool jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_Suspend__SWIG_1")]
+ public static extern int CSharp_Suspend__SWIG_1();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_WakeupFromSuspend")]
+ public static extern int CSharp_WakeupFromSuspend();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetBufferTick")]
+ public static extern uint CSharp_GetBufferTick();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iCurrentPosition_set")]
+ public static extern void CSharp_AkSegmentInfo_iCurrentPosition_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iCurrentPosition_get")]
+ public static extern int CSharp_AkSegmentInfo_iCurrentPosition_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iPreEntryDuration_set")]
+ public static extern void CSharp_AkSegmentInfo_iPreEntryDuration_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iPreEntryDuration_get")]
+ public static extern int CSharp_AkSegmentInfo_iPreEntryDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iActiveDuration_set")]
+ public static extern void CSharp_AkSegmentInfo_iActiveDuration_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iActiveDuration_get")]
+ public static extern int CSharp_AkSegmentInfo_iActiveDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iPostExitDuration_set")]
+ public static extern void CSharp_AkSegmentInfo_iPostExitDuration_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iPostExitDuration_get")]
+ public static extern int CSharp_AkSegmentInfo_iPostExitDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iRemainingLookAheadTime_set")]
+ public static extern void CSharp_AkSegmentInfo_iRemainingLookAheadTime_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_iRemainingLookAheadTime_get")]
+ public static extern int CSharp_AkSegmentInfo_iRemainingLookAheadTime_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fBeatDuration_set")]
+ public static extern void CSharp_AkSegmentInfo_fBeatDuration_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fBeatDuration_get")]
+ public static extern float CSharp_AkSegmentInfo_fBeatDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fBarDuration_set")]
+ public static extern void CSharp_AkSegmentInfo_fBarDuration_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fBarDuration_get")]
+ public static extern float CSharp_AkSegmentInfo_fBarDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fGridDuration_set")]
+ public static extern void CSharp_AkSegmentInfo_fGridDuration_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fGridDuration_get")]
+ public static extern float CSharp_AkSegmentInfo_fGridDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fGridOffset_set")]
+ public static extern void CSharp_AkSegmentInfo_fGridOffset_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSegmentInfo_fGridOffset_get")]
+ public static extern float CSharp_AkSegmentInfo_fGridOffset_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkSegmentInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkSegmentInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkSegmentInfo")]
+ public static extern void CSharp_delete_AkSegmentInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_totalCPU_set")]
+ public static extern void CSharp_AkResourceMonitorDataSummary_totalCPU_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_totalCPU_get")]
+ public static extern float CSharp_AkResourceMonitorDataSummary_totalCPU_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_pluginCPU_set")]
+ public static extern void CSharp_AkResourceMonitorDataSummary_pluginCPU_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_pluginCPU_get")]
+ public static extern float CSharp_AkResourceMonitorDataSummary_pluginCPU_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_physicalVoices_set")]
+ public static extern void CSharp_AkResourceMonitorDataSummary_physicalVoices_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_physicalVoices_get")]
+ public static extern uint CSharp_AkResourceMonitorDataSummary_physicalVoices_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_virtualVoices_set")]
+ public static extern void CSharp_AkResourceMonitorDataSummary_virtualVoices_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_virtualVoices_get")]
+ public static extern uint CSharp_AkResourceMonitorDataSummary_virtualVoices_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_totalVoices_set")]
+ public static extern void CSharp_AkResourceMonitorDataSummary_totalVoices_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_totalVoices_get")]
+ public static extern uint CSharp_AkResourceMonitorDataSummary_totalVoices_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_nbActiveEvents_set")]
+ public static extern void CSharp_AkResourceMonitorDataSummary_nbActiveEvents_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkResourceMonitorDataSummary_nbActiveEvents_get")]
+ public static extern uint CSharp_AkResourceMonitorDataSummary_nbActiveEvents_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkResourceMonitorDataSummary")]
+ public static extern global::System.IntPtr CSharp_new_AkResourceMonitorDataSummary();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkResourceMonitorDataSummary")]
+ public static extern void CSharp_delete_AkResourceMonitorDataSummary(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_INVALID_MIDI_CHANNEL_get")]
+ public static extern byte CSharp_AK_INVALID_MIDI_CHANNEL_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_INVALID_MIDI_NOTE_get")]
+ public static extern byte CSharp_AK_INVALID_MIDI_NOTE_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byChan_set")]
+ public static extern void CSharp_AkMIDIEvent_byChan_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byChan_get")]
+ public static extern byte CSharp_AkMIDIEvent_byChan_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tGen_byParam1_set")]
+ public static extern void CSharp_AkMIDIEvent_tGen_byParam1_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tGen_byParam1_get")]
+ public static extern byte CSharp_AkMIDIEvent_tGen_byParam1_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tGen_byParam2_set")]
+ public static extern void CSharp_AkMIDIEvent_tGen_byParam2_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tGen_byParam2_get")]
+ public static extern byte CSharp_AkMIDIEvent_tGen_byParam2_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent_tGen")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent_tGen();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent_tGen")]
+ public static extern void CSharp_delete_AkMIDIEvent_tGen(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteOnOff_byNote_set")]
+ public static extern void CSharp_AkMIDIEvent_tNoteOnOff_byNote_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteOnOff_byNote_get")]
+ public static extern byte CSharp_AkMIDIEvent_tNoteOnOff_byNote_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteOnOff_byVelocity_set")]
+ public static extern void CSharp_AkMIDIEvent_tNoteOnOff_byVelocity_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteOnOff_byVelocity_get")]
+ public static extern byte CSharp_AkMIDIEvent_tNoteOnOff_byVelocity_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent_tNoteOnOff")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent_tNoteOnOff();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent_tNoteOnOff")]
+ public static extern void CSharp_delete_AkMIDIEvent_tNoteOnOff(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tCc_byCc_set")]
+ public static extern void CSharp_AkMIDIEvent_tCc_byCc_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tCc_byCc_get")]
+ public static extern byte CSharp_AkMIDIEvent_tCc_byCc_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tCc_byValue_set")]
+ public static extern void CSharp_AkMIDIEvent_tCc_byValue_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tCc_byValue_get")]
+ public static extern byte CSharp_AkMIDIEvent_tCc_byValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent_tCc")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent_tCc();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent_tCc")]
+ public static extern void CSharp_delete_AkMIDIEvent_tCc(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tPitchBend_byValueLsb_set")]
+ public static extern void CSharp_AkMIDIEvent_tPitchBend_byValueLsb_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tPitchBend_byValueLsb_get")]
+ public static extern byte CSharp_AkMIDIEvent_tPitchBend_byValueLsb_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tPitchBend_byValueMsb_set")]
+ public static extern void CSharp_AkMIDIEvent_tPitchBend_byValueMsb_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tPitchBend_byValueMsb_get")]
+ public static extern byte CSharp_AkMIDIEvent_tPitchBend_byValueMsb_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent_tPitchBend")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent_tPitchBend();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent_tPitchBend")]
+ public static extern void CSharp_delete_AkMIDIEvent_tPitchBend(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteAftertouch_byNote_set")]
+ public static extern void CSharp_AkMIDIEvent_tNoteAftertouch_byNote_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteAftertouch_byNote_get")]
+ public static extern byte CSharp_AkMIDIEvent_tNoteAftertouch_byNote_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteAftertouch_byValue_set")]
+ public static extern void CSharp_AkMIDIEvent_tNoteAftertouch_byValue_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tNoteAftertouch_byValue_get")]
+ public static extern byte CSharp_AkMIDIEvent_tNoteAftertouch_byValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent_tNoteAftertouch")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent_tNoteAftertouch();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent_tNoteAftertouch")]
+ public static extern void CSharp_delete_AkMIDIEvent_tNoteAftertouch(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tChanAftertouch_byValue_set")]
+ public static extern void CSharp_AkMIDIEvent_tChanAftertouch_byValue_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tChanAftertouch_byValue_get")]
+ public static extern byte CSharp_AkMIDIEvent_tChanAftertouch_byValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent_tChanAftertouch")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent_tChanAftertouch();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent_tChanAftertouch")]
+ public static extern void CSharp_delete_AkMIDIEvent_tChanAftertouch(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tProgramChange_byProgramNum_set")]
+ public static extern void CSharp_AkMIDIEvent_tProgramChange_byProgramNum_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_tProgramChange_byProgramNum_get")]
+ public static extern byte CSharp_AkMIDIEvent_tProgramChange_byProgramNum_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent_tProgramChange")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent_tProgramChange();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent_tProgramChange")]
+ public static extern void CSharp_delete_AkMIDIEvent_tProgramChange(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_Gen_set")]
+ public static extern void CSharp_AkMIDIEvent_Gen_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_Gen_get")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEvent_Gen_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_Cc_set")]
+ public static extern void CSharp_AkMIDIEvent_Cc_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_Cc_get")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEvent_Cc_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_NoteOnOff_set")]
+ public static extern void CSharp_AkMIDIEvent_NoteOnOff_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_NoteOnOff_get")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEvent_NoteOnOff_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_PitchBend_set")]
+ public static extern void CSharp_AkMIDIEvent_PitchBend_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_PitchBend_get")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEvent_PitchBend_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_NoteAftertouch_set")]
+ public static extern void CSharp_AkMIDIEvent_NoteAftertouch_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_NoteAftertouch_get")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEvent_NoteAftertouch_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_ChanAftertouch_set")]
+ public static extern void CSharp_AkMIDIEvent_ChanAftertouch_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_ChanAftertouch_get")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEvent_ChanAftertouch_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_ProgramChange_set")]
+ public static extern void CSharp_AkMIDIEvent_ProgramChange_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_ProgramChange_get")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEvent_ProgramChange_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byType_set")]
+ public static extern void CSharp_AkMIDIEvent_byType_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byType_get")]
+ public static extern int CSharp_AkMIDIEvent_byType_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byOnOffNote_set")]
+ public static extern void CSharp_AkMIDIEvent_byOnOffNote_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byOnOffNote_get")]
+ public static extern byte CSharp_AkMIDIEvent_byOnOffNote_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byVelocity_set")]
+ public static extern void CSharp_AkMIDIEvent_byVelocity_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byVelocity_get")]
+ public static extern byte CSharp_AkMIDIEvent_byVelocity_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byCc_set")]
+ public static extern void CSharp_AkMIDIEvent_byCc_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byCc_get")]
+ public static extern int CSharp_AkMIDIEvent_byCc_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byCcValue_set")]
+ public static extern void CSharp_AkMIDIEvent_byCcValue_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byCcValue_get")]
+ public static extern byte CSharp_AkMIDIEvent_byCcValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byValueLsb_set")]
+ public static extern void CSharp_AkMIDIEvent_byValueLsb_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byValueLsb_get")]
+ public static extern byte CSharp_AkMIDIEvent_byValueLsb_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byValueMsb_set")]
+ public static extern void CSharp_AkMIDIEvent_byValueMsb_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byValueMsb_get")]
+ public static extern byte CSharp_AkMIDIEvent_byValueMsb_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byAftertouchNote_set")]
+ public static extern void CSharp_AkMIDIEvent_byAftertouchNote_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byAftertouchNote_get")]
+ public static extern byte CSharp_AkMIDIEvent_byAftertouchNote_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byNoteAftertouchValue_set")]
+ public static extern void CSharp_AkMIDIEvent_byNoteAftertouchValue_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byNoteAftertouchValue_get")]
+ public static extern byte CSharp_AkMIDIEvent_byNoteAftertouchValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byChanAftertouchValue_set")]
+ public static extern void CSharp_AkMIDIEvent_byChanAftertouchValue_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byChanAftertouchValue_get")]
+ public static extern byte CSharp_AkMIDIEvent_byChanAftertouchValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byProgramNum_set")]
+ public static extern void CSharp_AkMIDIEvent_byProgramNum_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEvent_byProgramNum_get")]
+ public static extern byte CSharp_AkMIDIEvent_byProgramNum_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEvent")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEvent();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEvent")]
+ public static extern void CSharp_delete_AkMIDIEvent(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIPost_uOffset_set")]
+ public static extern void CSharp_AkMIDIPost_uOffset_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIPost_uOffset_get")]
+ public static extern uint CSharp_AkMIDIPost_uOffset_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIPost_PostOnEvent")]
+ public static extern int CSharp_AkMIDIPost_PostOnEvent(global::System.IntPtr jarg1, uint jarg2, ulong jarg3, uint jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIPost_Clone")]
+ public static extern void CSharp_AkMIDIPost_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIPost_GetSizeOf")]
+ public static extern int CSharp_AkMIDIPost_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIPost")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIPost();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIPost")]
+ public static extern void CSharp_delete_AkMIDIPost(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSettings_fStreamingLookAheadRatio_set")]
+ public static extern void CSharp_AkMusicSettings_fStreamingLookAheadRatio_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSettings_fStreamingLookAheadRatio_get")]
+ public static extern float CSharp_AkMusicSettings_fStreamingLookAheadRatio_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMusicSettings")]
+ public static extern void CSharp_delete_AkMusicSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetPlayingSegmentInfo__SWIG_0")]
+ public static extern int CSharp_GetPlayingSegmentInfo__SWIG_0(uint jarg1, global::System.IntPtr jarg2, bool jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetPlayingSegmentInfo__SWIG_1")]
+ public static extern int CSharp_GetPlayingSegmentInfo__SWIG_1(uint jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSerializedCallbackHeader_pPackage_get")]
+ public static extern global::System.IntPtr CSharp_AkSerializedCallbackHeader_pPackage_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSerializedCallbackHeader_pNext_get")]
+ public static extern global::System.IntPtr CSharp_AkSerializedCallbackHeader_pNext_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSerializedCallbackHeader_eType_get")]
+ public static extern int CSharp_AkSerializedCallbackHeader_eType_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSerializedCallbackHeader_GetData")]
+ public static extern global::System.IntPtr CSharp_AkSerializedCallbackHeader_GetData(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkSerializedCallbackHeader")]
+ public static extern global::System.IntPtr CSharp_new_AkSerializedCallbackHeader();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkSerializedCallbackHeader")]
+ public static extern void CSharp_delete_AkSerializedCallbackHeader(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackInfo_pCookie_get")]
+ public static extern global::System.IntPtr CSharp_AkCallbackInfo_pCookie_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackInfo_gameObjID_get")]
+ public static extern ulong CSharp_AkCallbackInfo_gameObjID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkCallbackInfo")]
+ public static extern void CSharp_delete_AkCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkEventCallbackInfo_playingID_get")]
+ public static extern uint CSharp_AkEventCallbackInfo_playingID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkEventCallbackInfo_eventID_get")]
+ public static extern uint CSharp_AkEventCallbackInfo_eventID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkEventCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkEventCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkEventCallbackInfo")]
+ public static extern void CSharp_delete_AkEventCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byChan_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byChan_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byParam1_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byParam1_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byParam2_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byParam2_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byType_get")]
+ public static extern int CSharp_AkMIDIEventCallbackInfo_byType_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byOnOffNote_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byOnOffNote_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byVelocity_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byVelocity_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byCc_get")]
+ public static extern int CSharp_AkMIDIEventCallbackInfo_byCc_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byCcValue_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byCcValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byValueLsb_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byValueLsb_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byValueMsb_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byValueMsb_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byAftertouchNote_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byAftertouchNote_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byNoteAftertouchValue_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byNoteAftertouchValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byChanAftertouchValue_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byChanAftertouchValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_byProgramNum_get")]
+ public static extern byte CSharp_AkMIDIEventCallbackInfo_byProgramNum_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMIDIEventCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkMIDIEventCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMIDIEventCallbackInfo")]
+ public static extern void CSharp_delete_AkMIDIEventCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMarkerCallbackInfo_uIdentifier_get")]
+ public static extern uint CSharp_AkMarkerCallbackInfo_uIdentifier_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMarkerCallbackInfo_uPosition_get")]
+ public static extern uint CSharp_AkMarkerCallbackInfo_uPosition_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMarkerCallbackInfo_strLabel_get")]
+ public static extern global::System.IntPtr CSharp_AkMarkerCallbackInfo_strLabel_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMarkerCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkMarkerCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMarkerCallbackInfo")]
+ public static extern void CSharp_delete_AkMarkerCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDurationCallbackInfo_fDuration_get")]
+ public static extern float CSharp_AkDurationCallbackInfo_fDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDurationCallbackInfo_fEstimatedDuration_get")]
+ public static extern float CSharp_AkDurationCallbackInfo_fEstimatedDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDurationCallbackInfo_audioNodeID_get")]
+ public static extern uint CSharp_AkDurationCallbackInfo_audioNodeID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDurationCallbackInfo_mediaID_get")]
+ public static extern uint CSharp_AkDurationCallbackInfo_mediaID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDurationCallbackInfo_bStreaming_get")]
+ public static extern bool CSharp_AkDurationCallbackInfo_bStreaming_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkDurationCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkDurationCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkDurationCallbackInfo")]
+ public static extern void CSharp_delete_AkDurationCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDynamicSequenceItemCallbackInfo_playingID_get")]
+ public static extern uint CSharp_AkDynamicSequenceItemCallbackInfo_playingID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDynamicSequenceItemCallbackInfo_audioNodeID_get")]
+ public static extern uint CSharp_AkDynamicSequenceItemCallbackInfo_audioNodeID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDynamicSequenceItemCallbackInfo_pCustomInfo_get")]
+ public static extern global::System.IntPtr CSharp_AkDynamicSequenceItemCallbackInfo_pCustomInfo_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkDynamicSequenceItemCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkDynamicSequenceItemCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkDynamicSequenceItemCallbackInfo")]
+ public static extern void CSharp_delete_AkDynamicSequenceItemCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_playingID_get")]
+ public static extern uint CSharp_AkMusicSyncCallbackInfo_playingID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_iCurrentPosition_get")]
+ public static extern int CSharp_AkMusicSyncCallbackInfo_segmentInfo_iCurrentPosition_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_iPreEntryDuration_get")]
+ public static extern int CSharp_AkMusicSyncCallbackInfo_segmentInfo_iPreEntryDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_iActiveDuration_get")]
+ public static extern int CSharp_AkMusicSyncCallbackInfo_segmentInfo_iActiveDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_iPostExitDuration_get")]
+ public static extern int CSharp_AkMusicSyncCallbackInfo_segmentInfo_iPostExitDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_iRemainingLookAheadTime_get")]
+ public static extern int CSharp_AkMusicSyncCallbackInfo_segmentInfo_iRemainingLookAheadTime_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_fBeatDuration_get")]
+ public static extern float CSharp_AkMusicSyncCallbackInfo_segmentInfo_fBeatDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_fBarDuration_get")]
+ public static extern float CSharp_AkMusicSyncCallbackInfo_segmentInfo_fBarDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_fGridDuration_get")]
+ public static extern float CSharp_AkMusicSyncCallbackInfo_segmentInfo_fGridDuration_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_segmentInfo_fGridOffset_get")]
+ public static extern float CSharp_AkMusicSyncCallbackInfo_segmentInfo_fGridOffset_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_musicSyncType_get")]
+ public static extern int CSharp_AkMusicSyncCallbackInfo_musicSyncType_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_userCueName_get")]
+ public static extern global::System.IntPtr CSharp_AkMusicSyncCallbackInfo_userCueName_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMusicSyncCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkMusicSyncCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMusicSyncCallbackInfo")]
+ public static extern void CSharp_delete_AkMusicSyncCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicPlaylistCallbackInfo_playlistID_get")]
+ public static extern uint CSharp_AkMusicPlaylistCallbackInfo_playlistID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicPlaylistCallbackInfo_uNumPlaylistItems_get")]
+ public static extern uint CSharp_AkMusicPlaylistCallbackInfo_uNumPlaylistItems_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicPlaylistCallbackInfo_uPlaylistSelection_get")]
+ public static extern uint CSharp_AkMusicPlaylistCallbackInfo_uPlaylistSelection_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicPlaylistCallbackInfo_uPlaylistItemDone_get")]
+ public static extern uint CSharp_AkMusicPlaylistCallbackInfo_uPlaylistItemDone_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMusicPlaylistCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkMusicPlaylistCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMusicPlaylistCallbackInfo")]
+ public static extern void CSharp_delete_AkMusicPlaylistCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkBankCallbackInfo_bankID_get")]
+ public static extern uint CSharp_AkBankCallbackInfo_bankID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkBankCallbackInfo_inMemoryBankPtr_get")]
+ public static extern global::System.IntPtr CSharp_AkBankCallbackInfo_inMemoryBankPtr_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkBankCallbackInfo_loadResult_get")]
+ public static extern int CSharp_AkBankCallbackInfo_loadResult_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkBankCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkBankCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkBankCallbackInfo")]
+ public static extern void CSharp_delete_AkBankCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMonitoringCallbackInfo_errorCode_get")]
+ public static extern int CSharp_AkMonitoringCallbackInfo_errorCode_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMonitoringCallbackInfo_errorLevel_get")]
+ public static extern int CSharp_AkMonitoringCallbackInfo_errorLevel_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMonitoringCallbackInfo_playingID_get")]
+ public static extern uint CSharp_AkMonitoringCallbackInfo_playingID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMonitoringCallbackInfo_gameObjID_get")]
+ public static extern ulong CSharp_AkMonitoringCallbackInfo_gameObjID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMonitoringCallbackInfo_message_get")]
+ public static extern global::System.IntPtr CSharp_AkMonitoringCallbackInfo_message_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkMonitoringCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkMonitoringCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkMonitoringCallbackInfo")]
+ public static extern void CSharp_delete_AkMonitoringCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioInterruptionCallbackInfo_bEnterInterruption_get")]
+ public static extern bool CSharp_AkAudioInterruptionCallbackInfo_bEnterInterruption_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkAudioInterruptionCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkAudioInterruptionCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkAudioInterruptionCallbackInfo")]
+ public static extern void CSharp_delete_AkAudioInterruptionCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAudioSourceChangeCallbackInfo_bOtherAudioPlaying_get")]
+ public static extern bool CSharp_AkAudioSourceChangeCallbackInfo_bOtherAudioPlaying_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkAudioSourceChangeCallbackInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkAudioSourceChangeCallbackInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkAudioSourceChangeCallbackInfo")]
+ public static extern void CSharp_delete_AkAudioSourceChangeCallbackInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LocalOutput")]
+ public static extern void CSharp_LocalOutput(int jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2, int jarg3, uint jarg4, ulong jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackSerializer_Init")]
+ public static extern int CSharp_AkCallbackSerializer_Init(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackSerializer_Term")]
+ public static extern void CSharp_AkCallbackSerializer_Term();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackSerializer_Lock")]
+ public static extern global::System.IntPtr CSharp_AkCallbackSerializer_Lock();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackSerializer_Unlock")]
+ public static extern void CSharp_AkCallbackSerializer_Unlock();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackSerializer_SetLocalOutput")]
+ public static extern void CSharp_AkCallbackSerializer_SetLocalOutput(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCallbackSerializer_AudioSourceChangeCallbackFunc")]
+ public static extern int CSharp_AkCallbackSerializer_AudioSourceChangeCallbackFunc(bool jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkCallbackSerializer")]
+ public static extern global::System.IntPtr CSharp_new_AkCallbackSerializer();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkCallbackSerializer")]
+ public static extern void CSharp_delete_AkCallbackSerializer(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostCode__SWIG_0")]
+ public static extern int CSharp_PostCode__SWIG_0(int jarg1, int jarg2, uint jarg3, ulong jarg4, uint jarg5, bool jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostCode__SWIG_1")]
+ public static extern int CSharp_PostCode__SWIG_1(int jarg1, int jarg2, uint jarg3, ulong jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostCode__SWIG_2")]
+ public static extern int CSharp_PostCode__SWIG_2(int jarg1, int jarg2, uint jarg3, ulong jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostCode__SWIG_3")]
+ public static extern int CSharp_PostCode__SWIG_3(int jarg1, int jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostCode__SWIG_4")]
+ public static extern int CSharp_PostCode__SWIG_4(int jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostString__SWIG_0")]
+ public static extern int CSharp_PostString__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, uint jarg3, ulong jarg4, uint jarg5, bool jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostString__SWIG_1")]
+ public static extern int CSharp_PostString__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, uint jarg3, ulong jarg4, uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostString__SWIG_2")]
+ public static extern int CSharp_PostString__SWIG_2([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, uint jarg3, ulong jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostString__SWIG_3")]
+ public static extern int CSharp_PostString__SWIG_3([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostString__SWIG_4")]
+ public static extern int CSharp_PostString__SWIG_4([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetTimeStamp")]
+ public static extern int CSharp_GetTimeStamp();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetNumNonZeroBits")]
+ public static extern uint CSharp_GetNumNonZeroBits(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkGetDefaultHighPriorityThreadProperties")]
+ public static extern void CSharp_AkGetDefaultHighPriorityThreadProperties(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResolveDialogueEvent__SWIG_0")]
+ public static extern uint CSharp_ResolveDialogueEvent__SWIG_0(uint jarg1, [global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg2, uint jarg3, uint jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ResolveDialogueEvent__SWIG_1")]
+ public static extern uint CSharp_ResolveDialogueEvent__SWIG_1(uint jarg1, [global::System.Runtime.InteropServices.In, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDialogueEventCustomPropertyValue__SWIG_0")]
+ public static extern int CSharp_GetDialogueEventCustomPropertyValue__SWIG_0(uint jarg1, uint jarg2, out int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDialogueEventCustomPropertyValue__SWIG_1")]
+ public static extern int CSharp_GetDialogueEventCustomPropertyValue__SWIG_1(uint jarg1, uint jarg2, out float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fCenterPct_set")]
+ public static extern void CSharp_AkPositioningInfo_fCenterPct_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fCenterPct_get")]
+ public static extern float CSharp_AkPositioningInfo_fCenterPct_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_pannerType_set")]
+ public static extern void CSharp_AkPositioningInfo_pannerType_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_pannerType_get")]
+ public static extern int CSharp_AkPositioningInfo_pannerType_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_e3dPositioningType_set")]
+ public static extern void CSharp_AkPositioningInfo_e3dPositioningType_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_e3dPositioningType_get")]
+ public static extern int CSharp_AkPositioningInfo_e3dPositioningType_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_bHoldEmitterPosAndOrient_set")]
+ public static extern void CSharp_AkPositioningInfo_bHoldEmitterPosAndOrient_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_bHoldEmitterPosAndOrient_get")]
+ public static extern bool CSharp_AkPositioningInfo_bHoldEmitterPosAndOrient_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_e3DSpatializationMode_set")]
+ public static extern void CSharp_AkPositioningInfo_e3DSpatializationMode_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_e3DSpatializationMode_get")]
+ public static extern int CSharp_AkPositioningInfo_e3DSpatializationMode_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_bEnableAttenuation_set")]
+ public static extern void CSharp_AkPositioningInfo_bEnableAttenuation_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_bEnableAttenuation_get")]
+ public static extern bool CSharp_AkPositioningInfo_bEnableAttenuation_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_bUseConeAttenuation_set")]
+ public static extern void CSharp_AkPositioningInfo_bUseConeAttenuation_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_bUseConeAttenuation_get")]
+ public static extern bool CSharp_AkPositioningInfo_bUseConeAttenuation_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fInnerAngle_set")]
+ public static extern void CSharp_AkPositioningInfo_fInnerAngle_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fInnerAngle_get")]
+ public static extern float CSharp_AkPositioningInfo_fInnerAngle_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fOuterAngle_set")]
+ public static extern void CSharp_AkPositioningInfo_fOuterAngle_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fOuterAngle_get")]
+ public static extern float CSharp_AkPositioningInfo_fOuterAngle_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fConeMaxAttenuation_set")]
+ public static extern void CSharp_AkPositioningInfo_fConeMaxAttenuation_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fConeMaxAttenuation_get")]
+ public static extern float CSharp_AkPositioningInfo_fConeMaxAttenuation_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_LPFCone_set")]
+ public static extern void CSharp_AkPositioningInfo_LPFCone_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_LPFCone_get")]
+ public static extern float CSharp_AkPositioningInfo_LPFCone_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_HPFCone_set")]
+ public static extern void CSharp_AkPositioningInfo_HPFCone_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_HPFCone_get")]
+ public static extern float CSharp_AkPositioningInfo_HPFCone_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fMaxDistance_set")]
+ public static extern void CSharp_AkPositioningInfo_fMaxDistance_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fMaxDistance_get")]
+ public static extern float CSharp_AkPositioningInfo_fMaxDistance_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fVolDryAtMaxDist_set")]
+ public static extern void CSharp_AkPositioningInfo_fVolDryAtMaxDist_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fVolDryAtMaxDist_get")]
+ public static extern float CSharp_AkPositioningInfo_fVolDryAtMaxDist_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fVolAuxGameDefAtMaxDist_set")]
+ public static extern void CSharp_AkPositioningInfo_fVolAuxGameDefAtMaxDist_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fVolAuxGameDefAtMaxDist_get")]
+ public static extern float CSharp_AkPositioningInfo_fVolAuxGameDefAtMaxDist_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fVolAuxUserDefAtMaxDist_set")]
+ public static extern void CSharp_AkPositioningInfo_fVolAuxUserDefAtMaxDist_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_fVolAuxUserDefAtMaxDist_get")]
+ public static extern float CSharp_AkPositioningInfo_fVolAuxUserDefAtMaxDist_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_LPFValueAtMaxDist_set")]
+ public static extern void CSharp_AkPositioningInfo_LPFValueAtMaxDist_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_LPFValueAtMaxDist_get")]
+ public static extern float CSharp_AkPositioningInfo_LPFValueAtMaxDist_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_HPFValueAtMaxDist_set")]
+ public static extern void CSharp_AkPositioningInfo_HPFValueAtMaxDist_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPositioningInfo_HPFValueAtMaxDist_get")]
+ public static extern float CSharp_AkPositioningInfo_HPFValueAtMaxDist_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkPositioningInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkPositioningInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkPositioningInfo")]
+ public static extern void CSharp_delete_AkPositioningInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_objID_set")]
+ public static extern void CSharp_AkObjectInfo_objID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_objID_get")]
+ public static extern uint CSharp_AkObjectInfo_objID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_parentID_set")]
+ public static extern void CSharp_AkObjectInfo_parentID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_parentID_get")]
+ public static extern uint CSharp_AkObjectInfo_parentID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_iDepth_set")]
+ public static extern void CSharp_AkObjectInfo_iDepth_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_iDepth_get")]
+ public static extern int CSharp_AkObjectInfo_iDepth_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_Clear")]
+ public static extern void CSharp_AkObjectInfo_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_GetSizeOf")]
+ public static extern int CSharp_AkObjectInfo_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkObjectInfo_Clone")]
+ public static extern void CSharp_AkObjectInfo_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkObjectInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkObjectInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkObjectInfo")]
+ public static extern void CSharp_delete_AkObjectInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetPosition")]
+ public static extern int CSharp_GetPosition(ulong jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetListenerPosition")]
+ public static extern int CSharp_GetListenerPosition(ulong jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetRTPCValue__SWIG_0")]
+ public static extern int CSharp_GetRTPCValue__SWIG_0(uint jarg1, ulong jarg2, uint jarg3, out float jarg4, ref int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetRTPCValue__SWIG_1")]
+ public static extern int CSharp_GetRTPCValue__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, uint jarg3, out float jarg4, ref int jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSwitch__SWIG_0")]
+ public static extern int CSharp_GetSwitch__SWIG_0(uint jarg1, ulong jarg2, out uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSwitch__SWIG_1")]
+ public static extern int CSharp_GetSwitch__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, out uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetState__SWIG_0")]
+ public static extern int CSharp_GetState__SWIG_0(uint jarg1, out uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetState__SWIG_1")]
+ public static extern int CSharp_GetState__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, out uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetGameObjectAuxSendValues")]
+ public static extern int CSharp_GetGameObjectAuxSendValues(ulong jarg1, global::System.IntPtr jarg2, ref uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetGameObjectDryLevelValue")]
+ public static extern int CSharp_GetGameObjectDryLevelValue(ulong jarg1, ulong jarg2, out float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetObjectObstructionAndOcclusion")]
+ public static extern int CSharp_GetObjectObstructionAndOcclusion(ulong jarg1, ulong jarg2, out float jarg3, out float jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_QueryAudioObjectIDs__SWIG_0")]
+ public static extern int CSharp_QueryAudioObjectIDs__SWIG_0(uint jarg1, ref uint jarg2, global::System.IntPtr jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_QueryAudioObjectIDs__SWIG_1")]
+ public static extern int CSharp_QueryAudioObjectIDs__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ref uint jarg2, global::System.IntPtr jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetPositioningInfo")]
+ public static extern int CSharp_GetPositioningInfo(uint jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetIsGameObjectActive")]
+ public static extern bool CSharp_GetIsGameObjectActive(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetMaxRadius")]
+ public static extern float CSharp_GetMaxRadius(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetEventIDFromPlayingID")]
+ public static extern uint CSharp_GetEventIDFromPlayingID(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetGameObjectFromPlayingID")]
+ public static extern ulong CSharp_GetGameObjectFromPlayingID(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetPlayingIDsFromGameObject")]
+ public static extern int CSharp_GetPlayingIDsFromGameObject(ulong jarg1, ref uint jarg2, [global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetCustomPropertyValue__SWIG_0")]
+ public static extern int CSharp_GetCustomPropertyValue__SWIG_0(uint jarg1, uint jarg2, out int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetCustomPropertyValue__SWIG_1")]
+ public static extern int CSharp_GetCustomPropertyValue__SWIG_1(uint jarg1, uint jarg2, out float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_SPEAKER_SETUP_FIX_LEFT_TO_CENTER")]
+ public static extern void CSharp_AK_SPEAKER_SETUP_FIX_LEFT_TO_CENTER(ref uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_SPEAKER_SETUP_FIX_REAR_TO_SIDE")]
+ public static extern void CSharp_AK_SPEAKER_SETUP_FIX_REAR_TO_SIDE(ref uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AK_SPEAKER_SETUP_CONVERT_TO_SUPPORTED")]
+ public static extern void CSharp_AK_SPEAKER_SETUP_CONVERT_TO_SUPPORTED(ref uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ChannelMaskToNumChannels")]
+ public static extern byte CSharp_ChannelMaskToNumChannels(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ChannelMaskFromNumChannels")]
+ public static extern uint CSharp_ChannelMaskFromNumChannels(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ChannelBitToIndex")]
+ public static extern byte CSharp_ChannelBitToIndex(uint jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_HasSurroundChannels")]
+ public static extern bool CSharp_HasSurroundChannels(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_HasStrictlyOnePairOfSurroundChannels")]
+ public static extern bool CSharp_HasStrictlyOnePairOfSurroundChannels(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_HasSideAndRearChannels")]
+ public static extern bool CSharp_HasSideAndRearChannels(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_HasHeightChannels")]
+ public static extern bool CSharp_HasHeightChannels(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_BackToSideChannels")]
+ public static extern uint CSharp_BackToSideChannels(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StdChannelIndexToDisplayIndex")]
+ public static extern uint CSharp_StdChannelIndexToDisplayIndex(int jarg1, uint jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_uNumChannels_set")]
+ public static extern void CSharp_AkChannelConfig_uNumChannels_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_uNumChannels_get")]
+ public static extern uint CSharp_AkChannelConfig_uNumChannels_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_eConfigType_set")]
+ public static extern void CSharp_AkChannelConfig_eConfigType_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_eConfigType_get")]
+ public static extern uint CSharp_AkChannelConfig_eConfigType_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_uChannelMask_set")]
+ public static extern void CSharp_AkChannelConfig_uChannelMask_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_uChannelMask_get")]
+ public static extern uint CSharp_AkChannelConfig_uChannelMask_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkChannelConfig__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkChannelConfig__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkChannelConfig__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkChannelConfig__SWIG_1(uint jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_Clear")]
+ public static extern void CSharp_AkChannelConfig_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_SetStandard")]
+ public static extern void CSharp_AkChannelConfig_SetStandard(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_SetStandardOrAnonymous")]
+ public static extern void CSharp_AkChannelConfig_SetStandardOrAnonymous(global::System.IntPtr jarg1, uint jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_SetAnonymous")]
+ public static extern void CSharp_AkChannelConfig_SetAnonymous(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_SetAmbisonic")]
+ public static extern void CSharp_AkChannelConfig_SetAmbisonic(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_IsValid")]
+ public static extern bool CSharp_AkChannelConfig_IsValid(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_Serialize")]
+ public static extern uint CSharp_AkChannelConfig_Serialize(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_Deserialize")]
+ public static extern void CSharp_AkChannelConfig_Deserialize(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_RemoveLFE")]
+ public static extern global::System.IntPtr CSharp_AkChannelConfig_RemoveLFE(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_RemoveCenter")]
+ public static extern global::System.IntPtr CSharp_AkChannelConfig_RemoveCenter(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkChannelConfig_IsChannelConfigSupported")]
+ public static extern bool CSharp_AkChannelConfig_IsChannelConfigSupported(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkChannelConfig")]
+ public static extern void CSharp_delete_AkChannelConfig(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkImageSourceParams__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkImageSourceParams__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkImageSourceParams__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkImageSourceParams__SWIG_1(UnityEngine.Vector3 jarg1, float jarg2, float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_sourcePosition_set")]
+ public static extern void CSharp_AkImageSourceParams_sourcePosition_set(global::System.IntPtr jarg1, UnityEngine.Vector3 jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_sourcePosition_get")]
+ public static extern UnityEngine.Vector3 CSharp_AkImageSourceParams_sourcePosition_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_fDistanceScalingFactor_set")]
+ public static extern void CSharp_AkImageSourceParams_fDistanceScalingFactor_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_fDistanceScalingFactor_get")]
+ public static extern float CSharp_AkImageSourceParams_fDistanceScalingFactor_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_fLevel_set")]
+ public static extern void CSharp_AkImageSourceParams_fLevel_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_fLevel_get")]
+ public static extern float CSharp_AkImageSourceParams_fLevel_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_fDiffraction_set")]
+ public static extern void CSharp_AkImageSourceParams_fDiffraction_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_fDiffraction_get")]
+ public static extern float CSharp_AkImageSourceParams_fDiffraction_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_uDiffractionEmitterSide_set")]
+ public static extern void CSharp_AkImageSourceParams_uDiffractionEmitterSide_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_uDiffractionEmitterSide_get")]
+ public static extern byte CSharp_AkImageSourceParams_uDiffractionEmitterSide_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_uDiffractionListenerSide_set")]
+ public static extern void CSharp_AkImageSourceParams_uDiffractionListenerSide_set(global::System.IntPtr jarg1, byte jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceParams_uDiffractionListenerSide_get")]
+ public static extern byte CSharp_AkImageSourceParams_uDiffractionListenerSide_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkImageSourceParams")]
+ public static extern void CSharp_delete_AkImageSourceParams(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_kDefaultMaxPathLength_get")]
+ public static extern float CSharp_kDefaultMaxPathLength_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_kDefaultDiffractionMaxEdges_get")]
+ public static extern uint CSharp_kDefaultDiffractionMaxEdges_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_kDefaultDiffractionMaxPaths_get")]
+ public static extern uint CSharp_kDefaultDiffractionMaxPaths_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_kMaxDiffraction_get")]
+ public static extern float CSharp_kMaxDiffraction_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_kDiffractionMaxEdges_get")]
+ public static extern uint CSharp_kDiffractionMaxEdges_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_kDiffractionMaxPaths_get")]
+ public static extern uint CSharp_kDiffractionMaxPaths_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_kPortalToPortalDiffractionMaxPaths_get")]
+ public static extern uint CSharp_kPortalToPortalDiffractionMaxPaths_get();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkSpatialAudioInitSettings")]
+ public static extern global::System.IntPtr CSharp_new_AkSpatialAudioInitSettings();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uMaxSoundPropagationDepth_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_uMaxSoundPropagationDepth_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uMaxSoundPropagationDepth_get")]
+ public static extern uint CSharp_AkSpatialAudioInitSettings_uMaxSoundPropagationDepth_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uDiffractionFlags_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_uDiffractionFlags_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uDiffractionFlags_get")]
+ public static extern uint CSharp_AkSpatialAudioInitSettings_uDiffractionFlags_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fDiffractionShadowAttenFactor_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_fDiffractionShadowAttenFactor_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fDiffractionShadowAttenFactor_get")]
+ public static extern float CSharp_AkSpatialAudioInitSettings_fDiffractionShadowAttenFactor_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fDiffractionShadowDegrees_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_fDiffractionShadowDegrees_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fDiffractionShadowDegrees_get")]
+ public static extern float CSharp_AkSpatialAudioInitSettings_fDiffractionShadowDegrees_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fMovementThreshold_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_fMovementThreshold_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fMovementThreshold_get")]
+ public static extern float CSharp_AkSpatialAudioInitSettings_fMovementThreshold_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uNumberOfPrimaryRays_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_uNumberOfPrimaryRays_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uNumberOfPrimaryRays_get")]
+ public static extern uint CSharp_AkSpatialAudioInitSettings_uNumberOfPrimaryRays_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uMaxReflectionOrder_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_uMaxReflectionOrder_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_uMaxReflectionOrder_get")]
+ public static extern uint CSharp_AkSpatialAudioInitSettings_uMaxReflectionOrder_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fMaxPathLength_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_fMaxPathLength_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_fMaxPathLength_get")]
+ public static extern float CSharp_AkSpatialAudioInitSettings_fMaxPathLength_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_bEnableDiffractionOnReflection_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_bEnableDiffractionOnReflection_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_bEnableDiffractionOnReflection_get")]
+ public static extern bool CSharp_AkSpatialAudioInitSettings_bEnableDiffractionOnReflection_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_bEnableDirectPathDiffraction_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_bEnableDirectPathDiffraction_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_bEnableDirectPathDiffraction_get")]
+ public static extern bool CSharp_AkSpatialAudioInitSettings_bEnableDirectPathDiffraction_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_bEnableTransmission_set")]
+ public static extern void CSharp_AkSpatialAudioInitSettings_bEnableTransmission_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkSpatialAudioInitSettings_bEnableTransmission_get")]
+ public static extern bool CSharp_AkSpatialAudioInitSettings_bEnableTransmission_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkSpatialAudioInitSettings")]
+ public static extern void CSharp_delete_AkSpatialAudioInitSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkImageSourceSettings__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkImageSourceSettings__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkImageSourceSettings__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkImageSourceSettings__SWIG_1(UnityEngine.Vector3 jarg1, float jarg2, float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkImageSourceSettings")]
+ public static extern void CSharp_delete_AkImageSourceSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceSettings_SetOneTexture")]
+ public static extern void CSharp_AkImageSourceSettings_SetOneTexture(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceSettings_SetName")]
+ public static extern void CSharp_AkImageSourceSettings_SetName(global::System.IntPtr jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceSettings_params__set")]
+ public static extern void CSharp_AkImageSourceSettings_params__set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkImageSourceSettings_params__get")]
+ public static extern global::System.IntPtr CSharp_AkImageSourceSettings_params__get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkTriangle__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkTriangle__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkTriangle__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkTriangle__SWIG_1(ushort jarg1, ushort jarg2, ushort jarg3, ushort jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_point0_set")]
+ public static extern void CSharp_AkTriangle_point0_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_point0_get")]
+ public static extern ushort CSharp_AkTriangle_point0_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_point1_set")]
+ public static extern void CSharp_AkTriangle_point1_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_point1_get")]
+ public static extern ushort CSharp_AkTriangle_point1_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_point2_set")]
+ public static extern void CSharp_AkTriangle_point2_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_point2_get")]
+ public static extern ushort CSharp_AkTriangle_point2_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_surface_set")]
+ public static extern void CSharp_AkTriangle_surface_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_surface_get")]
+ public static extern ushort CSharp_AkTriangle_surface_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_Clear")]
+ public static extern void CSharp_AkTriangle_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_GetSizeOf")]
+ public static extern int CSharp_AkTriangle_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkTriangle_Clone")]
+ public static extern void CSharp_AkTriangle_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkTriangle")]
+ public static extern void CSharp_delete_AkTriangle(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkAcousticSurface")]
+ public static extern global::System.IntPtr CSharp_new_AkAcousticSurface();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_textureID_set")]
+ public static extern void CSharp_AkAcousticSurface_textureID_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_textureID_get")]
+ public static extern uint CSharp_AkAcousticSurface_textureID_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_occlusion_set")]
+ public static extern void CSharp_AkAcousticSurface_occlusion_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_occlusion_get")]
+ public static extern float CSharp_AkAcousticSurface_occlusion_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_strName_set")]
+ public static extern void CSharp_AkAcousticSurface_strName_set(global::System.IntPtr jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_strName_get")]
+ public static extern global::System.IntPtr CSharp_AkAcousticSurface_strName_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_Clear")]
+ public static extern void CSharp_AkAcousticSurface_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_DeleteName")]
+ public static extern void CSharp_AkAcousticSurface_DeleteName(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_GetSizeOf")]
+ public static extern int CSharp_AkAcousticSurface_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkAcousticSurface_Clone")]
+ public static extern void CSharp_AkAcousticSurface_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkAcousticSurface")]
+ public static extern void CSharp_delete_AkAcousticSurface(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_imageSource_set")]
+ public static extern void CSharp_AkReflectionPathInfo_imageSource_set(global::System.IntPtr jarg1, UnityEngine.Vector3 jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_imageSource_get")]
+ public static extern UnityEngine.Vector3 CSharp_AkReflectionPathInfo_imageSource_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_numPathPoints_set")]
+ public static extern void CSharp_AkReflectionPathInfo_numPathPoints_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_numPathPoints_get")]
+ public static extern uint CSharp_AkReflectionPathInfo_numPathPoints_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_numReflections_set")]
+ public static extern void CSharp_AkReflectionPathInfo_numReflections_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_numReflections_get")]
+ public static extern uint CSharp_AkReflectionPathInfo_numReflections_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_level_set")]
+ public static extern void CSharp_AkReflectionPathInfo_level_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_level_get")]
+ public static extern float CSharp_AkReflectionPathInfo_level_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_isOccluded_set")]
+ public static extern void CSharp_AkReflectionPathInfo_isOccluded_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_isOccluded_get")]
+ public static extern bool CSharp_AkReflectionPathInfo_isOccluded_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_GetSizeOf")]
+ public static extern int CSharp_AkReflectionPathInfo_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_GetPathPoint")]
+ public static extern UnityEngine.Vector3 CSharp_AkReflectionPathInfo_GetPathPoint(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_GetAcousticSurface")]
+ public static extern global::System.IntPtr CSharp_AkReflectionPathInfo_GetAcousticSurface(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_GetDiffraction")]
+ public static extern float CSharp_AkReflectionPathInfo_GetDiffraction(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkReflectionPathInfo_Clone")]
+ public static extern void CSharp_AkReflectionPathInfo_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkReflectionPathInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkReflectionPathInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkReflectionPathInfo")]
+ public static extern void CSharp_delete_AkReflectionPathInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_virtualPos_set")]
+ public static extern void CSharp_AkDiffractionPathInfo_virtualPos_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_virtualPos_get")]
+ public static extern global::System.IntPtr CSharp_AkDiffractionPathInfo_virtualPos_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_nodeCount_set")]
+ public static extern void CSharp_AkDiffractionPathInfo_nodeCount_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_nodeCount_get")]
+ public static extern uint CSharp_AkDiffractionPathInfo_nodeCount_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_diffraction_set")]
+ public static extern void CSharp_AkDiffractionPathInfo_diffraction_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_diffraction_get")]
+ public static extern float CSharp_AkDiffractionPathInfo_diffraction_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_totLength_set")]
+ public static extern void CSharp_AkDiffractionPathInfo_totLength_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_totLength_get")]
+ public static extern float CSharp_AkDiffractionPathInfo_totLength_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_obstructionValue_set")]
+ public static extern void CSharp_AkDiffractionPathInfo_obstructionValue_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_obstructionValue_get")]
+ public static extern float CSharp_AkDiffractionPathInfo_obstructionValue_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_GetSizeOf")]
+ public static extern int CSharp_AkDiffractionPathInfo_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_GetNodes")]
+ public static extern UnityEngine.Vector3 CSharp_AkDiffractionPathInfo_GetNodes(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_GetAngles")]
+ public static extern float CSharp_AkDiffractionPathInfo_GetAngles(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_GetPortals")]
+ public static extern ulong CSharp_AkDiffractionPathInfo_GetPortals(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_GetRooms")]
+ public static extern ulong CSharp_AkDiffractionPathInfo_GetRooms(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDiffractionPathInfo_Clone")]
+ public static extern void CSharp_AkDiffractionPathInfo_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkDiffractionPathInfo")]
+ public static extern global::System.IntPtr CSharp_new_AkDiffractionPathInfo();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkDiffractionPathInfo")]
+ public static extern void CSharp_delete_AkDiffractionPathInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkRoomParams__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkRoomParams__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkRoomParams__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkRoomParams__SWIG_1(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_Up_set")]
+ public static extern void CSharp_AkRoomParams_Up_set(global::System.IntPtr jarg1, UnityEngine.Vector3 jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_Up_get")]
+ public static extern UnityEngine.Vector3 CSharp_AkRoomParams_Up_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_Front_set")]
+ public static extern void CSharp_AkRoomParams_Front_set(global::System.IntPtr jarg1, UnityEngine.Vector3 jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_Front_get")]
+ public static extern UnityEngine.Vector3 CSharp_AkRoomParams_Front_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_ReverbAuxBus_set")]
+ public static extern void CSharp_AkRoomParams_ReverbAuxBus_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_ReverbAuxBus_get")]
+ public static extern uint CSharp_AkRoomParams_ReverbAuxBus_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_ReverbLevel_set")]
+ public static extern void CSharp_AkRoomParams_ReverbLevel_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_ReverbLevel_get")]
+ public static extern float CSharp_AkRoomParams_ReverbLevel_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_WallOcclusion_set")]
+ public static extern void CSharp_AkRoomParams_WallOcclusion_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_WallOcclusion_get")]
+ public static extern float CSharp_AkRoomParams_WallOcclusion_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_RoomGameObj_AuxSendLevelToSelf_set")]
+ public static extern void CSharp_AkRoomParams_RoomGameObj_AuxSendLevelToSelf_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_RoomGameObj_AuxSendLevelToSelf_get")]
+ public static extern float CSharp_AkRoomParams_RoomGameObj_AuxSendLevelToSelf_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_RoomGameObj_KeepRegistered_set")]
+ public static extern void CSharp_AkRoomParams_RoomGameObj_KeepRegistered_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkRoomParams_RoomGameObj_KeepRegistered_get")]
+ public static extern bool CSharp_AkRoomParams_RoomGameObj_KeepRegistered_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkRoomParams")]
+ public static extern void CSharp_delete_AkRoomParams(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetImageSource")]
+ public static extern int CSharp_SetImageSource(uint jarg1, global::System.IntPtr jarg2, uint jarg3, ulong jarg4, ulong jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RemoveImageSource")]
+ public static extern int CSharp_RemoveImageSource(uint jarg1, uint jarg2, ulong jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ClearImageSources__SWIG_0")]
+ public static extern int CSharp_ClearImageSources__SWIG_0(uint jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ClearImageSources__SWIG_1")]
+ public static extern int CSharp_ClearImageSources__SWIG_1(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_ClearImageSources__SWIG_2")]
+ public static extern int CSharp_ClearImageSources__SWIG_2();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RemoveGeometry")]
+ public static extern int CSharp_RemoveGeometry(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_QueryReflectionPaths")]
+ public static extern int CSharp_QueryReflectionPaths(ulong jarg1, ref UnityEngine.Vector3 jarg2, ref UnityEngine.Vector3 jarg3, global::System.IntPtr jarg4, out uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RemoveRoom")]
+ public static extern int CSharp_RemoveRoom(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RemovePortal")]
+ public static extern int CSharp_RemovePortal(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetGameObjectInRoom")]
+ public static extern int CSharp_SetGameObjectInRoom(ulong jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetReflectionsOrder")]
+ public static extern int CSharp_SetReflectionsOrder(uint jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetNumberOfPrimaryRays")]
+ public static extern int CSharp_SetNumberOfPrimaryRays(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetEarlyReflectionsAuxSend")]
+ public static extern int CSharp_SetEarlyReflectionsAuxSend(ulong jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetEarlyReflectionsVolume")]
+ public static extern int CSharp_SetEarlyReflectionsVolume(ulong jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetPortalObstructionAndOcclusion")]
+ public static extern int CSharp_SetPortalObstructionAndOcclusion(ulong jarg1, float jarg2, float jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_QueryWetDiffraction")]
+ public static extern int CSharp_QueryWetDiffraction(ulong jarg1, out float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_QueryDiffractionPaths")]
+ public static extern int CSharp_QueryDiffractionPaths(ulong jarg1, ref UnityEngine.Vector3 jarg2, ref UnityEngine.Vector3 jarg3, global::System.IntPtr jarg4, out uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadLEngine_set")]
+ public static extern void CSharp_AkPlatformInitSettings_threadLEngine_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadLEngine_get")]
+ public static extern global::System.IntPtr CSharp_AkPlatformInitSettings_threadLEngine_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadOutputMgr_set")]
+ public static extern void CSharp_AkPlatformInitSettings_threadOutputMgr_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadOutputMgr_get")]
+ public static extern global::System.IntPtr CSharp_AkPlatformInitSettings_threadOutputMgr_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadBankManager_set")]
+ public static extern void CSharp_AkPlatformInitSettings_threadBankManager_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadBankManager_get")]
+ public static extern global::System.IntPtr CSharp_AkPlatformInitSettings_threadBankManager_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadMonitor_set")]
+ public static extern void CSharp_AkPlatformInitSettings_threadMonitor_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_threadMonitor_get")]
+ public static extern global::System.IntPtr CSharp_AkPlatformInitSettings_threadMonitor_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_uNumRefillsInVoice_set")]
+ public static extern void CSharp_AkPlatformInitSettings_uNumRefillsInVoice_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_uNumRefillsInVoice_get")]
+ public static extern ushort CSharp_AkPlatformInitSettings_uNumRefillsInVoice_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_uSampleRate_set")]
+ public static extern void CSharp_AkPlatformInitSettings_uSampleRate_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_uSampleRate_get")]
+ public static extern uint CSharp_AkPlatformInitSettings_uSampleRate_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_eAudioAPI_set")]
+ public static extern void CSharp_AkPlatformInitSettings_eAudioAPI_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_eAudioAPI_get")]
+ public static extern int CSharp_AkPlatformInitSettings_eAudioAPI_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_bGlobalFocus_set")]
+ public static extern void CSharp_AkPlatformInitSettings_bGlobalFocus_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_bGlobalFocus_get")]
+ public static extern bool CSharp_AkPlatformInitSettings_bGlobalFocus_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_bEnableAvxSupport_set")]
+ public static extern void CSharp_AkPlatformInitSettings_bEnableAvxSupport_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlatformInitSettings_bEnableAvxSupport_get")]
+ public static extern bool CSharp_AkPlatformInitSettings_bEnableAvxSupport_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkPlatformInitSettings")]
+ public static extern void CSharp_delete_AkPlatformInitSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDeviceIDFromName")]
+ public static extern uint CSharp_GetDeviceIDFromName([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetWindowsDeviceName__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_GetWindowsDeviceName__SWIG_0(int jarg1, out uint jarg2, int jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetWindowsDeviceName__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_GetWindowsDeviceName__SWIG_1(int jarg1, out uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetWindowsDeviceCount__SWIG_0")]
+ public static extern uint CSharp_GetWindowsDeviceCount__SWIG_0(int jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetWindowsDeviceCount__SWIG_1")]
+ public static extern uint CSharp_GetWindowsDeviceCount__SWIG_1();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkStreamMgrSettings")]
+ public static extern void CSharp_delete_AkStreamMgrSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_pIOMemory_set")]
+ public static extern void CSharp_AkDeviceSettings_pIOMemory_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_pIOMemory_get")]
+ public static extern global::System.IntPtr CSharp_AkDeviceSettings_pIOMemory_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uIOMemorySize_set")]
+ public static extern void CSharp_AkDeviceSettings_uIOMemorySize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uIOMemorySize_get")]
+ public static extern uint CSharp_AkDeviceSettings_uIOMemorySize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uIOMemoryAlignment_set")]
+ public static extern void CSharp_AkDeviceSettings_uIOMemoryAlignment_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uIOMemoryAlignment_get")]
+ public static extern uint CSharp_AkDeviceSettings_uIOMemoryAlignment_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_ePoolAttributes_set")]
+ public static extern void CSharp_AkDeviceSettings_ePoolAttributes_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_ePoolAttributes_get")]
+ public static extern uint CSharp_AkDeviceSettings_ePoolAttributes_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uGranularity_set")]
+ public static extern void CSharp_AkDeviceSettings_uGranularity_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uGranularity_get")]
+ public static extern uint CSharp_AkDeviceSettings_uGranularity_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uSchedulerTypeFlags_set")]
+ public static extern void CSharp_AkDeviceSettings_uSchedulerTypeFlags_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uSchedulerTypeFlags_get")]
+ public static extern uint CSharp_AkDeviceSettings_uSchedulerTypeFlags_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_threadProperties_set")]
+ public static extern void CSharp_AkDeviceSettings_threadProperties_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_threadProperties_get")]
+ public static extern global::System.IntPtr CSharp_AkDeviceSettings_threadProperties_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_fTargetAutoStmBufferLength_set")]
+ public static extern void CSharp_AkDeviceSettings_fTargetAutoStmBufferLength_set(global::System.IntPtr jarg1, float jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_fTargetAutoStmBufferLength_get")]
+ public static extern float CSharp_AkDeviceSettings_fTargetAutoStmBufferLength_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uMaxConcurrentIO_set")]
+ public static extern void CSharp_AkDeviceSettings_uMaxConcurrentIO_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uMaxConcurrentIO_get")]
+ public static extern uint CSharp_AkDeviceSettings_uMaxConcurrentIO_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_bUseStreamCache_set")]
+ public static extern void CSharp_AkDeviceSettings_bUseStreamCache_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_bUseStreamCache_get")]
+ public static extern bool CSharp_AkDeviceSettings_bUseStreamCache_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uMaxCachePinnedBytes_set")]
+ public static extern void CSharp_AkDeviceSettings_uMaxCachePinnedBytes_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDeviceSettings_uMaxCachePinnedBytes_get")]
+ public static extern uint CSharp_AkDeviceSettings_uMaxCachePinnedBytes_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkDeviceSettings")]
+ public static extern void CSharp_delete_AkDeviceSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkThreadProperties_nPriority_set")]
+ public static extern void CSharp_AkThreadProperties_nPriority_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkThreadProperties_nPriority_get")]
+ public static extern int CSharp_AkThreadProperties_nPriority_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkThreadProperties_dwAffinityMask_set")]
+ public static extern void CSharp_AkThreadProperties_dwAffinityMask_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkThreadProperties_dwAffinityMask_get")]
+ public static extern uint CSharp_AkThreadProperties_dwAffinityMask_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkThreadProperties_uStackSize_set")]
+ public static extern void CSharp_AkThreadProperties_uStackSize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkThreadProperties_uStackSize_get")]
+ public static extern uint CSharp_AkThreadProperties_uStackSize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkThreadProperties")]
+ public static extern global::System.IntPtr CSharp_new_AkThreadProperties();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkThreadProperties")]
+ public static extern void CSharp_delete_AkThreadProperties(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetErrorLogger__SWIG_0")]
+ public static extern void CSharp_SetErrorLogger__SWIG_0(AkLogger.ErrorLoggerInteropDelegate jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetErrorLogger__SWIG_1")]
+ public static extern void CSharp_SetErrorLogger__SWIG_1();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetAudioInputCallbacks")]
+ public static extern void CSharp_SetAudioInputCallbacks(AkAudioInputManager.AudioSamplesInteropDelegate jarg1, AkAudioInputManager.AudioFormatInteropDelegate jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkUnityPlatformSpecificSettings")]
+ public static extern void CSharp_delete_AkUnityPlatformSpecificSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkCommunicationSettings")]
+ public static extern global::System.IntPtr CSharp_new_AkCommunicationSettings();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uPoolSize_set")]
+ public static extern void CSharp_AkCommunicationSettings_uPoolSize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uPoolSize_get")]
+ public static extern uint CSharp_AkCommunicationSettings_uPoolSize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_set")]
+ public static extern void CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_get")]
+ public static extern ushort CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uCommandPort_set")]
+ public static extern void CSharp_AkCommunicationSettings_uCommandPort_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uCommandPort_get")]
+ public static extern ushort CSharp_AkCommunicationSettings_uCommandPort_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uNotificationPort_set")]
+ public static extern void CSharp_AkCommunicationSettings_uNotificationPort_set(global::System.IntPtr jarg1, ushort jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_uNotificationPort_get")]
+ public static extern ushort CSharp_AkCommunicationSettings_uNotificationPort_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_commSystem_set")]
+ public static extern void CSharp_AkCommunicationSettings_commSystem_set(global::System.IntPtr jarg1, int jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_commSystem_get")]
+ public static extern int CSharp_AkCommunicationSettings_commSystem_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_bInitSystemLib_set")]
+ public static extern void CSharp_AkCommunicationSettings_bInitSystemLib_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_bInitSystemLib_get")]
+ public static extern bool CSharp_AkCommunicationSettings_bInitSystemLib_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_szAppNetworkName_set")]
+ public static extern void CSharp_AkCommunicationSettings_szAppNetworkName_set(global::System.IntPtr jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkCommunicationSettings_szAppNetworkName_get")]
+ public static extern global::System.IntPtr CSharp_AkCommunicationSettings_szAppNetworkName_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkCommunicationSettings")]
+ public static extern void CSharp_delete_AkCommunicationSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkInitializationSettings")]
+ public static extern global::System.IntPtr CSharp_new_AkInitializationSettings();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkInitializationSettings")]
+ public static extern void CSharp_delete_AkInitializationSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_streamMgrSettings_set")]
+ public static extern void CSharp_AkInitializationSettings_streamMgrSettings_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_streamMgrSettings_get")]
+ public static extern global::System.IntPtr CSharp_AkInitializationSettings_streamMgrSettings_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_deviceSettings_set")]
+ public static extern void CSharp_AkInitializationSettings_deviceSettings_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_deviceSettings_get")]
+ public static extern global::System.IntPtr CSharp_AkInitializationSettings_deviceSettings_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_initSettings_set")]
+ public static extern void CSharp_AkInitializationSettings_initSettings_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_initSettings_get")]
+ public static extern global::System.IntPtr CSharp_AkInitializationSettings_initSettings_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_platformSettings_set")]
+ public static extern void CSharp_AkInitializationSettings_platformSettings_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_platformSettings_get")]
+ public static extern global::System.IntPtr CSharp_AkInitializationSettings_platformSettings_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_musicSettings_set")]
+ public static extern void CSharp_AkInitializationSettings_musicSettings_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_musicSettings_get")]
+ public static extern global::System.IntPtr CSharp_AkInitializationSettings_musicSettings_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_unityPlatformSpecificSettings_set")]
+ public static extern void CSharp_AkInitializationSettings_unityPlatformSpecificSettings_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_unityPlatformSpecificSettings_get")]
+ public static extern global::System.IntPtr CSharp_AkInitializationSettings_unityPlatformSpecificSettings_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_useAsyncOpen_set")]
+ public static extern void CSharp_AkInitializationSettings_useAsyncOpen_set(global::System.IntPtr jarg1, bool jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkInitializationSettings_useAsyncOpen_get")]
+ public static extern bool CSharp_AkInitializationSettings_useAsyncOpen_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkExternalSourceInfo__SWIG_0")]
+ public static extern global::System.IntPtr CSharp_new_AkExternalSourceInfo__SWIG_0();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_delete_AkExternalSourceInfo")]
+ public static extern void CSharp_delete_AkExternalSourceInfo(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkExternalSourceInfo__SWIG_1")]
+ public static extern global::System.IntPtr CSharp_new_AkExternalSourceInfo__SWIG_1(global::System.IntPtr jarg1, uint jarg2, uint jarg3, uint jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkExternalSourceInfo__SWIG_2")]
+ public static extern global::System.IntPtr CSharp_new_AkExternalSourceInfo__SWIG_2([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, uint jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_new_AkExternalSourceInfo__SWIG_3")]
+ public static extern global::System.IntPtr CSharp_new_AkExternalSourceInfo__SWIG_3(uint jarg1, uint jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_Clear")]
+ public static extern void CSharp_AkExternalSourceInfo_Clear(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_Clone")]
+ public static extern void CSharp_AkExternalSourceInfo_Clone(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_GetSizeOf")]
+ public static extern int CSharp_AkExternalSourceInfo_GetSizeOf();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_iExternalSrcCookie_set")]
+ public static extern void CSharp_AkExternalSourceInfo_iExternalSrcCookie_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_iExternalSrcCookie_get")]
+ public static extern uint CSharp_AkExternalSourceInfo_iExternalSrcCookie_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_idCodec_set")]
+ public static extern void CSharp_AkExternalSourceInfo_idCodec_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_idCodec_get")]
+ public static extern uint CSharp_AkExternalSourceInfo_idCodec_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_szFile_set")]
+ public static extern void CSharp_AkExternalSourceInfo_szFile_set(global::System.IntPtr jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_szFile_get")]
+ public static extern global::System.IntPtr CSharp_AkExternalSourceInfo_szFile_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_pInMemory_set")]
+ public static extern void CSharp_AkExternalSourceInfo_pInMemory_set(global::System.IntPtr jarg1, global::System.IntPtr jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_pInMemory_get")]
+ public static extern global::System.IntPtr CSharp_AkExternalSourceInfo_pInMemory_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_uiMemorySize_set")]
+ public static extern void CSharp_AkExternalSourceInfo_uiMemorySize_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_uiMemorySize_get")]
+ public static extern uint CSharp_AkExternalSourceInfo_uiMemorySize_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_idFile_set")]
+ public static extern void CSharp_AkExternalSourceInfo_idFile_set(global::System.IntPtr jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkExternalSourceInfo_idFile_get")]
+ public static extern uint CSharp_AkExternalSourceInfo_idFile_get(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_Init")]
+ public static extern int CSharp_Init(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_InitSpatialAudio")]
+ public static extern int CSharp_InitSpatialAudio(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_InitCommunication")]
+ public static extern int CSharp_InitCommunication(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_Term")]
+ public static extern void CSharp_Term();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RegisterGameObjInternal")]
+ public static extern int CSharp_RegisterGameObjInternal(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnregisterGameObjInternal")]
+ public static extern int CSharp_UnregisterGameObjInternal(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RegisterGameObjInternal_WithName")]
+ public static extern int CSharp_RegisterGameObjInternal_WithName(ulong jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetBasePath")]
+ public static extern int CSharp_SetBasePath([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetCurrentLanguage")]
+ public static extern int CSharp_SetCurrentLanguage([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadFilePackage")]
+ public static extern int CSharp_LoadFilePackage([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, out uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddBasePath")]
+ public static extern int CSharp_AddBasePath([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetGameName")]
+ public static extern int CSharp_SetGameName([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetDecodedBankPath")]
+ public static extern int CSharp_SetDecodedBankPath([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadAndDecodeBank")]
+ public static extern int CSharp_LoadAndDecodeBank([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, bool jarg2, out uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_LoadAndDecodeBankFromMemory")]
+ public static extern int CSharp_LoadAndDecodeBankFromMemory(global::System.IntPtr jarg1, uint jarg2, bool jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg4, bool jarg5, out uint jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_0")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7, uint jarg8);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_1")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_2")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_2([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_3")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_3([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPWStr)]string jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetCurrentLanguage")]
+ public static extern global::System.IntPtr CSharp_GetCurrentLanguage();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnloadFilePackage")]
+ public static extern int CSharp_UnloadFilePackage(uint jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnloadAllFilePackages")]
+ public static extern int CSharp_UnloadAllFilePackages();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetObjectPosition")]
+ public static extern int CSharp_SetObjectPosition(ulong jarg1, UnityEngine.Vector3 jarg2, UnityEngine.Vector3 jarg3, UnityEngine.Vector3 jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSourceMultiplePlayPositions__SWIG_0")]
+ public static extern int CSharp_GetSourceMultiplePlayPositions__SWIG_0(uint jarg1, [global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg2, [global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg3, [global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]int[] jarg4, ref uint jarg5, bool jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSourceMultiplePlayPositions__SWIG_1")]
+ public static extern int CSharp_GetSourceMultiplePlayPositions__SWIG_1(uint jarg1, [global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg2, [global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]uint[] jarg3, [global::System.Runtime.InteropServices.Out, global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPArray)]int[] jarg4, ref uint jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetListeners")]
+ public static extern int CSharp_SetListeners(ulong jarg1, ulong[] jarg2, uint jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetDefaultListeners")]
+ public static extern int CSharp_SetDefaultListeners(ulong[] jarg1, uint jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddOutput__SWIG_0")]
+ public static extern int CSharp_AddOutput__SWIG_0(global::System.IntPtr jarg1, out ulong jarg2, ulong[] jarg3, uint jarg4);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddOutput__SWIG_1")]
+ public static extern int CSharp_AddOutput__SWIG_1(global::System.IntPtr jarg1, out ulong jarg2, ulong[] jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddOutput__SWIG_2")]
+ public static extern int CSharp_AddOutput__SWIG_2(global::System.IntPtr jarg1, out ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AddOutput__SWIG_3")]
+ public static extern int CSharp_AddOutput__SWIG_3(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDefaultStreamSettings")]
+ public static extern void CSharp_GetDefaultStreamSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDefaultDeviceSettings")]
+ public static extern void CSharp_GetDefaultDeviceSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDefaultMusicSettings")]
+ public static extern void CSharp_GetDefaultMusicSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDefaultInitSettings")]
+ public static extern void CSharp_GetDefaultInitSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetDefaultPlatformInitSettings")]
+ public static extern void CSharp_GetDefaultPlatformInitSettings(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetMajorMinorVersion")]
+ public static extern uint CSharp_GetMajorMinorVersion();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetSubminorBuildVersion")]
+ public static extern uint CSharp_GetSubminorBuildVersion();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StartResourceMonitoring")]
+ public static extern void CSharp_StartResourceMonitoring();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_StopResourceMonitoring")]
+ public static extern void CSharp_StopResourceMonitoring();
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_GetResourceMonitorDataSummary")]
+ public static extern void CSharp_GetResourceMonitorDataSummary(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRoomPortal")]
+ public static extern int CSharp_SetRoomPortal(ulong jarg1, global::System.IntPtr jarg2, UnityEngine.Vector3 jarg3, bool jarg4, ulong jarg5, ulong jarg6);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetRoom")]
+ public static extern int CSharp_SetRoom(ulong jarg1, global::System.IntPtr jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string jarg3);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_RegisterSpatialAudioListener")]
+ public static extern int CSharp_RegisterSpatialAudioListener(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_UnregisterSpatialAudioListener")]
+ public static extern int CSharp_UnregisterSpatialAudioListener(ulong jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_SetGeometry")]
+ public static extern int CSharp_SetGeometry(ulong jarg1, global::System.IntPtr jarg2, uint jarg3, UnityEngine.Vector3[] jarg4, uint jarg5, global::System.IntPtr jarg6, uint jarg7, ulong jarg8, bool jarg9, bool jarg10);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_4")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_4(uint jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7, uint jarg8);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_5")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_5(uint jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5, uint jarg6, global::System.IntPtr jarg7);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_6")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_6(uint jarg1, ulong jarg2, uint jarg3, global::System.IntPtr jarg4, global::System.IntPtr jarg5);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_PostEventOnRoom__SWIG_7")]
+ public static extern uint CSharp_PostEventOnRoom__SWIG_7(uint jarg1, ulong jarg2);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkPlaylist_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkPlaylist_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIPost_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkMIDIPost_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkEventCallbackInfo_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkEventCallbackInfo_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMIDIEventCallbackInfo_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkMIDIEventCallbackInfo_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMarkerCallbackInfo_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkMarkerCallbackInfo_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDurationCallbackInfo_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkDurationCallbackInfo_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkDynamicSequenceItemCallbackInfo_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkDynamicSequenceItemCallbackInfo_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicSyncCallbackInfo_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkMusicSyncCallbackInfo_SWIGUpcast(global::System.IntPtr jarg1);
+ [global::System.Runtime.InteropServices.DllImport("AkSoundEngine", EntryPoint="CSharp_AkMusicPlaylistCallbackInfo_SWIGUpcast")]
+ public static extern global::System.IntPtr CSharp_AkMusicPlaylistCallbackInfo_SWIGUpcast(global::System.IntPtr jarg1);}
+#endif // #if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEnginePINVOKE_Windows.cs.meta b/Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEnginePINVOKE_Windows.cs.meta
new file mode 100644
index 000000000..130599486
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEnginePINVOKE_Windows.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 6b2ab758aec1ba14e9c7c5a7a97cf34d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEngine_Windows.cs b/Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEngine_Windows.cs
new file mode 100644
index 000000000..958538dcc
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEngine_Windows.cs
@@ -0,0 +1,1943 @@
+#if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public partial class AkSoundEngine {
+ public static uint AK_SOUNDBANK_VERSION { get { return AkSoundEnginePINVOKE.CSharp_AK_SOUNDBANK_VERSION_get(); }
+ }
+
+ public static ushort AK_INT { get { return AkSoundEnginePINVOKE.CSharp_AK_INT_get(); }
+ }
+
+ public static ushort AK_FLOAT { get { return AkSoundEnginePINVOKE.CSharp_AK_FLOAT_get(); }
+ }
+
+ public static byte AK_INTERLEAVED { get { return AkSoundEnginePINVOKE.CSharp_AK_INTERLEAVED_get(); }
+ }
+
+ public static byte AK_NONINTERLEAVED { get { return AkSoundEnginePINVOKE.CSharp_AK_NONINTERLEAVED_get(); }
+ }
+
+ public static uint AK_LE_NATIVE_BITSPERSAMPLE { get { return AkSoundEnginePINVOKE.CSharp_AK_LE_NATIVE_BITSPERSAMPLE_get(); }
+ }
+
+ public static uint AK_LE_NATIVE_SAMPLETYPE { get { return AkSoundEnginePINVOKE.CSharp_AK_LE_NATIVE_SAMPLETYPE_get(); }
+ }
+
+ public static uint AK_LE_NATIVE_INTERLEAVE { get { return AkSoundEnginePINVOKE.CSharp_AK_LE_NATIVE_INTERLEAVE_get(); }
+ }
+
+ public static uint DynamicSequenceOpen(UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, AkDynamicSequenceType in_eDynamicSequenceType) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_DynamicSequenceOpen__SWIG_0(in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, (int)in_eDynamicSequenceType);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint DynamicSequenceOpen(UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_DynamicSequenceOpen__SWIG_1(in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint DynamicSequenceOpen(UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_DynamicSequenceOpen__SWIG_2(in_gameObjectID_id);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static AKRESULT DynamicSequenceClose(uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceClose(in_playingID); }
+
+ public static AKRESULT DynamicSequencePlay(uint in_playingID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequencePlay__SWIG_0(in_playingID, in_uTransitionDuration, (int)in_eFadeCurve); }
+
+ public static AKRESULT DynamicSequencePlay(uint in_playingID, int in_uTransitionDuration) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequencePlay__SWIG_1(in_playingID, in_uTransitionDuration); }
+
+ public static AKRESULT DynamicSequencePlay(uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequencePlay__SWIG_2(in_playingID); }
+
+ public static AKRESULT DynamicSequencePause(uint in_playingID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequencePause__SWIG_0(in_playingID, in_uTransitionDuration, (int)in_eFadeCurve); }
+
+ public static AKRESULT DynamicSequencePause(uint in_playingID, int in_uTransitionDuration) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequencePause__SWIG_1(in_playingID, in_uTransitionDuration); }
+
+ public static AKRESULT DynamicSequencePause(uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequencePause__SWIG_2(in_playingID); }
+
+ public static AKRESULT DynamicSequenceResume(uint in_playingID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceResume__SWIG_0(in_playingID, in_uTransitionDuration, (int)in_eFadeCurve); }
+
+ public static AKRESULT DynamicSequenceResume(uint in_playingID, int in_uTransitionDuration) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceResume__SWIG_1(in_playingID, in_uTransitionDuration); }
+
+ public static AKRESULT DynamicSequenceResume(uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceResume__SWIG_2(in_playingID); }
+
+ public static AKRESULT DynamicSequenceStop(uint in_playingID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceStop__SWIG_0(in_playingID, in_uTransitionDuration, (int)in_eFadeCurve); }
+
+ public static AKRESULT DynamicSequenceStop(uint in_playingID, int in_uTransitionDuration) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceStop__SWIG_1(in_playingID, in_uTransitionDuration); }
+
+ public static AKRESULT DynamicSequenceStop(uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceStop__SWIG_2(in_playingID); }
+
+ public static AKRESULT DynamicSequenceBreak(uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceBreak(in_playingID); }
+
+ public static AKRESULT Seek(uint in_playingID, int in_iPosition, bool in_bSeekToNearestMarker) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_Seek__SWIG_0(in_playingID, in_iPosition, in_bSeekToNearestMarker); }
+
+ public static AKRESULT Seek(uint in_playingID, float in_fPercent, bool in_bSeekToNearestMarker) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_Seek__SWIG_1(in_playingID, in_fPercent, in_bSeekToNearestMarker); }
+
+ public static AKRESULT DynamicSequenceGetPauseTimes(uint in_playingID, out uint out_uTime, out uint out_uDuration) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceGetPauseTimes(in_playingID, out out_uTime, out out_uDuration); }
+
+ public static AkPlaylist DynamicSequenceLockPlaylist(uint in_playingID) {
+ global::System.IntPtr cPtr = AkSoundEnginePINVOKE.CSharp_DynamicSequenceLockPlaylist(in_playingID);
+ AkPlaylist ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkPlaylist(cPtr, false);
+ return ret;
+ }
+
+ public static AKRESULT DynamicSequenceUnlockPlaylist(uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_DynamicSequenceUnlockPlaylist(in_playingID); }
+
+ public static bool IsInitialized() { return AkSoundEnginePINVOKE.CSharp_IsInitialized(); }
+
+ public static AKRESULT GetAudioSettings(AkAudioSettings out_audioSettings) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetAudioSettings(AkAudioSettings.getCPtr(out_audioSettings)); }
+
+ public static AkChannelConfig GetSpeakerConfiguration(ulong in_idOutput) {
+ AkChannelConfig ret = new AkChannelConfig(AkSoundEnginePINVOKE.CSharp_GetSpeakerConfiguration__SWIG_0(in_idOutput), true);
+ return ret;
+ }
+
+ public static AkChannelConfig GetSpeakerConfiguration() {
+ AkChannelConfig ret = new AkChannelConfig(AkSoundEnginePINVOKE.CSharp_GetSpeakerConfiguration__SWIG_1(), true);
+ return ret;
+ }
+
+ public static AKRESULT GetPanningRule(out int out_ePanningRule, ulong in_idOutput) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPanningRule__SWIG_0(out out_ePanningRule, in_idOutput); }
+
+ public static AKRESULT GetPanningRule(out int out_ePanningRule) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPanningRule__SWIG_1(out out_ePanningRule); }
+
+ public static AKRESULT SetPanningRule(AkPanningRule in_ePanningRule, ulong in_idOutput) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetPanningRule__SWIG_0((int)in_ePanningRule, in_idOutput); }
+
+ public static AKRESULT SetPanningRule(AkPanningRule in_ePanningRule) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetPanningRule__SWIG_1((int)in_ePanningRule); }
+
+ public static AKRESULT GetSpeakerAngles(float[] io_pfSpeakerAngles, ref uint io_uNumAngles, out float out_fHeightAngle, ulong in_idOutput) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSpeakerAngles__SWIG_0(io_pfSpeakerAngles, ref io_uNumAngles, out out_fHeightAngle, in_idOutput); }
+
+ public static AKRESULT GetSpeakerAngles(float[] io_pfSpeakerAngles, ref uint io_uNumAngles, out float out_fHeightAngle) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSpeakerAngles__SWIG_1(io_pfSpeakerAngles, ref io_uNumAngles, out out_fHeightAngle); }
+
+ public static AKRESULT SetSpeakerAngles(float[] in_pfSpeakerAngles, uint in_uNumAngles, float in_fHeightAngle, ulong in_idOutput) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetSpeakerAngles__SWIG_0(in_pfSpeakerAngles, in_uNumAngles, in_fHeightAngle, in_idOutput); }
+
+ public static AKRESULT SetSpeakerAngles(float[] in_pfSpeakerAngles, uint in_uNumAngles, float in_fHeightAngle) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetSpeakerAngles__SWIG_1(in_pfSpeakerAngles, in_uNumAngles, in_fHeightAngle); }
+
+ public static AKRESULT SetVolumeThreshold(float in_fVolumeThresholdDB) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetVolumeThreshold(in_fVolumeThresholdDB); }
+
+ public static AKRESULT SetMaxNumVoicesLimit(ushort in_maxNumberVoices) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMaxNumVoicesLimit(in_maxNumberVoices); }
+
+ public static AKRESULT RenderAudio(bool in_bAllowSyncRender) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RenderAudio__SWIG_0(in_bAllowSyncRender); }
+
+ public static AKRESULT RenderAudio() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RenderAudio__SWIG_1(); }
+
+ public static AKRESULT RegisterPluginDLL(string in_DllName, string in_DllPath) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RegisterPluginDLL__SWIG_0(in_DllName, in_DllPath); }
+
+ public static AKRESULT RegisterPluginDLL(string in_DllName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RegisterPluginDLL__SWIG_1(in_DllName); }
+
+ public static uint GetIDFromString(string in_pszString) { return AkSoundEnginePINVOKE.CSharp_GetIDFromString__SWIG_0(in_pszString); }
+
+ public static uint PostEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_0(in_eventID, in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer(), in_PlayingID);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_1(in_eventID, in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer());
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_2(in_eventID, in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_3(in_eventID, in_gameObjectID_id);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_4(in_pszEventName, in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer(), in_PlayingID);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_5(in_pszEventName, in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer());
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_6(in_pszEventName, in_gameObjectID_id, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_7(in_pszEventName, in_gameObjectID_id);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(uint in_eventID, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_0(in_eventID, (int)in_ActionType, in_gameObjectID_id, in_uTransitionDuration, (int)in_eFadeCurve, in_PlayingID); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(uint in_eventID, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_1(in_eventID, (int)in_ActionType, in_gameObjectID_id, in_uTransitionDuration, (int)in_eFadeCurve); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(uint in_eventID, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID, int in_uTransitionDuration) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_2(in_eventID, (int)in_ActionType, in_gameObjectID_id, in_uTransitionDuration); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(uint in_eventID, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_3(in_eventID, (int)in_ActionType, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(uint in_eventID, AkActionOnEventType in_ActionType) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_4(in_eventID, (int)in_ActionType); }
+
+ public static AKRESULT ExecuteActionOnEvent(string in_pszEventName, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_5(in_pszEventName, (int)in_ActionType, in_gameObjectID_id, in_uTransitionDuration, (int)in_eFadeCurve, in_PlayingID); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(string in_pszEventName, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_6(in_pszEventName, (int)in_ActionType, in_gameObjectID_id, in_uTransitionDuration, (int)in_eFadeCurve); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(string in_pszEventName, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID, int in_uTransitionDuration) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_7(in_pszEventName, (int)in_ActionType, in_gameObjectID_id, in_uTransitionDuration); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(string in_pszEventName, AkActionOnEventType in_ActionType, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_8(in_pszEventName, (int)in_ActionType, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT ExecuteActionOnEvent(string in_pszEventName, AkActionOnEventType in_ActionType) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_9(in_pszEventName, (int)in_ActionType); }
+
+ public static AKRESULT PostMIDIOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, AkMIDIPostArray in_pPosts, ushort in_uNumPosts) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostMIDIOnEvent(in_eventID, in_gameObjectID_id, in_pPosts.GetBuffer(), in_uNumPosts); }
+ }
+
+ public static AKRESULT StopMIDIOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_StopMIDIOnEvent__SWIG_0(in_eventID, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT StopMIDIOnEvent(uint in_eventID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_StopMIDIOnEvent__SWIG_1(in_eventID); }
+
+ public static AKRESULT StopMIDIOnEvent() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_StopMIDIOnEvent__SWIG_2(); }
+
+ public static AKRESULT PinEventInStreamCache(uint in_eventID, char in_uActivePriority, char in_uInactivePriority) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PinEventInStreamCache__SWIG_0(in_eventID, in_uActivePriority, in_uInactivePriority); }
+
+ public static AKRESULT PinEventInStreamCache(string in_pszEventName, char in_uActivePriority, char in_uInactivePriority) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PinEventInStreamCache__SWIG_1(in_pszEventName, in_uActivePriority, in_uInactivePriority); }
+
+ public static AKRESULT UnpinEventInStreamCache(uint in_eventID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnpinEventInStreamCache__SWIG_0(in_eventID); }
+
+ public static AKRESULT UnpinEventInStreamCache(string in_pszEventName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnpinEventInStreamCache__SWIG_1(in_pszEventName); }
+
+ public static AKRESULT GetBufferStatusForPinnedEvent(uint in_eventID, out float out_fPercentBuffered, out int out_bCachePinnedMemoryFull) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetBufferStatusForPinnedEvent__SWIG_0(in_eventID, out out_fPercentBuffered, out out_bCachePinnedMemoryFull); }
+
+ public static AKRESULT GetBufferStatusForPinnedEvent(string in_pszEventName, out float out_fPercentBuffered, out int out_bCachePinnedMemoryFull) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetBufferStatusForPinnedEvent__SWIG_1(in_pszEventName, out out_fPercentBuffered, out out_bCachePinnedMemoryFull); }
+
+ public static AKRESULT SeekOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, int in_iPosition, bool in_bSeekToNearestMarker, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_0(in_eventID, in_gameObjectID_id, in_iPosition, in_bSeekToNearestMarker, in_PlayingID); }
+ }
+
+ public static AKRESULT SeekOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, int in_iPosition, bool in_bSeekToNearestMarker) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_1(in_eventID, in_gameObjectID_id, in_iPosition, in_bSeekToNearestMarker); }
+ }
+
+ public static AKRESULT SeekOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, int in_iPosition) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_2(in_eventID, in_gameObjectID_id, in_iPosition); }
+ }
+
+ public static AKRESULT SeekOnEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, int in_iPosition, bool in_bSeekToNearestMarker, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_3(in_pszEventName, in_gameObjectID_id, in_iPosition, in_bSeekToNearestMarker, in_PlayingID); }
+ }
+
+ public static AKRESULT SeekOnEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, int in_iPosition, bool in_bSeekToNearestMarker) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_4(in_pszEventName, in_gameObjectID_id, in_iPosition, in_bSeekToNearestMarker); }
+ }
+
+ public static AKRESULT SeekOnEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, int in_iPosition) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_5(in_pszEventName, in_gameObjectID_id, in_iPosition); }
+ }
+
+ public static AKRESULT SeekOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, float in_fPercent, bool in_bSeekToNearestMarker, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_9(in_eventID, in_gameObjectID_id, in_fPercent, in_bSeekToNearestMarker, in_PlayingID); }
+ }
+
+ public static AKRESULT SeekOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, float in_fPercent, bool in_bSeekToNearestMarker) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_10(in_eventID, in_gameObjectID_id, in_fPercent, in_bSeekToNearestMarker); }
+ }
+
+ public static AKRESULT SeekOnEvent(uint in_eventID, UnityEngine.GameObject in_gameObjectID, float in_fPercent) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_11(in_eventID, in_gameObjectID_id, in_fPercent); }
+ }
+
+ public static AKRESULT SeekOnEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, float in_fPercent, bool in_bSeekToNearestMarker, uint in_PlayingID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_12(in_pszEventName, in_gameObjectID_id, in_fPercent, in_bSeekToNearestMarker, in_PlayingID); }
+ }
+
+ public static AKRESULT SeekOnEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, float in_fPercent, bool in_bSeekToNearestMarker) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_13(in_pszEventName, in_gameObjectID_id, in_fPercent, in_bSeekToNearestMarker); }
+ }
+
+ public static AKRESULT SeekOnEvent(string in_pszEventName, UnityEngine.GameObject in_gameObjectID, float in_fPercent) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_14(in_pszEventName, in_gameObjectID_id, in_fPercent); }
+ }
+
+ public static void CancelEventCallbackCookie(object in_pCookie) {
+ AkCallbackManager.RemoveEventCallbackCookie(in_pCookie);
+ }
+
+ public static void CancelEventCallbackGameObject(UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { AkSoundEnginePINVOKE.CSharp_CancelEventCallbackGameObject(in_gameObjectID_id); }
+ }
+
+ public static void CancelEventCallback(uint in_playingID) {
+ AkCallbackManager.RemoveEventCallback(in_playingID);
+ }
+
+ public static AKRESULT GetSourcePlayPosition(uint in_PlayingID, out int out_puPosition, bool in_bExtrapolate) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSourcePlayPosition__SWIG_0(in_PlayingID, out out_puPosition, in_bExtrapolate); }
+
+ public static AKRESULT GetSourcePlayPosition(uint in_PlayingID, out int out_puPosition) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSourcePlayPosition__SWIG_1(in_PlayingID, out out_puPosition); }
+
+ public static AKRESULT GetSourceStreamBuffering(uint in_PlayingID, out int out_buffering, out int out_bIsBuffering) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSourceStreamBuffering(in_PlayingID, out out_buffering, out out_bIsBuffering); }
+
+ public static void StopAll(UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { AkSoundEnginePINVOKE.CSharp_StopAll__SWIG_0(in_gameObjectID_id); }
+ }
+
+ public static void StopAll() { AkSoundEnginePINVOKE.CSharp_StopAll__SWIG_1(); }
+
+ public static void StopPlayingID(uint in_playingID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) { AkSoundEnginePINVOKE.CSharp_StopPlayingID__SWIG_0(in_playingID, in_uTransitionDuration, (int)in_eFadeCurve); }
+
+ public static void StopPlayingID(uint in_playingID, int in_uTransitionDuration) { AkSoundEnginePINVOKE.CSharp_StopPlayingID__SWIG_1(in_playingID, in_uTransitionDuration); }
+
+ public static void StopPlayingID(uint in_playingID) { AkSoundEnginePINVOKE.CSharp_StopPlayingID__SWIG_2(in_playingID); }
+
+ public static void ExecuteActionOnPlayingID(AkActionOnEventType in_ActionType, uint in_playingID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve) { AkSoundEnginePINVOKE.CSharp_ExecuteActionOnPlayingID__SWIG_0((int)in_ActionType, in_playingID, in_uTransitionDuration, (int)in_eFadeCurve); }
+
+ public static void ExecuteActionOnPlayingID(AkActionOnEventType in_ActionType, uint in_playingID, int in_uTransitionDuration) { AkSoundEnginePINVOKE.CSharp_ExecuteActionOnPlayingID__SWIG_1((int)in_ActionType, in_playingID, in_uTransitionDuration); }
+
+ public static void ExecuteActionOnPlayingID(AkActionOnEventType in_ActionType, uint in_playingID) { AkSoundEnginePINVOKE.CSharp_ExecuteActionOnPlayingID__SWIG_2((int)in_ActionType, in_playingID); }
+
+ public static void SetRandomSeed(uint in_uSeed) { AkSoundEnginePINVOKE.CSharp_SetRandomSeed(in_uSeed); }
+
+ public static void MuteBackgroundMusic(bool in_bMute) { AkSoundEnginePINVOKE.CSharp_MuteBackgroundMusic(in_bMute); }
+
+ public static bool GetBackgroundMusicMute() { return AkSoundEnginePINVOKE.CSharp_GetBackgroundMusicMute(); }
+
+ public static AKRESULT SendPluginCustomGameData(uint in_busID, UnityEngine.GameObject in_busObjectID, AkPluginType in_eType, uint in_uCompanyID, uint in_uPluginID, global::System.IntPtr in_pData, uint in_uSizeInBytes) {
+
+ var in_busObjectID_id = AkSoundEngine.GetAkGameObjectID(in_busObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_busObjectID, in_busObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SendPluginCustomGameData(in_busID, in_busObjectID_id, (int)in_eType, in_uCompanyID, in_uPluginID, in_pData, in_uSizeInBytes); }
+ }
+
+ public static AKRESULT UnregisterAllGameObj() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnregisterAllGameObj(); }
+
+ public static AKRESULT SetMultiplePositions(UnityEngine.GameObject in_GameObjectID, AkPositionArray in_pPositions, ushort in_NumPositions, AkMultiPositionType in_eMultiPositionType) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMultiplePositions__SWIG_0(AkSoundEngine.GetAkGameObjectID(in_GameObjectID), in_pPositions.m_Buffer, in_NumPositions, (int)in_eMultiPositionType); }
+
+ public static AKRESULT SetMultiplePositions(UnityEngine.GameObject in_GameObjectID, AkPositionArray in_pPositions, ushort in_NumPositions) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMultiplePositions__SWIG_1(AkSoundEngine.GetAkGameObjectID(in_GameObjectID), in_pPositions.m_Buffer, in_NumPositions); }
+
+ public static AKRESULT SetMultiplePositions(UnityEngine.GameObject in_GameObjectID, AkChannelEmitterArray in_pPositions, ushort in_NumPositions, AkMultiPositionType in_eMultiPositionType) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMultiplePositions__SWIG_2(AkSoundEngine.GetAkGameObjectID(in_GameObjectID), in_pPositions.m_Buffer, in_NumPositions, (int)in_eMultiPositionType); }
+
+ public static AKRESULT SetMultiplePositions(UnityEngine.GameObject in_GameObjectID, AkChannelEmitterArray in_pPositions, ushort in_NumPositions) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMultiplePositions__SWIG_3(AkSoundEngine.GetAkGameObjectID(in_GameObjectID), in_pPositions.m_Buffer, in_NumPositions); }
+
+ public static AKRESULT SetScalingFactor(UnityEngine.GameObject in_GameObjectID, float in_fAttenuationScalingFactor) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetScalingFactor(AkSoundEngine.GetAkGameObjectID(in_GameObjectID), in_fAttenuationScalingFactor); }
+
+ public static AKRESULT ClearBanks() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ClearBanks(); }
+
+ public static AKRESULT SetBankLoadIOSettings(float in_fThroughput, char in_priority) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBankLoadIOSettings(in_fThroughput, in_priority); }
+
+ public static AKRESULT LoadBank(string in_pszString, out uint out_bankID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBank__SWIG_0(in_pszString, out out_bankID); }
+
+ public static AKRESULT LoadBank(uint in_bankID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBank__SWIG_2(in_bankID); }
+
+ public static AKRESULT LoadBankMemoryView(global::System.IntPtr in_pInMemoryBankPtr, uint in_uInMemoryBankSize, out uint out_bankID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBankMemoryView__SWIG_0(in_pInMemoryBankPtr, in_uInMemoryBankSize, out out_bankID); }
+
+ public static AKRESULT LoadBankMemoryCopy(global::System.IntPtr in_pInMemoryBankPtr, uint in_uInMemoryBankSize, out uint out_bankID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBankMemoryCopy__SWIG_0(in_pInMemoryBankPtr, in_uInMemoryBankSize, out out_bankID); }
+
+ public static AKRESULT LoadBank(string in_pszString, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie, out uint out_bankID) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBank__SWIG_3(in_pszString, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, out out_bankID); }
+ }
+
+ public static AKRESULT LoadBank(uint in_bankID, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBank__SWIG_5(in_bankID, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); }
+ }
+
+ public static AKRESULT LoadBankMemoryView(global::System.IntPtr in_pInMemoryBankPtr, uint in_uInMemoryBankSize, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie, out uint out_bankID) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBankMemoryView__SWIG_1(in_pInMemoryBankPtr, in_uInMemoryBankSize, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, out out_bankID); }
+ }
+
+ public static AKRESULT LoadBankMemoryCopy(global::System.IntPtr in_pInMemoryBankPtr, uint in_uInMemoryBankSize, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie, out uint out_bankID) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadBankMemoryCopy__SWIG_1(in_pInMemoryBankPtr, in_uInMemoryBankSize, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, out out_bankID); }
+ }
+
+ public static AKRESULT UnloadBank(string in_pszString, global::System.IntPtr in_pInMemoryBankPtr) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnloadBank__SWIG_0(in_pszString, in_pInMemoryBankPtr); }
+
+ public static AKRESULT UnloadBank(uint in_bankID, global::System.IntPtr in_pInMemoryBankPtr) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnloadBank__SWIG_2(in_bankID, in_pInMemoryBankPtr); }
+
+ public static AKRESULT UnloadBank(string in_pszString, global::System.IntPtr in_pInMemoryBankPtr, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnloadBank__SWIG_3(in_pszString, in_pInMemoryBankPtr, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); }
+ }
+
+ public static AKRESULT UnloadBank(uint in_bankID, global::System.IntPtr in_pInMemoryBankPtr, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnloadBank__SWIG_5(in_bankID, in_pInMemoryBankPtr, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); }
+ }
+
+ public static void CancelBankCallbackCookie(object in_pCookie) {
+ AkCallbackManager.RemoveBankCallback(in_pCookie);
+ }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, string in_pszString, AkBankContent in_uFlags) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_0((int)in_PreparationType, in_pszString, (int)in_uFlags); }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, string in_pszString) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_1((int)in_PreparationType, in_pszString); }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, uint in_bankID, AkBankContent in_uFlags) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_4((int)in_PreparationType, in_bankID, (int)in_uFlags); }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, uint in_bankID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_5((int)in_PreparationType, in_bankID); }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, string in_pszString, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie, AkBankContent in_uFlags) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_6((int)in_PreparationType, in_pszString, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, (int)in_uFlags); }
+ }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, string in_pszString, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_7((int)in_PreparationType, in_pszString, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); }
+ }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, uint in_bankID, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie, AkBankContent in_uFlags) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_10((int)in_PreparationType, in_bankID, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, (int)in_uFlags); }
+ }
+
+ public static AKRESULT PrepareBank(AkPreparationType in_PreparationType, uint in_bankID, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareBank__SWIG_11((int)in_PreparationType, in_bankID, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); }
+ }
+
+ public static AKRESULT ClearPreparedEvents() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ClearPreparedEvents(); }
+
+ public static AKRESULT PrepareEvent(AkPreparationType in_PreparationType, string [] in_ppszString, uint in_uNumEvent) {
+
+ //Find the required size
+ int size = 0;
+ foreach(string s in in_ppszString)
+ size += s.Length + 1;
+
+ int sizeofChar = 2; //Unicode
+ global::System.IntPtr pMem = global::System.Runtime.InteropServices.Marshal.AllocHGlobal(size * sizeofChar + 2);
+
+ //Write the length of array
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pMem, (short)in_ppszString.Length);
+ global::System.IntPtr pCurrent = (global::System.IntPtr)(pMem.ToInt64() + sizeofChar);
+
+ //Copy the strings one after the other.
+ foreach(string s in in_ppszString)
+ {
+ global::System.Runtime.InteropServices.Marshal.Copy(s.ToCharArray(), 0, pCurrent, s.Length);
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar * s.Length);
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pCurrent, 0); //Null-terminated string
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar);
+ }
+
+ try { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareEvent__SWIG_0((int)in_PreparationType, pMem, in_uNumEvent); } finally {
+ global::System.Runtime.InteropServices.Marshal.FreeHGlobal(pMem);
+ }
+ }
+
+ public static AKRESULT PrepareEvent(AkPreparationType in_PreparationType, uint[] in_pEventID, uint in_uNumEvent) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareEvent__SWIG_1((int)in_PreparationType, in_pEventID, in_uNumEvent); }
+
+ public static AKRESULT PrepareEvent(AkPreparationType in_PreparationType, string [] in_ppszString, uint in_uNumEvent, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+
+ //Find the required size
+ int size = 0;
+ foreach(string s in in_ppszString)
+ size += s.Length + 1;
+
+ int sizeofChar = 2; //Unicode
+ global::System.IntPtr pMem = global::System.Runtime.InteropServices.Marshal.AllocHGlobal(size * sizeofChar + 2);
+
+ //Write the length of array
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pMem, (short)in_ppszString.Length);
+ global::System.IntPtr pCurrent = (global::System.IntPtr)(pMem.ToInt64() + sizeofChar);
+
+ //Copy the strings one after the other.
+ foreach(string s in in_ppszString)
+ {
+ global::System.Runtime.InteropServices.Marshal.Copy(s.ToCharArray(), 0, pCurrent, s.Length);
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar * s.Length);
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pCurrent, 0); //Null-terminated string
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar);
+ }
+
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ try { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareEvent__SWIG_2((int)in_PreparationType, pMem, in_uNumEvent, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); } finally {
+ global::System.Runtime.InteropServices.Marshal.FreeHGlobal(pMem);
+ }
+ }
+
+ public static AKRESULT PrepareEvent(AkPreparationType in_PreparationType, uint[] in_pEventID, uint in_uNumEvent, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareEvent__SWIG_3((int)in_PreparationType, in_pEventID, in_uNumEvent, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); }
+ }
+
+ public static AKRESULT SetMedia(AkSourceSettingsArray in_pSourceSettings, uint in_uNumSourceSettings) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMedia(in_pSourceSettings.GetBuffer(), in_uNumSourceSettings); }
+
+ public static AKRESULT UnsetMedia(AkSourceSettingsArray in_pSourceSettings, uint in_uNumSourceSettings) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnsetMedia(in_pSourceSettings.GetBuffer(), in_uNumSourceSettings); }
+
+ public static AKRESULT PrepareGameSyncs(AkPreparationType in_PreparationType, AkGroupType in_eGameSyncType, string in_pszGroupName, string [] in_ppszGameSyncName, uint in_uNumGameSyncs) {
+
+ //Find the required size
+ int size = 0;
+ foreach(string s in in_ppszGameSyncName)
+ size += s.Length + 1;
+
+ int sizeofChar = 2; //Unicode
+ global::System.IntPtr pMem = global::System.Runtime.InteropServices.Marshal.AllocHGlobal(size * sizeofChar + 2);
+
+ //Write the length of array
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pMem, (short)in_ppszGameSyncName.Length);
+ global::System.IntPtr pCurrent = (global::System.IntPtr)(pMem.ToInt64() + sizeofChar);
+
+ //Copy the strings one after the other.
+ foreach(string s in in_ppszGameSyncName)
+ {
+ global::System.Runtime.InteropServices.Marshal.Copy(s.ToCharArray(), 0, pCurrent, s.Length);
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar * s.Length);
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pCurrent, 0); //Null-terminated string
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar);
+ }
+
+ try { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareGameSyncs__SWIG_0((int)in_PreparationType, (int)in_eGameSyncType, in_pszGroupName, pMem, in_uNumGameSyncs); } finally {
+ global::System.Runtime.InteropServices.Marshal.FreeHGlobal(pMem);
+ }
+ }
+
+ public static AKRESULT PrepareGameSyncs(AkPreparationType in_PreparationType, AkGroupType in_eGameSyncType, uint in_GroupID, uint[] in_paGameSyncID, uint in_uNumGameSyncs) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareGameSyncs__SWIG_1((int)in_PreparationType, (int)in_eGameSyncType, in_GroupID, in_paGameSyncID, in_uNumGameSyncs); }
+
+ public static AKRESULT PrepareGameSyncs(AkPreparationType in_PreparationType, AkGroupType in_eGameSyncType, string in_pszGroupName, string [] in_ppszGameSyncName, uint in_uNumGameSyncs, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+
+ //Find the required size
+ int size = 0;
+ foreach(string s in in_ppszGameSyncName)
+ size += s.Length + 1;
+
+ int sizeofChar = 2; //Unicode
+ global::System.IntPtr pMem = global::System.Runtime.InteropServices.Marshal.AllocHGlobal(size * sizeofChar + 2);
+
+ //Write the length of array
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pMem, (short)in_ppszGameSyncName.Length);
+ global::System.IntPtr pCurrent = (global::System.IntPtr)(pMem.ToInt64() + sizeofChar);
+
+ //Copy the strings one after the other.
+ foreach(string s in in_ppszGameSyncName)
+ {
+ global::System.Runtime.InteropServices.Marshal.Copy(s.ToCharArray(), 0, pCurrent, s.Length);
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar * s.Length);
+ global::System.Runtime.InteropServices.Marshal.WriteInt16(pCurrent, 0); //Null-terminated string
+ pCurrent = (global::System.IntPtr)(pCurrent.ToInt64() + sizeofChar);
+ }
+
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ try { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareGameSyncs__SWIG_2((int)in_PreparationType, (int)in_eGameSyncType, in_pszGroupName, pMem, in_uNumGameSyncs, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); } finally {
+ global::System.Runtime.InteropServices.Marshal.FreeHGlobal(pMem);
+ }
+ }
+
+ public static AKRESULT PrepareGameSyncs(AkPreparationType in_PreparationType, AkGroupType in_eGameSyncType, uint in_GroupID, uint[] in_paGameSyncID, uint in_uNumGameSyncs, AkCallbackManager.BankCallback in_pfnBankCallback, object in_pCookie) {
+ in_pCookie = new AkCallbackManager.BankCallbackPackage(in_pfnBankCallback, in_pCookie);
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PrepareGameSyncs__SWIG_3((int)in_PreparationType, (int)in_eGameSyncType, in_GroupID, in_paGameSyncID, in_uNumGameSyncs, global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero); }
+ }
+
+ public static AKRESULT AddListener(UnityEngine.GameObject in_emitterGameObj, UnityEngine.GameObject in_listenerGameObj) {
+
+ var in_emitterGameObj_id = AkSoundEngine.GetAkGameObjectID(in_emitterGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_emitterGameObj, in_emitterGameObj_id);
+
+
+ var in_listenerGameObj_id = AkSoundEngine.GetAkGameObjectID(in_listenerGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_listenerGameObj, in_listenerGameObj_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddListener(in_emitterGameObj_id, in_listenerGameObj_id); }
+ }
+
+ public static AKRESULT RemoveListener(UnityEngine.GameObject in_emitterGameObj, UnityEngine.GameObject in_listenerGameObj) {
+
+ var in_emitterGameObj_id = AkSoundEngine.GetAkGameObjectID(in_emitterGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_emitterGameObj, in_emitterGameObj_id);
+
+
+ var in_listenerGameObj_id = AkSoundEngine.GetAkGameObjectID(in_listenerGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_listenerGameObj, in_listenerGameObj_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RemoveListener(in_emitterGameObj_id, in_listenerGameObj_id); }
+ }
+
+ public static AKRESULT AddDefaultListener(UnityEngine.GameObject in_listenerGameObj) {
+
+ var in_listenerGameObj_id = AkSoundEngine.GetAkGameObjectID(in_listenerGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_listenerGameObj, in_listenerGameObj_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddDefaultListener(in_listenerGameObj_id); }
+ }
+
+ public static AKRESULT RemoveDefaultListener(UnityEngine.GameObject in_listenerGameObj) {
+
+ var in_listenerGameObj_id = AkSoundEngine.GetAkGameObjectID(in_listenerGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_listenerGameObj, in_listenerGameObj_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RemoveDefaultListener(in_listenerGameObj_id); }
+ }
+
+ public static AKRESULT ResetListenersToDefault(UnityEngine.GameObject in_emitterGameObj) {
+
+ var in_emitterGameObj_id = AkSoundEngine.GetAkGameObjectID(in_emitterGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_emitterGameObj, in_emitterGameObj_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetListenersToDefault(in_emitterGameObj_id); }
+ }
+
+ public static AKRESULT SetListenerSpatialization(UnityEngine.GameObject in_uListenerID, bool in_bSpatialized, AkChannelConfig in_channelConfig, float[] in_pVolumeOffsets) {
+
+ var in_uListenerID_id = AkSoundEngine.GetAkGameObjectID(in_uListenerID);
+ AkSoundEngine.PreGameObjectAPICall(in_uListenerID, in_uListenerID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetListenerSpatialization__SWIG_0(in_uListenerID_id, in_bSpatialized, AkChannelConfig.getCPtr(in_channelConfig), in_pVolumeOffsets); }
+ }
+
+ public static AKRESULT SetListenerSpatialization(UnityEngine.GameObject in_uListenerID, bool in_bSpatialized, AkChannelConfig in_channelConfig) {
+
+ var in_uListenerID_id = AkSoundEngine.GetAkGameObjectID(in_uListenerID);
+ AkSoundEngine.PreGameObjectAPICall(in_uListenerID, in_uListenerID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetListenerSpatialization__SWIG_1(in_uListenerID_id, in_bSpatialized, AkChannelConfig.getCPtr(in_channelConfig)); }
+ }
+
+ public static AKRESULT SetRTPCValue(uint in_rtpcID, float in_value, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve, bool in_bBypassInternalValueInterpolation) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_0(in_rtpcID, in_value, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve, in_bBypassInternalValueInterpolation); }
+ }
+
+ public static AKRESULT SetRTPCValue(uint in_rtpcID, float in_value, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_1(in_rtpcID, in_value, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve); }
+ }
+
+ public static AKRESULT SetRTPCValue(uint in_rtpcID, float in_value, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_2(in_rtpcID, in_value, in_gameObjectID_id, in_uValueChangeDuration); }
+ }
+
+ public static AKRESULT SetRTPCValue(uint in_rtpcID, float in_value, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_3(in_rtpcID, in_value, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT SetRTPCValue(uint in_rtpcID, float in_value) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_4(in_rtpcID, in_value); }
+
+ public static AKRESULT SetRTPCValue(string in_pszRtpcName, float in_value, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve, bool in_bBypassInternalValueInterpolation) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_5(in_pszRtpcName, in_value, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve, in_bBypassInternalValueInterpolation); }
+ }
+
+ public static AKRESULT SetRTPCValue(string in_pszRtpcName, float in_value, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_6(in_pszRtpcName, in_value, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve); }
+ }
+
+ public static AKRESULT SetRTPCValue(string in_pszRtpcName, float in_value, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_7(in_pszRtpcName, in_value, in_gameObjectID_id, in_uValueChangeDuration); }
+ }
+
+ public static AKRESULT SetRTPCValue(string in_pszRtpcName, float in_value, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_8(in_pszRtpcName, in_value, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT SetRTPCValue(string in_pszRtpcName, float in_value) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_9(in_pszRtpcName, in_value); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(uint in_rtpcID, float in_value, uint in_playingID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve, bool in_bBypassInternalValueInterpolation) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_0(in_rtpcID, in_value, in_playingID, in_uValueChangeDuration, (int)in_eFadeCurve, in_bBypassInternalValueInterpolation); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(uint in_rtpcID, float in_value, uint in_playingID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_1(in_rtpcID, in_value, in_playingID, in_uValueChangeDuration, (int)in_eFadeCurve); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(uint in_rtpcID, float in_value, uint in_playingID, int in_uValueChangeDuration) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_2(in_rtpcID, in_value, in_playingID, in_uValueChangeDuration); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(uint in_rtpcID, float in_value, uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_3(in_rtpcID, in_value, in_playingID); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(string in_pszRtpcName, float in_value, uint in_playingID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve, bool in_bBypassInternalValueInterpolation) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_4(in_pszRtpcName, in_value, in_playingID, in_uValueChangeDuration, (int)in_eFadeCurve, in_bBypassInternalValueInterpolation); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(string in_pszRtpcName, float in_value, uint in_playingID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_5(in_pszRtpcName, in_value, in_playingID, in_uValueChangeDuration, (int)in_eFadeCurve); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(string in_pszRtpcName, float in_value, uint in_playingID, int in_uValueChangeDuration) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_6(in_pszRtpcName, in_value, in_playingID, in_uValueChangeDuration); }
+
+ public static AKRESULT SetRTPCValueByPlayingID(string in_pszRtpcName, float in_value, uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValueByPlayingID__SWIG_7(in_pszRtpcName, in_value, in_playingID); }
+
+ public static AKRESULT ResetRTPCValue(uint in_rtpcID, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve, bool in_bBypassInternalValueInterpolation) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_0(in_rtpcID, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve, in_bBypassInternalValueInterpolation); }
+ }
+
+ public static AKRESULT ResetRTPCValue(uint in_rtpcID, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_1(in_rtpcID, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve); }
+ }
+
+ public static AKRESULT ResetRTPCValue(uint in_rtpcID, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_2(in_rtpcID, in_gameObjectID_id, in_uValueChangeDuration); }
+ }
+
+ public static AKRESULT ResetRTPCValue(uint in_rtpcID, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_3(in_rtpcID, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT ResetRTPCValue(uint in_rtpcID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_4(in_rtpcID); }
+
+ public static AKRESULT ResetRTPCValue(string in_pszRtpcName, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve, bool in_bBypassInternalValueInterpolation) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_5(in_pszRtpcName, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve, in_bBypassInternalValueInterpolation); }
+ }
+
+ public static AKRESULT ResetRTPCValue(string in_pszRtpcName, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_6(in_pszRtpcName, in_gameObjectID_id, in_uValueChangeDuration, (int)in_eFadeCurve); }
+ }
+
+ public static AKRESULT ResetRTPCValue(string in_pszRtpcName, UnityEngine.GameObject in_gameObjectID, int in_uValueChangeDuration) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_7(in_pszRtpcName, in_gameObjectID_id, in_uValueChangeDuration); }
+ }
+
+ public static AKRESULT ResetRTPCValue(string in_pszRtpcName, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_8(in_pszRtpcName, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT ResetRTPCValue(string in_pszRtpcName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_9(in_pszRtpcName); }
+
+ public static AKRESULT SetSwitch(uint in_switchGroup, uint in_switchState, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetSwitch__SWIG_0(in_switchGroup, in_switchState, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT SetSwitch(string in_pszSwitchGroup, string in_pszSwitchState, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetSwitch__SWIG_1(in_pszSwitchGroup, in_pszSwitchState, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT PostTrigger(uint in_triggerID, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostTrigger__SWIG_0(in_triggerID, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT PostTrigger(string in_pszTrigger, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostTrigger__SWIG_1(in_pszTrigger, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT SetState(uint in_stateGroup, uint in_state) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetState__SWIG_0(in_stateGroup, in_state); }
+
+ public static AKRESULT SetState(string in_pszStateGroup, string in_pszState) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetState__SWIG_1(in_pszStateGroup, in_pszState); }
+
+ public static AKRESULT SetGameObjectAuxSendValues(UnityEngine.GameObject in_gameObjectID, AkAuxSendArray in_aAuxSendValues, uint in_uNumSendValues) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetGameObjectAuxSendValues(in_gameObjectID_id, in_aAuxSendValues.GetBuffer(), in_uNumSendValues); }
+ }
+
+ public static AKRESULT SetGameObjectOutputBusVolume(UnityEngine.GameObject in_emitterObjID, UnityEngine.GameObject in_listenerObjID, float in_fControlValue) {
+
+ var in_emitterObjID_id = AkSoundEngine.GetAkGameObjectID(in_emitterObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_emitterObjID, in_emitterObjID_id);
+
+
+ var in_listenerObjID_id = AkSoundEngine.GetAkGameObjectID(in_listenerObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_listenerObjID, in_listenerObjID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetGameObjectOutputBusVolume(in_emitterObjID_id, in_listenerObjID_id, in_fControlValue); }
+ }
+
+ public static AKRESULT SetActorMixerEffect(uint in_audioNodeID, uint in_uFXIndex, uint in_shareSetID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetActorMixerEffect(in_audioNodeID, in_uFXIndex, in_shareSetID); }
+
+ public static AKRESULT SetBusEffect(uint in_audioNodeID, uint in_uFXIndex, uint in_shareSetID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBusEffect__SWIG_0(in_audioNodeID, in_uFXIndex, in_shareSetID); }
+
+ public static AKRESULT SetBusEffect(string in_pszBusName, uint in_uFXIndex, uint in_shareSetID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBusEffect__SWIG_1(in_pszBusName, in_uFXIndex, in_shareSetID); }
+
+ public static AKRESULT SetMixer(uint in_audioNodeID, uint in_shareSetID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMixer__SWIG_0(in_audioNodeID, in_shareSetID); }
+
+ public static AKRESULT SetMixer(string in_pszBusName, uint in_shareSetID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMixer__SWIG_1(in_pszBusName, in_shareSetID); }
+
+ public static AKRESULT SetBusConfig(uint in_audioNodeID, AkChannelConfig in_channelConfig) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBusConfig__SWIG_0(in_audioNodeID, AkChannelConfig.getCPtr(in_channelConfig)); }
+
+ public static AKRESULT SetBusConfig(string in_pszBusName, AkChannelConfig in_channelConfig) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBusConfig__SWIG_1(in_pszBusName, AkChannelConfig.getCPtr(in_channelConfig)); }
+
+ public static AKRESULT SetObjectObstructionAndOcclusion(UnityEngine.GameObject in_EmitterID, UnityEngine.GameObject in_ListenerID, float in_fObstructionLevel, float in_fOcclusionLevel) {
+
+ var in_EmitterID_id = AkSoundEngine.GetAkGameObjectID(in_EmitterID);
+ AkSoundEngine.PreGameObjectAPICall(in_EmitterID, in_EmitterID_id);
+
+
+ var in_ListenerID_id = AkSoundEngine.GetAkGameObjectID(in_ListenerID);
+ AkSoundEngine.PreGameObjectAPICall(in_ListenerID, in_ListenerID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetObjectObstructionAndOcclusion(in_EmitterID_id, in_ListenerID_id, in_fObstructionLevel, in_fOcclusionLevel); }
+ }
+
+ public static AKRESULT SetMultipleObstructionAndOcclusion(UnityEngine.GameObject in_EmitterID, UnityEngine.GameObject in_uListenerID, AkObstructionOcclusionValuesArray in_fObstructionOcclusionValues, uint in_uNumOcclusionObstruction) {
+
+ var in_EmitterID_id = AkSoundEngine.GetAkGameObjectID(in_EmitterID);
+ AkSoundEngine.PreGameObjectAPICall(in_EmitterID, in_EmitterID_id);
+
+
+ var in_uListenerID_id = AkSoundEngine.GetAkGameObjectID(in_uListenerID);
+ AkSoundEngine.PreGameObjectAPICall(in_uListenerID, in_uListenerID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMultipleObstructionAndOcclusion(in_EmitterID_id, in_uListenerID_id, in_fObstructionOcclusionValues.GetBuffer(), in_uNumOcclusionObstruction); }
+ }
+
+ public static AKRESULT StartOutputCapture(string in_CaptureFileName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_StartOutputCapture(in_CaptureFileName); }
+
+ public static AKRESULT StopOutputCapture() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_StopOutputCapture(); }
+
+ public static AKRESULT AddOutputCaptureMarker(string in_MarkerText) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddOutputCaptureMarker(in_MarkerText); }
+
+ public static AKRESULT StartProfilerCapture(string in_CaptureFileName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_StartProfilerCapture(in_CaptureFileName); }
+
+ public static AKRESULT StopProfilerCapture() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_StopProfilerCapture(); }
+
+ public static AKRESULT RemoveOutput(ulong in_idOutput) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RemoveOutput(in_idOutput); }
+
+ public static AKRESULT ReplaceOutput(AkOutputSettings in_Settings, ulong in_outputDeviceId, out ulong out_pOutputDeviceId) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ReplaceOutput__SWIG_0(AkOutputSettings.getCPtr(in_Settings), in_outputDeviceId, out out_pOutputDeviceId); }
+
+ public static AKRESULT ReplaceOutput(AkOutputSettings in_Settings, ulong in_outputDeviceId) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ReplaceOutput__SWIG_1(AkOutputSettings.getCPtr(in_Settings), in_outputDeviceId); }
+
+ public static ulong GetOutputID(uint in_idShareset, uint in_idDevice) { return AkSoundEnginePINVOKE.CSharp_GetOutputID__SWIG_0(in_idShareset, in_idDevice); }
+
+ public static ulong GetOutputID(string in_szShareSet, uint in_idDevice) { return AkSoundEnginePINVOKE.CSharp_GetOutputID__SWIG_1(in_szShareSet, in_idDevice); }
+
+ public static AKRESULT SetBusDevice(uint in_idBus, uint in_idNewDevice) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBusDevice__SWIG_0(in_idBus, in_idNewDevice); }
+
+ public static AKRESULT SetBusDevice(string in_BusName, string in_DeviceName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBusDevice__SWIG_1(in_BusName, in_DeviceName); }
+
+ public static AKRESULT GetDeviceList(uint in_ulCompanyID, uint in_ulPluginID, out uint io_maxNumDevices, AkDeviceDescriptionArray out_deviceDescriptions) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetDeviceList__SWIG_0(in_ulCompanyID, in_ulPluginID, out io_maxNumDevices, out_deviceDescriptions.GetBuffer()); }
+
+ public static AKRESULT GetDeviceList(uint in_audioDeviceShareSetID, out uint io_maxNumDevices, AkDeviceDescriptionArray out_deviceDescriptions) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetDeviceList__SWIG_1(in_audioDeviceShareSetID, out io_maxNumDevices, out_deviceDescriptions.GetBuffer()); }
+
+ public static AKRESULT SetOutputVolume(ulong in_idOutput, float in_fVolume) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetOutputVolume(in_idOutput, in_fVolume); }
+
+ public static AKRESULT GetDeviceSpatialAudioSupport(uint in_idDevice) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetDeviceSpatialAudioSupport(in_idDevice); }
+
+ public static AKRESULT Suspend(bool in_bRenderAnyway) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_Suspend__SWIG_0(in_bRenderAnyway); }
+
+ public static AKRESULT Suspend() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_Suspend__SWIG_1(); }
+
+ public static AKRESULT WakeupFromSuspend() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_WakeupFromSuspend(); }
+
+ public static uint GetBufferTick() { return AkSoundEnginePINVOKE.CSharp_GetBufferTick(); }
+
+ public static byte AK_INVALID_MIDI_CHANNEL { get { return AkSoundEnginePINVOKE.CSharp_AK_INVALID_MIDI_CHANNEL_get(); }
+ }
+
+ public static byte AK_INVALID_MIDI_NOTE { get { return AkSoundEnginePINVOKE.CSharp_AK_INVALID_MIDI_NOTE_get(); }
+ }
+
+ public static AKRESULT GetPlayingSegmentInfo(uint in_PlayingID, AkSegmentInfo out_segmentInfo, bool in_bExtrapolate) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPlayingSegmentInfo__SWIG_0(in_PlayingID, AkSegmentInfo.getCPtr(out_segmentInfo), in_bExtrapolate); }
+
+ public static AKRESULT GetPlayingSegmentInfo(uint in_PlayingID, AkSegmentInfo out_segmentInfo) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPlayingSegmentInfo__SWIG_1(in_PlayingID, AkSegmentInfo.getCPtr(out_segmentInfo)); }
+
+ public static void LocalOutput(AkMonitorErrorCode in_eErrorCode, string in_pszError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID, UnityEngine.GameObject in_gameObjID) {
+
+ var in_gameObjID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjID, in_gameObjID_id);
+
+ { AkSoundEnginePINVOKE.CSharp_LocalOutput((int)in_eErrorCode, in_pszError, (int)in_eErrorLevel, in_playingID, in_gameObjID_id); }
+ }
+
+ public static AKRESULT PostCode(AkMonitorErrorCode in_eError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID, UnityEngine.GameObject in_gameObjID, uint in_audioNodeID, bool in_bIsBus) {
+
+ var in_gameObjID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjID, in_gameObjID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostCode__SWIG_0((int)in_eError, (int)in_eErrorLevel, in_playingID, in_gameObjID_id, in_audioNodeID, in_bIsBus); }
+ }
+
+ public static AKRESULT PostCode(AkMonitorErrorCode in_eError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID, UnityEngine.GameObject in_gameObjID, uint in_audioNodeID) {
+
+ var in_gameObjID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjID, in_gameObjID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostCode__SWIG_1((int)in_eError, (int)in_eErrorLevel, in_playingID, in_gameObjID_id, in_audioNodeID); }
+ }
+
+ public static AKRESULT PostCode(AkMonitorErrorCode in_eError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID, UnityEngine.GameObject in_gameObjID) {
+
+ var in_gameObjID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjID, in_gameObjID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostCode__SWIG_2((int)in_eError, (int)in_eErrorLevel, in_playingID, in_gameObjID_id); }
+ }
+
+ public static AKRESULT PostCode(AkMonitorErrorCode in_eError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostCode__SWIG_3((int)in_eError, (int)in_eErrorLevel, in_playingID); }
+
+ public static AKRESULT PostCode(AkMonitorErrorCode in_eError, AkMonitorErrorLevel in_eErrorLevel) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostCode__SWIG_4((int)in_eError, (int)in_eErrorLevel); }
+
+ public static AKRESULT PostString(string in_pszError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID, UnityEngine.GameObject in_gameObjID, uint in_audioNodeID, bool in_bIsBus) {
+
+ var in_gameObjID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjID, in_gameObjID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostString__SWIG_0(in_pszError, (int)in_eErrorLevel, in_playingID, in_gameObjID_id, in_audioNodeID, in_bIsBus); }
+ }
+
+ public static AKRESULT PostString(string in_pszError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID, UnityEngine.GameObject in_gameObjID, uint in_audioNodeID) {
+
+ var in_gameObjID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjID, in_gameObjID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostString__SWIG_1(in_pszError, (int)in_eErrorLevel, in_playingID, in_gameObjID_id, in_audioNodeID); }
+ }
+
+ public static AKRESULT PostString(string in_pszError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID, UnityEngine.GameObject in_gameObjID) {
+
+ var in_gameObjID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjID, in_gameObjID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostString__SWIG_2(in_pszError, (int)in_eErrorLevel, in_playingID, in_gameObjID_id); }
+ }
+
+ public static AKRESULT PostString(string in_pszError, AkMonitorErrorLevel in_eErrorLevel, uint in_playingID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostString__SWIG_3(in_pszError, (int)in_eErrorLevel, in_playingID); }
+
+ public static AKRESULT PostString(string in_pszError, AkMonitorErrorLevel in_eErrorLevel) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostString__SWIG_4(in_pszError, (int)in_eErrorLevel); }
+
+ public static int GetTimeStamp() { return AkSoundEnginePINVOKE.CSharp_GetTimeStamp(); }
+
+ public static uint GetNumNonZeroBits(uint in_uWord) { return AkSoundEnginePINVOKE.CSharp_GetNumNonZeroBits(in_uWord); }
+
+ public static void AkGetDefaultHighPriorityThreadProperties(AkThreadProperties out_threadProperties) { AkSoundEnginePINVOKE.CSharp_AkGetDefaultHighPriorityThreadProperties(AkThreadProperties.getCPtr(out_threadProperties)); }
+
+ public static uint ResolveDialogueEvent(uint in_eventID, uint[] in_aArgumentValues, uint in_uNumArguments, uint in_idSequence) { return AkSoundEnginePINVOKE.CSharp_ResolveDialogueEvent__SWIG_0(in_eventID, in_aArgumentValues, in_uNumArguments, in_idSequence); }
+
+ public static uint ResolveDialogueEvent(uint in_eventID, uint[] in_aArgumentValues, uint in_uNumArguments) { return AkSoundEnginePINVOKE.CSharp_ResolveDialogueEvent__SWIG_1(in_eventID, in_aArgumentValues, in_uNumArguments); }
+
+ public static AKRESULT GetDialogueEventCustomPropertyValue(uint in_eventID, uint in_uPropID, out int out_iValue) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetDialogueEventCustomPropertyValue__SWIG_0(in_eventID, in_uPropID, out out_iValue); }
+
+ public static AKRESULT GetDialogueEventCustomPropertyValue(uint in_eventID, uint in_uPropID, out float out_fValue) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetDialogueEventCustomPropertyValue__SWIG_1(in_eventID, in_uPropID, out out_fValue); }
+
+ public static AKRESULT GetPosition(UnityEngine.GameObject in_GameObjectID, AkTransform out_rPosition) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPosition(AkSoundEngine.GetAkGameObjectID(in_GameObjectID), AkTransform.getCPtr(out_rPosition)); }
+
+ public static AKRESULT GetListenerPosition(UnityEngine.GameObject in_uIndex, AkTransform out_rPosition) {
+
+ var in_uIndex_id = AkSoundEngine.GetAkGameObjectID(in_uIndex);
+ AkSoundEngine.PreGameObjectAPICall(in_uIndex, in_uIndex_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetListenerPosition(in_uIndex_id, AkTransform.getCPtr(out_rPosition)); }
+ }
+
+ public static AKRESULT GetRTPCValue(uint in_rtpcID, UnityEngine.GameObject in_gameObjectID, uint in_playingID, out float out_rValue, ref int io_rValueType) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetRTPCValue__SWIG_0(in_rtpcID, in_gameObjectID_id, in_playingID, out out_rValue, ref io_rValueType); }
+ }
+
+ public static AKRESULT GetRTPCValue(string in_pszRtpcName, UnityEngine.GameObject in_gameObjectID, uint in_playingID, out float out_rValue, ref int io_rValueType) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetRTPCValue__SWIG_1(in_pszRtpcName, in_gameObjectID_id, in_playingID, out out_rValue, ref io_rValueType); }
+ }
+
+ public static AKRESULT GetSwitch(uint in_switchGroup, UnityEngine.GameObject in_gameObjectID, out uint out_rSwitchState) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSwitch__SWIG_0(in_switchGroup, in_gameObjectID_id, out out_rSwitchState); }
+ }
+
+ public static AKRESULT GetSwitch(string in_pstrSwitchGroupName, UnityEngine.GameObject in_GameObj, out uint out_rSwitchState) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSwitch__SWIG_1(in_pstrSwitchGroupName, AkSoundEngine.GetAkGameObjectID(in_GameObj), out out_rSwitchState); }
+
+ public static AKRESULT GetState(uint in_stateGroup, out uint out_rState) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetState__SWIG_0(in_stateGroup, out out_rState); }
+
+ public static AKRESULT GetState(string in_pstrStateGroupName, out uint out_rState) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetState__SWIG_1(in_pstrStateGroupName, out out_rState); }
+
+ public static AKRESULT GetGameObjectAuxSendValues(UnityEngine.GameObject in_gameObjectID, AkAuxSendArray out_paAuxSendValues, ref uint io_ruNumSendValues) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetGameObjectAuxSendValues(in_gameObjectID_id, out_paAuxSendValues.GetBuffer(), ref io_ruNumSendValues); }
+ }
+
+ public static AKRESULT GetGameObjectDryLevelValue(UnityEngine.GameObject in_EmitterID, UnityEngine.GameObject in_ListenerID, out float out_rfControlValue) {
+
+ var in_EmitterID_id = AkSoundEngine.GetAkGameObjectID(in_EmitterID);
+ AkSoundEngine.PreGameObjectAPICall(in_EmitterID, in_EmitterID_id);
+
+
+ var in_ListenerID_id = AkSoundEngine.GetAkGameObjectID(in_ListenerID);
+ AkSoundEngine.PreGameObjectAPICall(in_ListenerID, in_ListenerID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetGameObjectDryLevelValue(in_EmitterID_id, in_ListenerID_id, out out_rfControlValue); }
+ }
+
+ public static AKRESULT GetObjectObstructionAndOcclusion(UnityEngine.GameObject in_EmitterID, UnityEngine.GameObject in_ListenerID, out float out_rfObstructionLevel, out float out_rfOcclusionLevel) {
+
+ var in_EmitterID_id = AkSoundEngine.GetAkGameObjectID(in_EmitterID);
+ AkSoundEngine.PreGameObjectAPICall(in_EmitterID, in_EmitterID_id);
+
+
+ var in_ListenerID_id = AkSoundEngine.GetAkGameObjectID(in_ListenerID);
+ AkSoundEngine.PreGameObjectAPICall(in_ListenerID, in_ListenerID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetObjectObstructionAndOcclusion(in_EmitterID_id, in_ListenerID_id, out out_rfObstructionLevel, out out_rfOcclusionLevel); }
+ }
+
+ public static AKRESULT QueryAudioObjectIDs(uint in_eventID, ref uint io_ruNumItems, AkObjectInfoArray out_aObjectInfos) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_QueryAudioObjectIDs__SWIG_0(in_eventID, ref io_ruNumItems, out_aObjectInfos.GetBuffer()); }
+
+ public static AKRESULT QueryAudioObjectIDs(string in_pszEventName, ref uint io_ruNumItems, AkObjectInfoArray out_aObjectInfos) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_QueryAudioObjectIDs__SWIG_1(in_pszEventName, ref io_ruNumItems, out_aObjectInfos.GetBuffer()); }
+
+ public static AKRESULT GetPositioningInfo(uint in_ObjectID, AkPositioningInfo out_rPositioningInfo) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPositioningInfo(in_ObjectID, AkPositioningInfo.getCPtr(out_rPositioningInfo)); }
+
+ public static bool GetIsGameObjectActive(UnityEngine.GameObject in_GameObjId) {
+
+ var in_GameObjId_id = AkSoundEngine.GetAkGameObjectID(in_GameObjId);
+ AkSoundEngine.PreGameObjectAPICall(in_GameObjId, in_GameObjId_id);
+
+ { return AkSoundEnginePINVOKE.CSharp_GetIsGameObjectActive(in_GameObjId_id); }
+ }
+
+ public static float GetMaxRadius(UnityEngine.GameObject in_GameObjId) {
+
+ var in_GameObjId_id = AkSoundEngine.GetAkGameObjectID(in_GameObjId);
+ AkSoundEngine.PreGameObjectAPICall(in_GameObjId, in_GameObjId_id);
+
+ { return AkSoundEnginePINVOKE.CSharp_GetMaxRadius(in_GameObjId_id); }
+ }
+
+ public static uint GetEventIDFromPlayingID(uint in_playingID) { return AkSoundEnginePINVOKE.CSharp_GetEventIDFromPlayingID(in_playingID); }
+
+ public static ulong GetGameObjectFromPlayingID(uint in_playingID) { return AkSoundEnginePINVOKE.CSharp_GetGameObjectFromPlayingID(in_playingID); }
+
+ public static AKRESULT GetPlayingIDsFromGameObject(UnityEngine.GameObject in_GameObjId, ref uint io_ruNumIDs, uint[] out_aPlayingIDs) {
+
+ var in_GameObjId_id = AkSoundEngine.GetAkGameObjectID(in_GameObjId);
+ AkSoundEngine.PreGameObjectAPICall(in_GameObjId, in_GameObjId_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPlayingIDsFromGameObject(in_GameObjId_id, ref io_ruNumIDs, out_aPlayingIDs); }
+ }
+
+ public static AKRESULT GetCustomPropertyValue(uint in_ObjectID, uint in_uPropID, out int out_iValue) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetCustomPropertyValue__SWIG_0(in_ObjectID, in_uPropID, out out_iValue); }
+
+ public static AKRESULT GetCustomPropertyValue(uint in_ObjectID, uint in_uPropID, out float out_fValue) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetCustomPropertyValue__SWIG_1(in_ObjectID, in_uPropID, out out_fValue); }
+
+ public static void AK_SPEAKER_SETUP_FIX_LEFT_TO_CENTER(ref uint io_uChannelMask) { AkSoundEnginePINVOKE.CSharp_AK_SPEAKER_SETUP_FIX_LEFT_TO_CENTER(ref io_uChannelMask); }
+
+ public static void AK_SPEAKER_SETUP_FIX_REAR_TO_SIDE(ref uint io_uChannelMask) { AkSoundEnginePINVOKE.CSharp_AK_SPEAKER_SETUP_FIX_REAR_TO_SIDE(ref io_uChannelMask); }
+
+ public static void AK_SPEAKER_SETUP_CONVERT_TO_SUPPORTED(ref uint io_uChannelMask) { AkSoundEnginePINVOKE.CSharp_AK_SPEAKER_SETUP_CONVERT_TO_SUPPORTED(ref io_uChannelMask); }
+
+ public static byte ChannelMaskToNumChannels(uint in_uChannelMask) { return AkSoundEnginePINVOKE.CSharp_ChannelMaskToNumChannels(in_uChannelMask); }
+
+ public static uint ChannelMaskFromNumChannels(uint in_uNumChannels) { return AkSoundEnginePINVOKE.CSharp_ChannelMaskFromNumChannels(in_uNumChannels); }
+
+ public static byte ChannelBitToIndex(uint in_uChannelBit, uint in_uChannelMask) { return AkSoundEnginePINVOKE.CSharp_ChannelBitToIndex(in_uChannelBit, in_uChannelMask); }
+
+ public static bool HasSurroundChannels(uint in_uChannelMask) { return AkSoundEnginePINVOKE.CSharp_HasSurroundChannels(in_uChannelMask); }
+
+ public static bool HasStrictlyOnePairOfSurroundChannels(uint in_uChannelMask) { return AkSoundEnginePINVOKE.CSharp_HasStrictlyOnePairOfSurroundChannels(in_uChannelMask); }
+
+ public static bool HasSideAndRearChannels(uint in_uChannelMask) { return AkSoundEnginePINVOKE.CSharp_HasSideAndRearChannels(in_uChannelMask); }
+
+ public static bool HasHeightChannels(uint in_uChannelMask) { return AkSoundEnginePINVOKE.CSharp_HasHeightChannels(in_uChannelMask); }
+
+ public static uint BackToSideChannels(uint in_uChannelMask) { return AkSoundEnginePINVOKE.CSharp_BackToSideChannels(in_uChannelMask); }
+
+ public static uint StdChannelIndexToDisplayIndex(AkChannelOrdering in_eOrdering, uint in_uChannelMask, uint in_uChannelIdx) { return AkSoundEnginePINVOKE.CSharp_StdChannelIndexToDisplayIndex((int)in_eOrdering, in_uChannelMask, in_uChannelIdx); }
+
+ public static float kDefaultMaxPathLength { get { return AkSoundEnginePINVOKE.CSharp_kDefaultMaxPathLength_get(); }
+ }
+
+ public static uint kDefaultDiffractionMaxEdges { get { return AkSoundEnginePINVOKE.CSharp_kDefaultDiffractionMaxEdges_get(); }
+ }
+
+ public static uint kDefaultDiffractionMaxPaths { get { return AkSoundEnginePINVOKE.CSharp_kDefaultDiffractionMaxPaths_get(); }
+ }
+
+ public static float kMaxDiffraction { get { return AkSoundEnginePINVOKE.CSharp_kMaxDiffraction_get(); }
+ }
+
+ public static uint kDiffractionMaxEdges { get { return AkSoundEnginePINVOKE.CSharp_kDiffractionMaxEdges_get(); }
+ }
+
+ public static uint kDiffractionMaxPaths { get { return AkSoundEnginePINVOKE.CSharp_kDiffractionMaxPaths_get(); }
+ }
+
+ public static uint kPortalToPortalDiffractionMaxPaths { get { return AkSoundEnginePINVOKE.CSharp_kPortalToPortalDiffractionMaxPaths_get(); }
+ }
+
+ public static AKRESULT SetImageSource(uint in_srcID, AkImageSourceSettings in_info, uint in_AuxBusID, ulong in_roomID, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetImageSource(in_srcID, AkImageSourceSettings.getCPtr(in_info), in_AuxBusID, in_roomID, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT RemoveImageSource(uint in_srcID, uint in_AuxBusID, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RemoveImageSource(in_srcID, in_AuxBusID, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT ClearImageSources(uint in_AuxBusID, UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ClearImageSources__SWIG_0(in_AuxBusID, in_gameObjectID_id); }
+ }
+
+ public static AKRESULT ClearImageSources(uint in_AuxBusID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ClearImageSources__SWIG_1(in_AuxBusID); }
+
+ public static AKRESULT ClearImageSources() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_ClearImageSources__SWIG_2(); }
+
+ public static AKRESULT RemoveGeometry(ulong in_SetID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RemoveGeometry(in_SetID); }
+
+ public static AKRESULT QueryReflectionPaths(UnityEngine.GameObject in_gameObjectID, ref UnityEngine.Vector3 out_listenerPos, ref UnityEngine.Vector3 out_emitterPos, AkReflectionPathInfoArray out_aPaths, out uint io_uArraySize) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_QueryReflectionPaths(in_gameObjectID_id, ref out_listenerPos, ref out_emitterPos, out_aPaths.GetBuffer(), out io_uArraySize); }
+ }
+
+ public static AKRESULT RemoveRoom(ulong in_RoomID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RemoveRoom(in_RoomID); }
+
+ public static AKRESULT RemovePortal(ulong in_PortalID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RemovePortal(in_PortalID); }
+
+ public static AKRESULT SetGameObjectInRoom(UnityEngine.GameObject in_gameObjectID, ulong in_CurrentRoomID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetGameObjectInRoom(in_gameObjectID_id, in_CurrentRoomID); }
+ }
+
+ public static AKRESULT SetReflectionsOrder(uint in_uReflectionsOrder, bool in_bUpdatePaths) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetReflectionsOrder(in_uReflectionsOrder, in_bUpdatePaths); }
+
+ public static AKRESULT SetNumberOfPrimaryRays(uint in_uNbPrimaryRays) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetNumberOfPrimaryRays(in_uNbPrimaryRays); }
+
+ public static AKRESULT SetEarlyReflectionsAuxSend(UnityEngine.GameObject in_gameObjectID, uint in_auxBusID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetEarlyReflectionsAuxSend(in_gameObjectID_id, in_auxBusID); }
+ }
+
+ public static AKRESULT SetEarlyReflectionsVolume(UnityEngine.GameObject in_gameObjectID, float in_fSendVolume) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetEarlyReflectionsVolume(in_gameObjectID_id, in_fSendVolume); }
+ }
+
+ public static AKRESULT SetPortalObstructionAndOcclusion(ulong in_PortalID, float in_fObstruction, float in_fOcclusion) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetPortalObstructionAndOcclusion(in_PortalID, in_fObstruction, in_fOcclusion); }
+
+ public static AKRESULT QueryWetDiffraction(ulong in_portal, out float out_wetDiffraction) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_QueryWetDiffraction(in_portal, out out_wetDiffraction); }
+
+ public static AKRESULT QueryDiffractionPaths(UnityEngine.GameObject in_gameObjectID, ref UnityEngine.Vector3 out_listenerPos, ref UnityEngine.Vector3 out_emitterPos, AkDiffractionPathInfoArray out_aPaths, out uint io_uArraySize) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_QueryDiffractionPaths(in_gameObjectID_id, ref out_listenerPos, ref out_emitterPos, out_aPaths.GetBuffer(), out io_uArraySize); }
+ }
+
+ public static uint GetDeviceIDFromName(string in_szToken) { return AkSoundEnginePINVOKE.CSharp_GetDeviceIDFromName(in_szToken); }
+
+ public static string GetWindowsDeviceName(int index, out uint out_uDeviceID, AkAudioDeviceState uDeviceStateMask) { return AkSoundEngine.StringFromIntPtrWString(AkSoundEnginePINVOKE.CSharp_GetWindowsDeviceName__SWIG_0(index, out out_uDeviceID, (int)uDeviceStateMask)); }
+
+ public static string GetWindowsDeviceName(int index, out uint out_uDeviceID) { return AkSoundEngine.StringFromIntPtrWString(AkSoundEnginePINVOKE.CSharp_GetWindowsDeviceName__SWIG_1(index, out out_uDeviceID)); }
+
+ public static uint GetWindowsDeviceCount(AkAudioDeviceState uDeviceStateMask) { return AkSoundEnginePINVOKE.CSharp_GetWindowsDeviceCount__SWIG_0((int)uDeviceStateMask); }
+
+ public static uint GetWindowsDeviceCount() { return AkSoundEnginePINVOKE.CSharp_GetWindowsDeviceCount__SWIG_1(); }
+
+ public static void SetErrorLogger(AkLogger.ErrorLoggerInteropDelegate logger) { AkSoundEnginePINVOKE.CSharp_SetErrorLogger__SWIG_0(logger); }
+
+ public static void SetErrorLogger() { AkSoundEnginePINVOKE.CSharp_SetErrorLogger__SWIG_1(); }
+
+ public static void SetAudioInputCallbacks(AkAudioInputManager.AudioSamplesInteropDelegate getAudioSamples, AkAudioInputManager.AudioFormatInteropDelegate getAudioFormat) { AkSoundEnginePINVOKE.CSharp_SetAudioInputCallbacks(getAudioSamples, getAudioFormat); }
+
+ public static AKRESULT Init(AkInitializationSettings settings) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_Init(AkInitializationSettings.getCPtr(settings)); }
+
+ public static AKRESULT InitSpatialAudio(AkSpatialAudioInitSettings settings) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_InitSpatialAudio(AkSpatialAudioInitSettings.getCPtr(settings)); }
+
+ public static AKRESULT InitCommunication(AkCommunicationSettings settings) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_InitCommunication(AkCommunicationSettings.getCPtr(settings)); }
+
+ public static void Term() { AkSoundEnginePINVOKE.CSharp_Term(); }
+
+ public static AKRESULT RegisterGameObjInternal(UnityEngine.GameObject in_GameObj) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RegisterGameObjInternal(AkSoundEngine.GetAkGameObjectID(in_GameObj)); }
+
+ public static AKRESULT UnregisterGameObjInternal(UnityEngine.GameObject in_GameObj) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnregisterGameObjInternal(AkSoundEngine.GetAkGameObjectID(in_GameObj)); }
+
+ public static AKRESULT RegisterGameObjInternal_WithName(UnityEngine.GameObject in_GameObj, string in_pszObjName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RegisterGameObjInternal_WithName(AkSoundEngine.GetAkGameObjectID(in_GameObj), in_pszObjName); }
+
+ public static AKRESULT SetBasePath(string in_pszBasePath) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetBasePath(in_pszBasePath); }
+
+ public static AKRESULT SetCurrentLanguage(string in_pszAudioSrcPath) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetCurrentLanguage(in_pszAudioSrcPath); }
+
+ public static AKRESULT LoadFilePackage(string in_pszFilePackageName, out uint out_uPackageID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadFilePackage(in_pszFilePackageName, out out_uPackageID); }
+
+ public static AKRESULT AddBasePath(string in_pszBasePath) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddBasePath(in_pszBasePath); }
+
+ public static AKRESULT SetGameName(string in_GameName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetGameName(in_GameName); }
+
+ public static AKRESULT SetDecodedBankPath(string in_DecodedPath) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetDecodedBankPath(in_DecodedPath); }
+
+ public static AKRESULT LoadAndDecodeBank(string in_pszString, bool in_bSaveDecodedBank, out uint out_bankID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadAndDecodeBank(in_pszString, in_bSaveDecodedBank, out out_bankID); }
+
+ public static AKRESULT LoadAndDecodeBankFromMemory(global::System.IntPtr in_BankData, uint in_BankDataSize, bool in_bSaveDecodedBank, string in_DecodedBankName, bool in_bIsLanguageSpecific, out uint out_bankID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_LoadAndDecodeBankFromMemory(in_BankData, in_BankDataSize, in_bSaveDecodedBank, in_DecodedBankName, in_bIsLanguageSpecific, out out_bankID); }
+
+ public static uint PostEventOnRoom(string in_pszEventName, ulong in_roomID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources, uint in_PlayingID) {
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_0(in_pszEventName, in_roomID, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer(), in_PlayingID);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEventOnRoom(string in_pszEventName, ulong in_roomID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources) {
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_1(in_pszEventName, in_roomID, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer());
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEventOnRoom(string in_pszEventName, ulong in_roomID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie) {
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_2(in_pszEventName, in_roomID, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEventOnRoom(string in_pszEventName, ulong in_roomID) {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_3(in_pszEventName, in_roomID);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+
+ public static string GetCurrentLanguage() { return AkSoundEngine.StringFromIntPtrOSString(AkSoundEnginePINVOKE.CSharp_GetCurrentLanguage()); }
+
+ public static AKRESULT UnloadFilePackage(uint in_uPackageID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnloadFilePackage(in_uPackageID); }
+
+ public static AKRESULT UnloadAllFilePackages() { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnloadAllFilePackages(); }
+
+ public static AKRESULT SetObjectPosition(UnityEngine.GameObject in_GameObjectID, UnityEngine.Vector3 Pos, UnityEngine.Vector3 Front, UnityEngine.Vector3 Top) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetObjectPosition(AkSoundEngine.GetAkGameObjectID(in_GameObjectID), Pos, Front, Top); }
+
+ public static AKRESULT GetSourceMultiplePlayPositions(uint in_PlayingID, uint[] out_audioNodeID, uint[] out_mediaID, int[] out_msTime, ref uint io_pcPositions, bool in_bExtrapolate) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSourceMultiplePlayPositions__SWIG_0(in_PlayingID, out_audioNodeID, out_mediaID, out_msTime, ref io_pcPositions, in_bExtrapolate); }
+
+ public static AKRESULT GetSourceMultiplePlayPositions(uint in_PlayingID, uint[] out_audioNodeID, uint[] out_mediaID, int[] out_msTime, ref uint io_pcPositions) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSourceMultiplePlayPositions__SWIG_1(in_PlayingID, out_audioNodeID, out_mediaID, out_msTime, ref io_pcPositions); }
+
+ public static AKRESULT SetListeners(UnityEngine.GameObject in_emitterGameObj, ulong[] in_pListenerGameObjs, uint in_uNumListeners) {
+
+ var in_emitterGameObj_id = AkSoundEngine.GetAkGameObjectID(in_emitterGameObj);
+ AkSoundEngine.PreGameObjectAPICall(in_emitterGameObj, in_emitterGameObj_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetListeners(in_emitterGameObj_id, in_pListenerGameObjs, in_uNumListeners); }
+ }
+
+ public static AKRESULT SetDefaultListeners(ulong[] in_pListenerObjs, uint in_uNumListeners) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetDefaultListeners(in_pListenerObjs, in_uNumListeners); }
+
+ public static AKRESULT AddOutput(AkOutputSettings in_Settings, out ulong out_pDeviceID, ulong[] in_pListenerIDs, uint in_uNumListeners) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddOutput__SWIG_0(AkOutputSettings.getCPtr(in_Settings), out out_pDeviceID, in_pListenerIDs, in_uNumListeners); }
+
+ public static AKRESULT AddOutput(AkOutputSettings in_Settings, out ulong out_pDeviceID, ulong[] in_pListenerIDs) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddOutput__SWIG_1(AkOutputSettings.getCPtr(in_Settings), out out_pDeviceID, in_pListenerIDs); }
+
+ public static AKRESULT AddOutput(AkOutputSettings in_Settings, out ulong out_pDeviceID) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddOutput__SWIG_2(AkOutputSettings.getCPtr(in_Settings), out out_pDeviceID); }
+
+ public static AKRESULT AddOutput(AkOutputSettings in_Settings) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_AddOutput__SWIG_3(AkOutputSettings.getCPtr(in_Settings)); }
+
+ public static void GetDefaultStreamSettings(AkStreamMgrSettings out_settings) { AkSoundEnginePINVOKE.CSharp_GetDefaultStreamSettings(AkStreamMgrSettings.getCPtr(out_settings)); }
+
+ public static void GetDefaultDeviceSettings(AkDeviceSettings out_settings) { AkSoundEnginePINVOKE.CSharp_GetDefaultDeviceSettings(AkDeviceSettings.getCPtr(out_settings)); }
+
+ public static void GetDefaultMusicSettings(AkMusicSettings out_settings) { AkSoundEnginePINVOKE.CSharp_GetDefaultMusicSettings(AkMusicSettings.getCPtr(out_settings)); }
+
+ public static void GetDefaultInitSettings(AkInitSettings out_settings) { AkSoundEnginePINVOKE.CSharp_GetDefaultInitSettings(AkInitSettings.getCPtr(out_settings)); }
+
+ public static void GetDefaultPlatformInitSettings(AkPlatformInitSettings out_settings) { AkSoundEnginePINVOKE.CSharp_GetDefaultPlatformInitSettings(AkPlatformInitSettings.getCPtr(out_settings)); }
+
+ public static uint GetMajorMinorVersion() { return AkSoundEnginePINVOKE.CSharp_GetMajorMinorVersion(); }
+
+ public static uint GetSubminorBuildVersion() { return AkSoundEnginePINVOKE.CSharp_GetSubminorBuildVersion(); }
+
+ public static void StartResourceMonitoring() { AkSoundEnginePINVOKE.CSharp_StartResourceMonitoring(); }
+
+ public static void StopResourceMonitoring() { AkSoundEnginePINVOKE.CSharp_StopResourceMonitoring(); }
+
+ public static void GetResourceMonitorDataSummary(AkResourceMonitorDataSummary resourceMonitorDataSummary) { AkSoundEnginePINVOKE.CSharp_GetResourceMonitorDataSummary(AkResourceMonitorDataSummary.getCPtr(resourceMonitorDataSummary)); }
+
+ public static AKRESULT SetRoomPortal(ulong in_PortalID, AkTransform Transform, UnityEngine.Vector3 Extent, bool bEnabled, ulong FrontRoom, ulong BackRoom) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRoomPortal(in_PortalID, AkTransform.getCPtr(Transform), Extent, bEnabled, FrontRoom, BackRoom); }
+
+ public static AKRESULT SetRoom(ulong in_RoomID, AkRoomParams in_roomParams, string in_pName) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRoom(in_RoomID, AkRoomParams.getCPtr(in_roomParams), in_pName); }
+
+ public static AKRESULT RegisterSpatialAudioListener(UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_RegisterSpatialAudioListener(in_gameObjectID_id); }
+ }
+
+ public static AKRESULT UnregisterSpatialAudioListener(UnityEngine.GameObject in_gameObjectID) {
+
+ var in_gameObjectID_id = AkSoundEngine.GetAkGameObjectID(in_gameObjectID);
+ AkSoundEngine.PreGameObjectAPICall(in_gameObjectID, in_gameObjectID_id);
+
+ { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_UnregisterSpatialAudioListener(in_gameObjectID_id); }
+ }
+
+ public static AKRESULT SetGeometry(ulong in_GeomSetID, AkTriangleArray Triangles, uint NumTriangles, UnityEngine.Vector3[] Vertices, uint NumVertices, AkAcousticSurfaceArray Surfaces, uint NumSurfaces, ulong RoomID, bool EnableDiffraction, bool EnableDiffractionOnBoundaryEdges) { return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetGeometry(in_GeomSetID, Triangles.GetBuffer(), NumTriangles, Vertices, NumVertices, Surfaces.GetBuffer(), NumSurfaces, RoomID, EnableDiffraction, EnableDiffractionOnBoundaryEdges); }
+
+ public static uint PostEventOnRoom(uint in_eventID, ulong in_roomID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources, uint in_PlayingID) {
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_4(in_eventID, in_roomID, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer(), in_PlayingID);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEventOnRoom(uint in_eventID, ulong in_roomID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals, AkExternalSourceInfoArray in_pExternalSources) {
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_5(in_eventID, in_roomID, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero, in_cExternals, in_pExternalSources.GetBuffer());
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEventOnRoom(uint in_eventID, ulong in_roomID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie) {
+ in_pCookie = AkCallbackManager.EventCallbackPackage.Create(in_pfnCallback, in_pCookie, ref in_uFlags);
+ {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_6(in_eventID, in_roomID, in_uFlags, in_uFlags != 0 ? (global::System.IntPtr)1 : global::System.IntPtr.Zero, in_pCookie != null ? (global::System.IntPtr)in_pCookie.GetHashCode() : global::System.IntPtr.Zero);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+ }
+
+ public static uint PostEventOnRoom(uint in_eventID, ulong in_roomID) {
+ uint ret = AkSoundEnginePINVOKE.CSharp_PostEventOnRoom__SWIG_7(in_eventID, in_roomID);
+ AkCallbackManager.SetLastAddedPlayingID(ret);
+ return ret;
+ }
+
+ public const int _WIN32_WINNT = 0x0602;
+ public const int AK_SIMD_ALIGNMENT = 16;
+ public const int AK_BUFFER_ALIGNMENT = 16;
+ public const int AK_XAUDIO2_FLAGS = 0;
+ public const int AK_MAX_PATH = 260;
+ public const int AK_BANK_PLATFORM_DATA_ALIGNMENT = (16);
+ public const uint AK_INVALID_PLUGINID = unchecked((uint)(-1));
+ public const ulong AK_INVALID_GAME_OBJECT = unchecked((ulong)(-1));
+ public const uint AK_INVALID_UNIQUE_ID = 0;
+ public const uint AK_INVALID_RTPC_ID = AK_INVALID_UNIQUE_ID;
+ public const uint AK_INVALID_LISTENER_INDEX = unchecked((uint)(-1));
+ public const uint AK_INVALID_PLAYING_ID = AK_INVALID_UNIQUE_ID;
+ public const uint AK_DEFAULT_SWITCH_STATE = 0;
+ public const int AK_INVALID_POOL_ID = -1;
+ public const int AK_DEFAULT_POOL_ID = -1;
+ public const uint AK_INVALID_AUX_ID = AK_INVALID_UNIQUE_ID;
+ public const uint AK_INVALID_FILE_ID = unchecked((uint)(-1));
+ public const uint AK_INVALID_DEVICE_ID = unchecked((uint)(-1));
+ public const uint AK_INVALID_BANK_ID = AK_INVALID_UNIQUE_ID;
+ public const uint AK_FALLBACK_ARGUMENTVALUE_ID = 0;
+ public const uint AK_INVALID_CHANNELMASK = 0;
+ public const uint AK_INVALID_OUTPUT_DEVICE_ID = AK_INVALID_UNIQUE_ID;
+ public const uint AK_MIXER_FX_SLOT = unchecked((uint)(-1));
+ public const ulong AK_DEFAULT_LISTENER_OBJ = 0;
+ public const uint AK_DEFAULT_PRIORITY = 50;
+ public const uint AK_MIN_PRIORITY = 0;
+ public const uint AK_MAX_PRIORITY = 100;
+ public const uint AK_DEFAULT_BANK_IO_PRIORITY = AK_DEFAULT_PRIORITY;
+ public const double AK_DEFAULT_BANK_THROUGHPUT = 1*1024*1024/1000.0;
+ public const uint AKCOMPANYID_AUDIOKINETIC = 0;
+ public const uint AK_LISTENERS_MASK_ALL = 0xFFFFFFFF;
+ public const int NULL = 0;
+ public const int AKCURVEINTERPOLATION_NUM_STORAGE_BIT = 5;
+ public const int AK_MAX_LANGUAGE_NAME_SIZE = (32);
+ public const int AKCOMPANYID_PLUGINDEV_MIN = (64);
+ public const int AKCOMPANYID_PLUGINDEV_MAX = (255);
+ public const int AKCOMPANYID_AUDIOKINETIC_EXTERNAL = (1);
+ public const int AKCOMPANYID_MCDSP = (256);
+ public const int AKCOMPANYID_WAVEARTS = (257);
+ public const int AKCOMPANYID_PHONETICARTS = (258);
+ public const int AKCOMPANYID_IZOTOPE = (259);
+ public const int AKCOMPANYID_CRANKCASEAUDIO = (261);
+ public const int AKCOMPANYID_IOSONO = (262);
+ public const int AKCOMPANYID_AUROTECHNOLOGIES = (263);
+ public const int AKCOMPANYID_DOLBY = (264);
+ public const int AKCOMPANYID_TWOBIGEARS = (265);
+ public const int AKCOMPANYID_OCULUS = (266);
+ public const int AKCOMPANYID_BLUERIPPLESOUND = (267);
+ public const int AKCOMPANYID_ENZIEN = (268);
+ public const int AKCOMPANYID_KROTOS = (269);
+ public const int AKCOMPANYID_NURULIZE = (270);
+ public const int AKCOMPANYID_SUPERPOWERED = (271);
+ public const int AKCOMPANYID_GOOGLE = (272);
+ public const int AKCOMPANYID_VISISONICS = (277);
+ public const int AKCODECID_BANK = (0);
+ public const int AKCODECID_PCM = (1);
+ public const int AKCODECID_ADPCM = (2);
+ public const int AKCODECID_XMA = (3);
+ public const int AKCODECID_VORBIS = (4);
+ public const int AKCODECID_WIIADPCM = (5);
+ public const int AKCODECID_PCMEX = (7);
+ public const int AKCODECID_EXTERNAL_SOURCE = (8);
+ public const int AKCODECID_XWMA = (9);
+ public const int AKCODECID_AAC = (10);
+ public const int AKCODECID_FILE_PACKAGE = (11);
+ public const int AKCODECID_ATRAC9 = (12);
+ public const int AKCODECID_VAG = (13);
+ public const int AKCODECID_PROFILERCAPTURE = (14);
+ public const int AKCODECID_ANALYSISFILE = (15);
+ public const int AKCODECID_MIDI = (16);
+ public const int AKCODECID_OPUSNX = (17);
+ public const int AKCODECID_CAF = (18);
+ public const int AKCODECID_AKOPUS = (19);
+ public const int AKCODECID_AKOPUS_WEM = (20);
+ public const int AKPLUGINID_METER = (129);
+ public const int AKPLUGINID_RECORDER = (132);
+ public const int AKEXTENSIONID_SPATIALAUDIO = (800);
+ public const int AKEXTENSIONID_INTERACTIVEMUSIC = (801);
+ public const int AKEXTENSIONID_EVENTMGRTHREAD = (900);
+ public const int AK_WAVE_FORMAT_VAG = 0xFFFB;
+ public const int AK_WAVE_FORMAT_AT9 = 0xFFFC;
+ public const int AK_WAVE_FORMAT_VORBIS = 0xFFFF;
+ public const int AK_WAVE_FORMAT_AAC = 0xAAC0;
+ public const int AK_WAVE_FORMAT_OPUSNX = 0x3039;
+ public const int AK_WAVE_FORMAT_OPUS = 0x3040;
+ public const int AK_WAVE_FORMAT_OPUS_WEM = 0x3041;
+ public const int WAVE_FORMAT_XMA2 = 0x166;
+ public const int AK_PANNER_NUM_STORAGE_BITS = 3;
+ public const int AK_POSSOURCE_NUM_STORAGE_BITS = 3;
+ public const int AK_SPAT_NUM_STORAGE_BITS = 3;
+ public const int AK_MAX_BITS_METERING_FLAGS = (5);
+ public const int AK_OS_STRUCT_ALIGN = 4;
+ public const int AK_64B_OS_STRUCT_ALIGN = 8;
+ public const bool AK_ASYNC_OPEN_DEFAULT = (false);
+ public const int AK_COMM_DEFAULT_DISCOVERY_PORT = 24024;
+ public const int AK_MIDI_EVENT_TYPE_INVALID = 0x00;
+ public const int AK_MIDI_EVENT_TYPE_NOTE_OFF = 0x80;
+ public const int AK_MIDI_EVENT_TYPE_NOTE_ON = 0x90;
+ public const int AK_MIDI_EVENT_TYPE_NOTE_AFTERTOUCH = 0xa0;
+ public const int AK_MIDI_EVENT_TYPE_CONTROLLER = 0xb0;
+ public const int AK_MIDI_EVENT_TYPE_PROGRAM_CHANGE = 0xc0;
+ public const int AK_MIDI_EVENT_TYPE_CHANNEL_AFTERTOUCH = 0xd0;
+ public const int AK_MIDI_EVENT_TYPE_PITCH_BEND = 0xe0;
+ public const int AK_MIDI_EVENT_TYPE_SYSEX = 0xf0;
+ public const int AK_MIDI_EVENT_TYPE_ESCAPE = 0xf7;
+ public const int AK_MIDI_EVENT_TYPE_META = 0xff;
+ public const int AK_MIDI_CC_BANK_SELECT_COARSE = 0;
+ public const int AK_MIDI_CC_MOD_WHEEL_COARSE = 1;
+ public const int AK_MIDI_CC_BREATH_CTRL_COARSE = 2;
+ public const int AK_MIDI_CC_CTRL_3_COARSE = 3;
+ public const int AK_MIDI_CC_FOOT_PEDAL_COARSE = 4;
+ public const int AK_MIDI_CC_PORTAMENTO_COARSE = 5;
+ public const int AK_MIDI_CC_DATA_ENTRY_COARSE = 6;
+ public const int AK_MIDI_CC_VOLUME_COARSE = 7;
+ public const int AK_MIDI_CC_BALANCE_COARSE = 8;
+ public const int AK_MIDI_CC_CTRL_9_COARSE = 9;
+ public const int AK_MIDI_CC_PAN_POSITION_COARSE = 10;
+ public const int AK_MIDI_CC_EXPRESSION_COARSE = 11;
+ public const int AK_MIDI_CC_EFFECT_CTRL_1_COARSE = 12;
+ public const int AK_MIDI_CC_EFFECT_CTRL_2_COARSE = 13;
+ public const int AK_MIDI_CC_CTRL_14_COARSE = 14;
+ public const int AK_MIDI_CC_CTRL_15_COARSE = 15;
+ public const int AK_MIDI_CC_GEN_SLIDER_1 = 16;
+ public const int AK_MIDI_CC_GEN_SLIDER_2 = 17;
+ public const int AK_MIDI_CC_GEN_SLIDER_3 = 18;
+ public const int AK_MIDI_CC_GEN_SLIDER_4 = 19;
+ public const int AK_MIDI_CC_CTRL_20_COARSE = 20;
+ public const int AK_MIDI_CC_CTRL_21_COARSE = 21;
+ public const int AK_MIDI_CC_CTRL_22_COARSE = 22;
+ public const int AK_MIDI_CC_CTRL_23_COARSE = 23;
+ public const int AK_MIDI_CC_CTRL_24_COARSE = 24;
+ public const int AK_MIDI_CC_CTRL_25_COARSE = 25;
+ public const int AK_MIDI_CC_CTRL_26_COARSE = 26;
+ public const int AK_MIDI_CC_CTRL_27_COARSE = 27;
+ public const int AK_MIDI_CC_CTRL_28_COARSE = 28;
+ public const int AK_MIDI_CC_CTRL_29_COARSE = 29;
+ public const int AK_MIDI_CC_CTRL_30_COARSE = 30;
+ public const int AK_MIDI_CC_CTRL_31_COARSE = 31;
+ public const int AK_MIDI_CC_BANK_SELECT_FINE = 32;
+ public const int AK_MIDI_CC_MOD_WHEEL_FINE = 33;
+ public const int AK_MIDI_CC_BREATH_CTRL_FINE = 34;
+ public const int AK_MIDI_CC_CTRL_3_FINE = 35;
+ public const int AK_MIDI_CC_FOOT_PEDAL_FINE = 36;
+ public const int AK_MIDI_CC_PORTAMENTO_FINE = 37;
+ public const int AK_MIDI_CC_DATA_ENTRY_FINE = 38;
+ public const int AK_MIDI_CC_VOLUME_FINE = 39;
+ public const int AK_MIDI_CC_BALANCE_FINE = 40;
+ public const int AK_MIDI_CC_CTRL_9_FINE = 41;
+ public const int AK_MIDI_CC_PAN_POSITION_FINE = 42;
+ public const int AK_MIDI_CC_EXPRESSION_FINE = 43;
+ public const int AK_MIDI_CC_EFFECT_CTRL_1_FINE = 44;
+ public const int AK_MIDI_CC_EFFECT_CTRL_2_FINE = 45;
+ public const int AK_MIDI_CC_CTRL_14_FINE = 46;
+ public const int AK_MIDI_CC_CTRL_15_FINE = 47;
+ public const int AK_MIDI_CC_CTRL_20_FINE = 52;
+ public const int AK_MIDI_CC_CTRL_21_FINE = 53;
+ public const int AK_MIDI_CC_CTRL_22_FINE = 54;
+ public const int AK_MIDI_CC_CTRL_23_FINE = 55;
+ public const int AK_MIDI_CC_CTRL_24_FINE = 56;
+ public const int AK_MIDI_CC_CTRL_25_FINE = 57;
+ public const int AK_MIDI_CC_CTRL_26_FINE = 58;
+ public const int AK_MIDI_CC_CTRL_27_FINE = 59;
+ public const int AK_MIDI_CC_CTRL_28_FINE = 60;
+ public const int AK_MIDI_CC_CTRL_29_FINE = 61;
+ public const int AK_MIDI_CC_CTRL_30_FINE = 62;
+ public const int AK_MIDI_CC_CTRL_31_FINE = 63;
+ public const int AK_MIDI_CC_HOLD_PEDAL = 64;
+ public const int AK_MIDI_CC_PORTAMENTO_ON_OFF = 65;
+ public const int AK_MIDI_CC_SUSTENUTO_PEDAL = 66;
+ public const int AK_MIDI_CC_SOFT_PEDAL = 67;
+ public const int AK_MIDI_CC_LEGATO_PEDAL = 68;
+ public const int AK_MIDI_CC_HOLD_PEDAL_2 = 69;
+ public const int AK_MIDI_CC_SOUND_VARIATION = 70;
+ public const int AK_MIDI_CC_SOUND_TIMBRE = 71;
+ public const int AK_MIDI_CC_SOUND_RELEASE_TIME = 72;
+ public const int AK_MIDI_CC_SOUND_ATTACK_TIME = 73;
+ public const int AK_MIDI_CC_SOUND_BRIGHTNESS = 74;
+ public const int AK_MIDI_CC_SOUND_CTRL_6 = 75;
+ public const int AK_MIDI_CC_SOUND_CTRL_7 = 76;
+ public const int AK_MIDI_CC_SOUND_CTRL_8 = 77;
+ public const int AK_MIDI_CC_SOUND_CTRL_9 = 78;
+ public const int AK_MIDI_CC_SOUND_CTRL_10 = 79;
+ public const int AK_MIDI_CC_GENERAL_BUTTON_1 = 80;
+ public const int AK_MIDI_CC_GENERAL_BUTTON_2 = 81;
+ public const int AK_MIDI_CC_GENERAL_BUTTON_3 = 82;
+ public const int AK_MIDI_CC_GENERAL_BUTTON_4 = 83;
+ public const int AK_MIDI_CC_REVERB_LEVEL = 91;
+ public const int AK_MIDI_CC_TREMOLO_LEVEL = 92;
+ public const int AK_MIDI_CC_CHORUS_LEVEL = 93;
+ public const int AK_MIDI_CC_CELESTE_LEVEL = 94;
+ public const int AK_MIDI_CC_PHASER_LEVEL = 95;
+ public const int AK_MIDI_CC_DATA_BUTTON_P1 = 96;
+ public const int AK_MIDI_CC_DATA_BUTTON_M1 = 97;
+ public const int AK_MIDI_CC_NON_REGISTER_COARSE = 98;
+ public const int AK_MIDI_CC_NON_REGISTER_FINE = 99;
+ public const int AK_MIDI_CC_ALL_SOUND_OFF = 120;
+ public const int AK_MIDI_CC_ALL_CONTROLLERS_OFF = 121;
+ public const int AK_MIDI_CC_LOCAL_KEYBOARD = 122;
+ public const int AK_MIDI_CC_ALL_NOTES_OFF = 123;
+ public const int AK_MIDI_CC_OMNI_MODE_OFF = 124;
+ public const int AK_MIDI_CC_OMNI_MODE_ON = 125;
+ public const int AK_MIDI_CC_OMNI_MONOPHONIC_ON = 126;
+ public const int AK_MIDI_CC_OMNI_POLYPHONIC_ON = 127;
+ public const int AK_SPEAKER_FRONT_LEFT = 0x1;
+ public const int AK_SPEAKER_FRONT_RIGHT = 0x2;
+ public const int AK_SPEAKER_FRONT_CENTER = 0x4;
+ public const int AK_SPEAKER_LOW_FREQUENCY = 0x8;
+ public const int AK_SPEAKER_BACK_LEFT = 0x10;
+ public const int AK_SPEAKER_BACK_RIGHT = 0x20;
+ public const int AK_SPEAKER_BACK_CENTER = 0x100;
+ public const int AK_SPEAKER_SIDE_LEFT = 0x200;
+ public const int AK_SPEAKER_SIDE_RIGHT = 0x400;
+ public const int AK_SPEAKER_TOP = 0x800;
+ public const int AK_SPEAKER_HEIGHT_FRONT_LEFT = 0x1000;
+ public const int AK_SPEAKER_HEIGHT_FRONT_CENTER = 0x2000;
+ public const int AK_SPEAKER_HEIGHT_FRONT_RIGHT = 0x4000;
+ public const int AK_SPEAKER_HEIGHT_BACK_LEFT = 0x8000;
+ public const int AK_SPEAKER_HEIGHT_BACK_CENTER = 0x10000;
+ public const int AK_SPEAKER_HEIGHT_BACK_RIGHT = 0x20000;
+ public const int AK_SPEAKER_SETUP_MONO = 0x4;
+ public const int AK_SPEAKER_SETUP_0POINT1 = 0x8;
+ public const int AK_SPEAKER_SETUP_1POINT1 = (0x4|0x8);
+ public const int AK_SPEAKER_SETUP_STEREO = (0x1|0x2);
+ public const int AK_SPEAKER_SETUP_2POINT1 = ((0x1|0x2)|0x8);
+ public const int AK_SPEAKER_SETUP_3STEREO = ((0x1|0x2)|0x4);
+ public const int AK_SPEAKER_SETUP_3POINT1 = (((0x1|0x2)|0x4)|0x8);
+ public const int AK_SPEAKER_SETUP_4 = ((0x1|0x2)|0x200|0x400);
+ public const int AK_SPEAKER_SETUP_4POINT1 = (((0x1|0x2)|0x200|0x400)|0x8);
+ public const int AK_SPEAKER_SETUP_5 = (((0x1|0x2)|0x200|0x400)|0x4);
+ public const int AK_SPEAKER_SETUP_5POINT1 = ((((0x1|0x2)|0x200|0x400)|0x4)|0x8);
+ public const int AK_SPEAKER_SETUP_6 = (((0x1|0x2)|0x200|0x400)|0x10|0x20);
+ public const int AK_SPEAKER_SETUP_6POINT1 = ((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x8);
+ public const int AK_SPEAKER_SETUP_7 = ((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4);
+ public const int AK_SPEAKER_SETUP_7POINT1 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x8);
+ public const int AK_SPEAKER_SETUP_SURROUND = ((0x1|0x2)|0x100);
+ public const int AK_SPEAKER_SETUP_DPL2 = (((0x1|0x2)|0x200|0x400));
+ public const int AK_SPEAKER_SETUP_HEIGHT_4 = (0x1000|0x4000|0x8000|0x20000);
+ public const int AK_SPEAKER_SETUP_HEIGHT_5 = ((0x1000|0x4000|0x8000|0x20000)|0x2000);
+ public const int AK_SPEAKER_SETUP_HEIGHT_ALL = (((0x1000|0x4000|0x8000|0x20000)|0x2000)|0x10000);
+ public const int AK_SPEAKER_SETUP_AURO_222 = (((0x1|0x2)|0x200|0x400)|0x1000|0x4000);
+ public const int AK_SPEAKER_SETUP_AURO_8 = ((((0x1|0x2)|0x200|0x400)|0x1000|0x4000)|0x8000|0x20000);
+ public const int AK_SPEAKER_SETUP_AURO_9 = (((((0x1|0x2)|0x200|0x400)|0x1000|0x4000)|0x8000|0x20000)|0x4);
+ public const int AK_SPEAKER_SETUP_AURO_9POINT1 = ((((((0x1|0x2)|0x200|0x400)|0x1000|0x4000)|0x8000|0x20000)|0x4)|0x8);
+ public const int AK_SPEAKER_SETUP_AURO_10 = ((((((0x1|0x2)|0x200|0x400)|0x1000|0x4000)|0x8000|0x20000)|0x4)|0x800);
+ public const int AK_SPEAKER_SETUP_AURO_10POINT1 = (((((((0x1|0x2)|0x200|0x400)|0x1000|0x4000)|0x8000|0x20000)|0x4)|0x800)|0x8);
+ public const int AK_SPEAKER_SETUP_AURO_11 = (((((((0x1|0x2)|0x200|0x400)|0x1000|0x4000)|0x8000|0x20000)|0x4)|0x800)|0x2000);
+ public const int AK_SPEAKER_SETUP_AURO_11POINT1 = ((((((((0x1|0x2)|0x200|0x400)|0x1000|0x4000)|0x8000|0x20000)|0x4)|0x800)|0x2000)|0x8);
+ public const int AK_SPEAKER_SETUP_AURO_11_740 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|(0x1000|0x4000|0x8000|0x20000));
+ public const int AK_SPEAKER_SETUP_AURO_11POINT1_740 = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|(0x1000|0x4000|0x8000|0x20000))|0x8);
+ public const int AK_SPEAKER_SETUP_AURO_13_751 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|((0x1000|0x4000|0x8000|0x20000)|0x2000)|0x800);
+ public const int AK_SPEAKER_SETUP_AURO_13POINT1_751 = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|((0x1000|0x4000|0x8000|0x20000)|0x2000)|0x800)|0x8);
+ public const int AK_SPEAKER_SETUP_DOLBY_5_0_2 = ((((0x1|0x2)|0x200|0x400)|0x4)|0x1000|0x4000);
+ public const int AK_SPEAKER_SETUP_DOLBY_5_1_2 = (((((0x1|0x2)|0x200|0x400)|0x4)|0x1000|0x4000)|0x8);
+ public const int AK_SPEAKER_SETUP_DOLBY_6_0_2 = ((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x1000|0x4000);
+ public const int AK_SPEAKER_SETUP_DOLBY_6_1_2 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x1000|0x4000)|0x8);
+ public const int AK_SPEAKER_SETUP_DOLBY_6_0_4 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x1000|0x4000)|0x8000|0x20000);
+ public const int AK_SPEAKER_SETUP_DOLBY_6_1_4 = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x1000|0x4000)|0x8000|0x20000)|0x8);
+ public const int AK_SPEAKER_SETUP_DOLBY_7_0_2 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x1000|0x4000);
+ public const int AK_SPEAKER_SETUP_DOLBY_7_1_2 = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x1000|0x4000)|0x8);
+ public const int AK_SPEAKER_SETUP_DOLBY_7_0_4 = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x1000|0x4000)|0x8000|0x20000);
+ public const int AK_SPEAKER_SETUP_DOLBY_7_1_4 = (((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x1000|0x4000)|0x8000|0x20000)|0x8);
+ public const int AK_SPEAKER_SETUP_ALL_SPEAKERS = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x8)|0x100|(((0x1000|0x4000|0x8000|0x20000)|0x2000)|0x10000)|0x800);
+ public const int AK_IDX_SETUP_FRONT_LEFT = (0);
+ public const int AK_IDX_SETUP_FRONT_RIGHT = (1);
+ public const int AK_IDX_SETUP_CENTER = (2);
+ public const int AK_IDX_SETUP_NOCENTER_BACK_LEFT = (2);
+ public const int AK_IDX_SETUP_NOCENTER_BACK_RIGHT = (3);
+ public const int AK_IDX_SETUP_NOCENTER_SIDE_LEFT = (4);
+ public const int AK_IDX_SETUP_NOCENTER_SIDE_RIGHT = (5);
+ public const int AK_IDX_SETUP_WITHCENTER_BACK_LEFT = (3);
+ public const int AK_IDX_SETUP_WITHCENTER_BACK_RIGHT = (4);
+ public const int AK_IDX_SETUP_WITHCENTER_SIDE_LEFT = (5);
+ public const int AK_IDX_SETUP_WITHCENTER_SIDE_RIGHT = (6);
+ public const int AK_IDX_SETUP_0_LFE = (0);
+ public const int AK_IDX_SETUP_1_CENTER = (0);
+ public const int AK_IDX_SETUP_1_LFE = (1);
+ public const int AK_IDX_SETUP_2_LEFT = (0);
+ public const int AK_IDX_SETUP_2_RIGHT = (1);
+ public const int AK_IDX_SETUP_2_LFE = (2);
+ public const int AK_IDX_SETUP_3_LEFT = (0);
+ public const int AK_IDX_SETUP_3_RIGHT = (1);
+ public const int AK_IDX_SETUP_3_CENTER = (2);
+ public const int AK_IDX_SETUP_3_LFE = (3);
+ public const int AK_IDX_SETUP_4_FRONTLEFT = (0);
+ public const int AK_IDX_SETUP_4_FRONTRIGHT = (1);
+ public const int AK_IDX_SETUP_4_REARLEFT = (2);
+ public const int AK_IDX_SETUP_4_REARRIGHT = (3);
+ public const int AK_IDX_SETUP_4_LFE = (4);
+ public const int AK_IDX_SETUP_5_FRONTLEFT = (0);
+ public const int AK_IDX_SETUP_5_FRONTRIGHT = (1);
+ public const int AK_IDX_SETUP_5_CENTER = (2);
+ public const int AK_IDX_SETUP_5_REARLEFT = (3);
+ public const int AK_IDX_SETUP_5_REARRIGHT = (4);
+ public const int AK_IDX_SETUP_5_LFE = (5);
+ public const int AK_IDX_SETUP_6_FRONTLEFT = (0);
+ public const int AK_IDX_SETUP_6_FRONTRIGHT = (1);
+ public const int AK_IDX_SETUP_6_REARLEFT = (2);
+ public const int AK_IDX_SETUP_6_REARRIGHT = (3);
+ public const int AK_IDX_SETUP_6_SIDELEFT = (4);
+ public const int AK_IDX_SETUP_6_SIDERIGHT = (5);
+ public const int AK_IDX_SETUP_6_LFE = (6);
+ public const int AK_IDX_SETUP_7_FRONTLEFT = (0);
+ public const int AK_IDX_SETUP_7_FRONTRIGHT = (1);
+ public const int AK_IDX_SETUP_7_CENTER = (2);
+ public const int AK_IDX_SETUP_7_REARLEFT = (3);
+ public const int AK_IDX_SETUP_7_REARRIGHT = (4);
+ public const int AK_IDX_SETUP_7_SIDELEFT = (5);
+ public const int AK_IDX_SETUP_7_SIDERIGHT = (6);
+ public const int AK_IDX_SETUP_7_LFE = (7);
+ public const int AK_SPEAKER_SETUP_0_1 = (0x8);
+ public const int AK_SPEAKER_SETUP_1_0_CENTER = (0x4);
+ public const int AK_SPEAKER_SETUP_1_1_CENTER = (0x4|0x8);
+ public const int AK_SPEAKER_SETUP_2_0 = (0x1|0x2);
+ public const int AK_SPEAKER_SETUP_2_1 = (0x1|0x2|0x8);
+ public const int AK_SPEAKER_SETUP_3_0 = (0x1|0x2|0x4);
+ public const int AK_SPEAKER_SETUP_3_1 = ((0x1|0x2|0x4)|0x8);
+ public const int AK_SPEAKER_SETUP_FRONT = ((0x1|0x2|0x4));
+ public const int AK_SPEAKER_SETUP_4_0 = (((0x1|0x2)|0x200|0x400));
+ public const int AK_SPEAKER_SETUP_4_1 = ((((0x1|0x2)|0x200|0x400)|0x8));
+ public const int AK_SPEAKER_SETUP_5_0 = ((((0x1|0x2)|0x200|0x400)|0x4));
+ public const int AK_SPEAKER_SETUP_5_1 = (((((0x1|0x2)|0x200|0x400)|0x4)|0x8));
+ public const int AK_SPEAKER_SETUP_6_0 = ((((0x1|0x2)|0x200|0x400)|0x10|0x20));
+ public const int AK_SPEAKER_SETUP_6_1 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x8));
+ public const int AK_SPEAKER_SETUP_7_0 = (((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4));
+ public const int AK_SPEAKER_SETUP_7_1 = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x8));
+ public const int AK_SPEAKER_SETUP_DEFAULT_PLANE = ((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x8));
+ public const int AK_SUPPORTED_STANDARD_CHANNEL_MASK = (((((((0x1|0x2)|0x200|0x400)|0x10|0x20)|0x4)|0x8)|0x100|(((0x1000|0x4000|0x8000|0x20000)|0x2000)|0x10000)|0x800));
+ public const int AK_STANDARD_MAX_NUM_CHANNELS = (8);
+ public const int AK_MAX_AMBISONICS_ORDER = (5);
+ public const int AK_MAX_NUM_TEXTURE = 4;
+ public const int AK_MAX_REFLECT_ORDER = 4;
+ public const int AK_MAX_REFLECTION_PATH_LENGTH = (4+4);
+ public const int AK_MAX_SOUND_PROPAGATION_DEPTH = 8;
+ public const double AK_DEFAULT_DIFFR_SHADOW_DEGREES = (30.0);
+ public const double AK_DEFAULT_DIFFR_SHADOW_ATTEN = (1.0);
+ public const double AK_DEFAULT_MOVEMENT_THRESHOLD = (1.0);
+ public const int AK_DEFAULT_REFLECTIONS_ORDER = (1);
+ public const double AK_SA_EPSILON = (0.001);
+ public const double AK_SA_DIFFRACTION_EPSILON = (0.002);
+ public const double AK_SA_DIFFRACTION_DOT_EPSILON = (0.000002);
+ public const double AK_SA_PLANE_THICKNESS_RATIO = (0.005);
+}
+#endif // #if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEngine_Windows.cs.meta b/Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEngine_Windows.cs.meta
new file mode 100644
index 000000000..a17fd7972
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEngine_Windows.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a2d8c7930d59fd04a8f7fac1c4d5ca52
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Windows/AkThreadProperties_Windows.cs b/Assets/Wwise/Deployment/API/Generated/Windows/AkThreadProperties_Windows.cs
new file mode 100644
index 000000000..a5b51b796
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Windows/AkThreadProperties_Windows.cs
@@ -0,0 +1,61 @@
+#if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkThreadProperties : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkThreadProperties(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkThreadProperties obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkThreadProperties() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkThreadProperties(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+ public int nPriority { set { AkSoundEnginePINVOKE.CSharp_AkThreadProperties_nPriority_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkThreadProperties_nPriority_get(swigCPtr); }
+ }
+
+ public uint dwAffinityMask { set { AkSoundEnginePINVOKE.CSharp_AkThreadProperties_dwAffinityMask_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkThreadProperties_dwAffinityMask_get(swigCPtr); }
+ }
+
+ public uint uStackSize { set { AkSoundEnginePINVOKE.CSharp_AkThreadProperties_uStackSize_set(swigCPtr, value); } get { return AkSoundEnginePINVOKE.CSharp_AkThreadProperties_uStackSize_get(swigCPtr); }
+ }
+
+ public AkThreadProperties() : this(AkSoundEnginePINVOKE.CSharp_new_AkThreadProperties(), true) {
+ }
+
+}
+#endif // #if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Windows/AkThreadProperties_Windows.cs.meta b/Assets/Wwise/Deployment/API/Generated/Windows/AkThreadProperties_Windows.cs.meta
new file mode 100644
index 000000000..8e7a97cba
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Windows/AkThreadProperties_Windows.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 099bc5d3bdda02f43bb16c03d31b4679
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Generated/Windows/AkUnityPlatformSpecificSettings_Windows.cs b/Assets/Wwise/Deployment/API/Generated/Windows/AkUnityPlatformSpecificSettings_Windows.cs
new file mode 100644
index 000000000..8d6023f0f
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Windows/AkUnityPlatformSpecificSettings_Windows.cs
@@ -0,0 +1,49 @@
+#if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
+//------------------------------------------------------------------------------
+//
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+
+public class AkUnityPlatformSpecificSettings : global::System.IDisposable {
+ private global::System.IntPtr swigCPtr;
+ protected bool swigCMemOwn;
+
+ internal AkUnityPlatformSpecificSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ internal static global::System.IntPtr getCPtr(AkUnityPlatformSpecificSettings obj) {
+ return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
+ }
+
+ internal virtual void setCPtr(global::System.IntPtr cPtr) {
+ Dispose();
+ swigCPtr = cPtr;
+ }
+
+ ~AkUnityPlatformSpecificSettings() {
+ Dispose();
+ }
+
+ public virtual void Dispose() {
+ lock(this) {
+ if (swigCPtr != global::System.IntPtr.Zero) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ AkSoundEnginePINVOKE.CSharp_delete_AkUnityPlatformSpecificSettings(swigCPtr);
+ }
+ swigCPtr = global::System.IntPtr.Zero;
+ }
+ global::System.GC.SuppressFinalize(this);
+ }
+ }
+
+}
+#endif // #if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Generated/Windows/AkUnityPlatformSpecificSettings_Windows.cs.meta b/Assets/Wwise/Deployment/API/Generated/Windows/AkUnityPlatformSpecificSettings_Windows.cs.meta
new file mode 100644
index 000000000..d53314772
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Generated/Windows/AkUnityPlatformSpecificSettings_Windows.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a1fb842de996ddc4e9ffdf2425f57a44
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten.meta b/Assets/Wwise/Deployment/API/Handwritten.meta
new file mode 100644
index 000000000..c12e38656
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: decc5927c7308f24999c47759bd04f8e
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common.meta b/Assets/Wwise/Deployment/API/Handwritten/Common.meta
new file mode 100644
index 000000000..edac76494
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 1367e390a89eb6f49afcec4c429d6b88
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkAudioInputManager.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkAudioInputManager.cs
new file mode 100644
index 000000000..4dba5d98f
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkAudioInputManager.cs
@@ -0,0 +1,167 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+///
+/// This class represents an example audio input manager and is responsible for managing the audio sample and format
+/// callbacks provided to the Wwise Audio Input plug-in.
+///
+public static class AkAudioInputManager
+{
+ ///
+ /// Sanitized audio format delegate to be used by classes that implement audio input plug-ins. The samples are ALWAYS
+ /// set to be non-interleaved 32-bit float.
+ ///
+ /// The playingID of a sound that uses the audio input plug-in.
+ /// The C# analog of the C++ AkAudioFormat class.
+ public delegate void AudioFormatDelegate(uint playingID, AkAudioFormat format);
+
+ ///
+ /// Audio format delegate that is sent to C++.
+ ///
+ [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]
+ public delegate void AudioFormatInteropDelegate(uint playingID, System.IntPtr format);
+
+ ///
+ /// Sanitized audio sample delegate to be used by classes that implement audio input plug-ins. For every event posted,
+ /// this delegate is called once per audio frame for each channel until the delegates for all the channels associated
+ /// with this event return false.
+ ///
+ /// The playingID of a sound that uses the audio input plug-in.
+ /// The number of the channel associated with this specific invocation of the delegate.
+ /// The sample array that MUST be filled even when returning false.
+ /// Return true when more sample frames are require and false when complete.
+ public delegate bool AudioSamplesDelegate(uint playingID, uint channelIndex, float[] samples);
+
+ ///
+ /// Audio sample delegate that is sent to C++.
+ ///
+ [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]
+ public delegate bool AudioSamplesInteropDelegate(uint playingID,
+ [System.Runtime.InteropServices.In]
+ [System.Runtime.InteropServices.Out]
+ [System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPArray, SizeParamIndex = 3)]
+ float[] samples, uint channelIndex, uint frames);
+
+ private static bool initialized;
+
+ private static readonly System.Collections.Generic.Dictionary audioSamplesDelegates =
+ new System.Collections.Generic.Dictionary();
+
+ private static readonly System.Collections.Generic.Dictionary audioFormatDelegates =
+ new System.Collections.Generic.Dictionary();
+
+ private static readonly AkAudioFormat audioFormat = new AkAudioFormat();
+ private static readonly AudioSamplesInteropDelegate audioSamplesDelegate = InternalAudioSamplesDelegate;
+ private static readonly AudioFormatInteropDelegate audioFormatDelegate = InternalAudioFormatDelegate;
+
+ ///
+ /// This method is used to post events that use the Wwise Audio Input plug-in.
+ ///
+ /// The event to post.
+ /// The GameObject that the event will be posted on.
+ /// The C# audio sample delegate.
+ ///
+ /// The C# audio format delegate. If not specified, defaults to a mono source running at the
+ /// sample rate of the sound engine.
+ ///
+ /// The playingID of the newly instantiated sound associated with the posted event.
+ public static uint PostAudioInputEvent(AK.Wwise.Event akEvent, UnityEngine.GameObject gameObject,
+ AudioSamplesDelegate sampleDelegate, AudioFormatDelegate formatDelegate = null)
+ {
+ TryInitialize();
+ var playingID = akEvent.Post(gameObject, (uint) AkCallbackType.AK_EndOfEvent, EventCallback);
+ AddPlayingID(playingID, sampleDelegate, formatDelegate);
+ return playingID;
+ }
+
+ ///
+ /// This method is used to post events that use the Wwise Audio Input plug-in.
+ ///
+ /// The ID of the event to post.
+ /// The GameObject that the event will be posted on.
+ /// The C# audio sample delegate.
+ ///
+ /// The C# audio format delegate. If not specified, defaults to a mono source running at the
+ /// sample rate of the sound engine.
+ ///
+ /// The playingID of the newly instantiated sound associated with the posted event.
+ public static uint PostAudioInputEvent(uint akEventID, UnityEngine.GameObject gameObject,
+ AudioSamplesDelegate sampleDelegate, AudioFormatDelegate formatDelegate = null)
+ {
+ TryInitialize();
+ var playingID =
+ AkSoundEngine.PostEvent(akEventID, gameObject, (uint) AkCallbackType.AK_EndOfEvent, EventCallback, null);
+ AddPlayingID(playingID, sampleDelegate, formatDelegate);
+ return playingID;
+ }
+
+ ///
+ /// This method is used to post events that use the Wwise Audio Input plug-in.
+ ///
+ /// The name of the event to post.
+ /// The GameObject that the event will be posted on.
+ /// The C# audio sample delegate.
+ ///
+ /// The C# audio format delegate. If not specified, defaults to a mono source running at the
+ /// sample rate of the sound engine.
+ ///
+ /// The playingID of the newly instantiated sound associated with the posted event.
+ public static uint PostAudioInputEvent(string akEventName, UnityEngine.GameObject gameObject,
+ AudioSamplesDelegate sampleDelegate, AudioFormatDelegate formatDelegate = null)
+ {
+ TryInitialize();
+ var playingID =
+ AkSoundEngine.PostEvent(akEventName, gameObject, (uint) AkCallbackType.AK_EndOfEvent, EventCallback, null);
+ AddPlayingID(playingID, sampleDelegate, formatDelegate);
+ return playingID;
+ }
+
+ [AOT.MonoPInvokeCallback(typeof(AudioSamplesInteropDelegate))]
+ private static bool InternalAudioSamplesDelegate(uint playingID, float[] samples, uint channelIndex, uint frames)
+ {
+ return audioSamplesDelegates.ContainsKey(playingID) &&
+ audioSamplesDelegates[playingID](playingID, channelIndex, samples);
+ }
+
+ [AOT.MonoPInvokeCallback(typeof(AudioFormatInteropDelegate))]
+ private static void InternalAudioFormatDelegate(uint playingID, System.IntPtr format)
+ {
+ if (audioFormatDelegates.ContainsKey(playingID))
+ {
+ audioFormat.setCPtr(format);
+ audioFormatDelegates[playingID](playingID, audioFormat);
+ }
+ }
+
+ private static void TryInitialize()
+ {
+ if (!initialized)
+ {
+ initialized = true;
+ AkSoundEngine.SetAudioInputCallbacks(audioSamplesDelegate, audioFormatDelegate);
+ }
+ }
+
+ private static void AddPlayingID(uint playingID, AudioSamplesDelegate sampleDelegate,
+ AudioFormatDelegate formatDelegate)
+ {
+ if (playingID == AkSoundEngine.AK_INVALID_PLAYING_ID || sampleDelegate == null)
+ return;
+
+ audioSamplesDelegates.Add(playingID, sampleDelegate);
+ if (formatDelegate != null)
+ audioFormatDelegates.Add(playingID, formatDelegate);
+ }
+
+ private static void EventCallback(object cookie, AkCallbackType type, AkCallbackInfo callbackInfo)
+ {
+ if (type == AkCallbackType.AK_EndOfEvent)
+ {
+ var info = callbackInfo as AkEventCallbackInfo;
+ if (info != null)
+ {
+ audioSamplesDelegates.Remove(info.playingID);
+ audioFormatDelegates.Remove(info.playingID);
+ }
+ }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkAudioInputManager.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkAudioInputManager.cs.meta
new file mode 100644
index 000000000..f448f6f4c
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkAudioInputManager.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4a6d2518a64fb4641aaf22375662c5ed
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkBankManager.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkBankManager.cs
new file mode 100644
index 000000000..9614620a6
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkBankManager.cs
@@ -0,0 +1,303 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Maintains the list of loaded SoundBanks loaded. This is currently used only with AkAmbient objects.
+public static class AkBankManager
+{
+ private static readonly System.Collections.Generic.Dictionary m_BankHandles =
+ new System.Collections.Generic.Dictionary();
+
+ private static readonly System.Collections.Generic.List BanksToUnload =
+ new System.Collections.Generic.List();
+
+ internal static void DoUnloadBanks()
+ {
+ var count = BanksToUnload.Count;
+ for (var i = 0; i < count; ++i)
+ BanksToUnload[i].UnloadBank();
+
+ BanksToUnload.Clear();
+ }
+
+ internal static void Reset()
+ {
+ m_BankHandles.Clear();
+ BanksToUnload.Clear();
+ }
+
+#if UNITY_EDITOR
+ internal static void ReloadAllBanks()
+ {
+ lock (m_BankHandles)
+ {
+ foreach (var bankHandle in m_BankHandles.Values)
+ {
+ if (bankHandle != null)
+ {
+ bankHandle.UnloadBank();
+ }
+ }
+
+ UnloadInitBank();
+ LoadInitBank(false);
+
+ foreach (var bankHandle in m_BankHandles.Values)
+ {
+ if (bankHandle != null)
+ {
+ bankHandle.DoLoadBank();
+ }
+ }
+ }
+ }
+#endif
+
+ public static void LoadInitBank(bool doReset = true)
+ {
+ if (doReset)
+ {
+ Reset();
+ }
+
+ uint BankID;
+ var result = AkSoundEngine.LoadBank("Init.bnk", out BankID);
+ if (result != AKRESULT.AK_Success)
+ {
+ UnityEngine.Debug.LogError("WwiseUnity: Failed load Init.bnk with result: " + result);
+ }
+ }
+
+ public static void UnloadInitBank()
+ {
+ AkSoundEngine.UnloadBank("Init.bnk", System.IntPtr.Zero);
+ }
+
+ /// Loads a SoundBank. This version blocks until the bank is loaded. See AK::SoundEngine::LoadBank for more information.
+ public static void LoadBank(string name, bool decodeBank, bool saveDecodedBank)
+ {
+ BankHandle handle = null;
+ lock (m_BankHandles)
+ {
+ if (m_BankHandles.TryGetValue(name, out handle))
+ {
+ // Bank already loaded, increment its ref count.
+ handle.IncRef();
+ return;
+ }
+
+#if UNITY_SWITCH
+ // No bank decoding on Nintendo switch
+ handle = new BankHandle(name);
+#else
+ handle = decodeBank ? new DecodableBankHandle(name, saveDecodedBank) : new BankHandle(name);
+#endif
+ m_BankHandles.Add(name, handle);
+ }
+ handle.LoadBank();
+ }
+
+ /// Loads a SoundBank. This version returns right away and loads in background. See AK::SoundEngine::LoadBank for more information.
+ public static void LoadBankAsync(string name, AkCallbackManager.BankCallback callback = null)
+ {
+ BankHandle handle = null;
+ lock (m_BankHandles)
+ {
+ if (m_BankHandles.TryGetValue(name, out handle))
+ {
+ // Bank already loaded, increment its ref count.
+ handle.IncRef();
+ return;
+ }
+
+ handle = new AsyncBankHandle(name, callback);
+ m_BankHandles.Add(name, handle);
+ }
+ handle.LoadBank();
+ }
+
+ /// Unloads a SoundBank. See AK::SoundEngine::UnloadBank for more information.
+ public static void UnloadBank(string name)
+ {
+ lock (m_BankHandles)
+ {
+ BankHandle handle = null;
+ if (m_BankHandles.TryGetValue(name, out handle))
+ handle.DecRef();
+ }
+ }
+
+ private class BankHandle
+ {
+ protected readonly string bankName;
+ protected uint m_BankID;
+
+ public BankHandle(string name)
+ {
+ bankName = name;
+ }
+
+ public int RefCount { get; private set; }
+
+ /// Loads a bank. This version blocks until the bank is loaded. See AK::SoundEngine::LoadBank for more information.
+ public virtual AKRESULT DoLoadBank()
+ {
+ return AkSoundEngine.LoadBank(bankName, out m_BankID);
+ }
+
+ public void LoadBank()
+ {
+#if UNITY_EDITOR
+ if (!AkSoundEngineController.Instance.IsSoundEngineLoaded)
+ return;
+#endif
+
+ if (RefCount == 0 && !BanksToUnload.Remove(this))
+ {
+ var res = DoLoadBank();
+ LogLoadResult(res);
+ }
+
+ IncRef();
+ }
+
+ /// Unloads a bank.
+ public virtual void UnloadBank()
+ {
+ AkSoundEngine.UnloadBank(m_BankID, System.IntPtr.Zero, null, null);
+
+ lock (m_BankHandles)
+ m_BankHandles.Remove(bankName);
+ }
+
+ public void IncRef()
+ {
+ if (RefCount == 0)
+ BanksToUnload.Remove(this);
+ RefCount++;
+ }
+
+ public void DecRef()
+ {
+ RefCount--;
+ if (RefCount == 0)
+ BanksToUnload.Add(this);
+ }
+
+ protected void LogLoadResult(AKRESULT result)
+ {
+ if (result != AKRESULT.AK_Success && AkSoundEngine.IsInitialized())
+ UnityEngine.Debug.LogWarning("WwiseUnity: Bank " + bankName + " failed to load (" + result + ")");
+ }
+ }
+
+ private class AsyncBankHandle : BankHandle
+ {
+ private readonly AkCallbackManager.BankCallback bankCallback;
+
+ public AsyncBankHandle(string name, AkCallbackManager.BankCallback callback) : base(name)
+ {
+ bankCallback = callback;
+ }
+
+ private static void GlobalBankCallback(uint in_bankID, System.IntPtr in_pInMemoryBankPtr, AKRESULT in_eLoadResult, object in_Cookie)
+ {
+ var handle = (AsyncBankHandle)in_Cookie;
+ var callback = handle.bankCallback;
+
+ if (in_eLoadResult != AKRESULT.AK_Success)
+ {
+ handle.LogLoadResult(in_eLoadResult);
+
+ if (in_eLoadResult != AKRESULT.AK_BankAlreadyLoaded)
+ lock (m_BankHandles)
+ m_BankHandles.Remove(handle.bankName);
+ }
+
+ if (callback != null)
+ callback(in_bankID, in_pInMemoryBankPtr, in_eLoadResult, null);
+ }
+
+ /// Loads a bank. This version returns right away and loads in background. See AK::SoundEngine::LoadBank for more information
+ public override AKRESULT DoLoadBank()
+ {
+ return AkSoundEngine.LoadBank(bankName, GlobalBankCallback, this, out m_BankID);
+ }
+ }
+
+ private class DecodableBankHandle : BankHandle
+ {
+ private readonly bool decodeBank = true;
+ private readonly string decodedBankPath;
+ private readonly bool saveDecodedBank;
+
+ public DecodableBankHandle(string name, bool save) : base(name)
+ {
+ saveDecodedBank = save;
+
+ var bankFileName = bankName + ".bnk";
+
+ // test language-specific decoded file path
+ var language = AkSoundEngine.GetCurrentLanguage();
+ var decodedBankFullPath = AkBasePathGetter.DecodedBankFullPath;
+ decodedBankPath = System.IO.Path.Combine(decodedBankFullPath, language);
+ var decodedBankFilePath = System.IO.Path.Combine(decodedBankPath, bankFileName);
+
+ var decodedFileExists = System.IO.File.Exists(decodedBankFilePath);
+ if (!decodedFileExists)
+ {
+ // test non-language-specific decoded file path
+ decodedBankPath = decodedBankFullPath;
+ decodedBankFilePath = System.IO.Path.Combine(decodedBankPath, bankFileName);
+ decodedFileExists = System.IO.File.Exists(decodedBankFilePath);
+ }
+
+ if (decodedFileExists)
+ {
+ try
+ {
+ var decodedFileTime = System.IO.File.GetLastWriteTime(decodedBankFilePath);
+ var encodedBankFilePath = System.IO.Path.Combine(AkBasePathGetter.SoundBankBasePath, bankFileName);
+ var encodedFileTime = System.IO.File.GetLastWriteTime(encodedBankFilePath);
+
+ decodeBank = decodedFileTime <= encodedFileTime;
+ }
+ catch
+ {
+ // Assume the decoded bank exists, but is not accessible. Re-decode it anyway, so we do nothing.
+ }
+ }
+ }
+
+ /// Loads a bank. This version blocks until the bank is loaded. See AK::SoundEngine::LoadBank for more information.
+ public override AKRESULT DoLoadBank()
+ {
+ if (decodeBank)
+ return AkSoundEngine.LoadAndDecodeBank(bankName, saveDecodedBank, out m_BankID);
+
+ if (string.IsNullOrEmpty(decodedBankPath))
+ return AkSoundEngine.LoadBank(bankName, out m_BankID);
+
+ var res = AkSoundEngine.SetBasePath(decodedBankPath);
+ if (res == AKRESULT.AK_Success)
+ {
+ res = AkSoundEngine.LoadBank(bankName, out m_BankID);
+ AkSoundEngine.SetBasePath(AkBasePathGetter.SoundBankBasePath);
+ }
+ return res;
+ }
+
+ /// Unloads a bank.
+ public override void UnloadBank()
+ {
+ if (decodeBank && !saveDecodedBank)
+ AkSoundEngine.PrepareBank(AkPreparationType.Preparation_Unload, m_BankID);
+ else
+ base.UnloadBank();
+ }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkBankManager.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkBankManager.cs.meta
new file mode 100644
index 000000000..5878d0238
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkBankManager.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 1e627da541f5c2441a49746cbfeb6251
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkBasePathGetter.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkBasePathGetter.cs
new file mode 100644
index 000000000..618942f8a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkBasePathGetter.cs
@@ -0,0 +1,252 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2012 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+///
+/// This class is responsible for determining the path where sound banks are located. When using custom platforms, this
+/// class needs to be extended.
+///
+public partial class AkBasePathGetter
+{
+ ///
+ /// User hook called to retrieve the custom platform name used to determine the base path. Do not modify platformName
+ /// to use default platform names.
+ ///
+ /// The custom platform name. Leave unaffected if the default location is acceptable.
+ static partial void GetCustomPlatformName(ref string platformName);
+
+ ///
+ /// Determines the platform name which is also the sub-folder within the base path where sound banks are located for
+ /// this platform.
+ ///
+ /// The platform name.
+ public static string GetPlatformName()
+ {
+ var platformSubDir = string.Empty;
+ GetCustomPlatformName(ref platformSubDir);
+ if (!string.IsNullOrEmpty(platformSubDir))
+ return platformSubDir;
+
+ return DefaultPlatformName;
+ }
+}
+
+public partial class AkBasePathGetter
+{
+ public static readonly string DefaultBasePath = System.IO.Path.Combine("Audio", "GeneratedSoundBanks");
+
+ private static bool LogWarnings_Internal = true;
+ public static bool LogWarnings
+ {
+ get { return LogWarnings_Internal; }
+ set { LogWarnings_Internal = value; }
+ }
+
+ ///
+ /// Returns the absolute path to the platform specific sound banks.
+ ///
+ /// The absolute path to the platform specific sound banks.
+ public static string GetPlatformBasePath()
+ {
+ var platformName = GetPlatformName();
+
+#if UNITY_EDITOR
+ var platformBasePathEditor = GetPlatformBasePathEditor(platformName);
+ if (!string.IsNullOrEmpty(platformBasePathEditor))
+ return platformBasePathEditor;
+
+ var fullBasePath = AkWwiseEditorSettings.Instance.SoundbankPath;
+#else
+ var fullBasePath = string.Empty;
+#endif
+
+ if (string.IsNullOrEmpty(fullBasePath))
+ fullBasePath = AkWwiseInitializationSettings.ActivePlatformSettings.SoundbankPath;
+
+#if UNITY_EDITOR || !UNITY_ANDROID
+ fullBasePath = System.IO.Path.Combine(UnityEngine.Application.streamingAssetsPath, fullBasePath);
+#endif
+
+#if UNITY_SWITCH
+ if (fullBasePath.StartsWith("/"))
+ fullBasePath = fullBasePath.Substring(1);
+#endif
+
+ // Combine base path with platform sub-folder
+ var platformBasePath = System.IO.Path.Combine(fullBasePath, platformName);
+ AkUtilities.FixSlashes(ref platformBasePath);
+ return platformBasePath;
+ }
+
+#if UNITY_EDITOR
+ public static bool GetSoundBankPaths(string platformName, out string sourcePlatformBasePath, out string destinationPlatformBasePath)
+ {
+ sourcePlatformBasePath = GetPlatformBasePathEditor(platformName);
+ if (string.IsNullOrEmpty(sourcePlatformBasePath))
+ {
+ if (LogWarnings)
+ UnityEngine.Debug.LogErrorFormat("WwiseUnity: Could not find source folder for <{0}> platform. Did you remember to generate your banks?", platformName);
+
+ destinationPlatformBasePath = string.Empty;
+ return false;
+ }
+
+ destinationPlatformBasePath = System.IO.Path.Combine(GetFullSoundBankPathEditor(), platformName);
+ if (string.IsNullOrEmpty(destinationPlatformBasePath))
+ {
+ if (LogWarnings)
+ UnityEngine.Debug.LogErrorFormat("WwiseUnity: Could not find destination folder for <{0}> platform", platformName);
+
+ return false;
+ }
+
+ return true;
+ }
+
+ ///
+ /// Returns the absolute path to the folder above the platform specific sound banks sub-folders.
+ ///
+ /// The absolute sound bank base path.
+ public static string GetFullSoundBankPathEditor()
+ {
+ string fullBasePath = System.IO.Path.Combine(UnityEngine.Application.streamingAssetsPath, AkWwiseEditorSettings.Instance.SoundbankPath);
+ AkUtilities.FixSlashes(ref fullBasePath);
+ return fullBasePath;
+ }
+
+ ///
+ /// Determines the platform base path for use within the Editor.
+ ///
+ /// The platform name.
+ /// The full path to the sound banks for use within the Editor.
+ private static string GetPlatformBasePathEditor(string platformName)
+ {
+ var Settings = AkWwiseEditorSettings.Instance;
+ var WwiseProjectFullPath = AkUtilities.GetFullPath(UnityEngine.Application.dataPath, Settings.WwiseProjectPath);
+ var SoundBankDest = AkUtilities.GetWwiseSoundBankDestinationFolder(platformName, WwiseProjectFullPath);
+
+ try
+ {
+ if (System.IO.Path.GetPathRoot(SoundBankDest) == "")
+ {
+ // Path is relative, make it full
+ SoundBankDest = AkUtilities.GetFullPath(System.IO.Path.GetDirectoryName(WwiseProjectFullPath), SoundBankDest);
+ }
+ }
+ catch
+ {
+ SoundBankDest = string.Empty;
+ }
+
+ if (LogWarnings)
+ {
+ if (string.IsNullOrEmpty(SoundBankDest))
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: The platform SoundBank subfolder within the Wwise project could not be found.");
+ return null;
+ }
+
+ try
+ {
+ // Verify if there are banks in there
+ var di = new System.IO.DirectoryInfo(SoundBankDest);
+ var foundBanks = di.GetFiles("*.bnk", System.IO.SearchOption.AllDirectories);
+ if (foundBanks.Length == 0)
+ {
+ return null;
+ }
+
+ if (!SoundBankDest.Contains(platformName))
+ {
+ if (LogWarnings)
+ UnityEngine.Debug.LogWarning("WwiseUnity: The platform SoundBank subfolder does not match your platform name. You will need to create a custom platform name getter for your game. See section \"Using Wwise Custom Platforms in Unity\" of the Wwise Unity integration documentation for more information");
+ }
+
+ return SoundBankDest;
+ }
+ catch
+ {
+ return null;
+ }
+ }
+ else
+ {
+ return SoundBankDest;
+ }
+ }
+#endif
+
+ public static void EvaluateGamePaths()
+ {
+#if UNITY_SWITCH && !UNITY_EDITOR
+ // Calling Application.persistentDataPath crashes Switch
+ string tempPersistentDataPath = null;
+#else
+ string tempPersistentDataPath = UnityEngine.Application.persistentDataPath;
+#endif
+
+ PersistentDataPath = tempPersistentDataPath;
+
+ var persistentDataSubfolder = AkWwiseInitializationSettings.ActivePlatformSettings.SoundBankPersistentDataPath;
+
+ string tempSoundBankBasePath = null;
+ if (!string.IsNullOrEmpty(tempPersistentDataPath) && !string.IsNullOrEmpty(persistentDataSubfolder))
+ {
+ tempSoundBankBasePath = System.IO.Path.GetFullPath(System.IO.Path.Combine(tempPersistentDataPath, persistentDataSubfolder));
+ if (LogWarnings)
+ UnityEngine.Debug.LogFormat("WwiseUnity: Using persistentDataPath. SoundBanks base path set to <{0}>.", tempSoundBankBasePath);
+ }
+ else
+ {
+ tempSoundBankBasePath = GetPlatformBasePath();
+
+#if !UNITY_EDITOR && (UNITY_ANDROID || PLATFORM_LUMIN)
+ // Can't use File.Exists on Android, assume banks are there
+ var InitBnkFound = true;
+#else
+ var InitBnkFound = System.IO.File.Exists(System.IO.Path.Combine(tempSoundBankBasePath, "Init.bnk"));
+#endif
+
+ if (string.IsNullOrEmpty(tempSoundBankBasePath) || !InitBnkFound)
+ {
+ if (LogWarnings)
+ {
+#if UNITY_EDITOR
+ var format = "WwiseUnity: Could not locate the SoundBanks in {0}. Did you make sure to generate them?";
+#else
+ var format = "WwiseUnity: Could not locate the SoundBanks in {0}. Did you make sure to copy them to the StreamingAssets folder?";
+#endif
+ UnityEngine.Debug.LogErrorFormat(format, tempSoundBankBasePath);
+ }
+ }
+ }
+
+ SoundBankBasePath = tempSoundBankBasePath;
+
+ string tempDecodedBankFullPath = null;
+
+#if !UNITY_SWITCH || UNITY_EDITOR
+#if (UNITY_ANDROID || PLATFORM_LUMIN || UNITY_IOS) && !UNITY_EDITOR
+ // This is for platforms that only have a specific file location for persistent data.
+ tempDecodedBankFullPath = System.IO.Path.Combine(tempPersistentDataPath, DecodedBankFolder);
+#else
+ tempDecodedBankFullPath = System.IO.Path.Combine(tempSoundBankBasePath, DecodedBankFolder);
+#endif
+#endif
+
+ DecodedBankFullPath = tempDecodedBankFullPath;
+ }
+
+ public static string SoundBankBasePath { get; private set; }
+
+ public static string PersistentDataPath { get; private set; }
+
+ private const string DecodedBankFolder = "DecodedBanks";
+
+ public static string DecodedBankFullPath { get; private set; }
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkBasePathGetter.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkBasePathGetter.cs.meta
new file mode 100644
index 000000000..bdb026ce0
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkBasePathGetter.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9ea2121d226d14f4690e94515989d318
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkCallbackManager.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkCallbackManager.cs
new file mode 100644
index 000000000..5dc0edbe6
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkCallbackManager.cs
@@ -0,0 +1,439 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2012 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+///
+/// This class manages the callback queue. All callbacks from the native Wwise SDK go through this queue.
+/// The queue needs to be driven by regular calls to PostCallbacks(). This is currently done in AkInitializer.cs, in
+/// LateUpdate().
+///
+public static class AkCallbackManager
+{
+ ///
+ /// Event callback used when posting events.
+ ///
+ public delegate void EventCallback(object in_cookie, AkCallbackType in_type, AkCallbackInfo in_info);
+
+ ///
+ /// Monitoring callback called when Wwise reports errors.
+ ///
+ public delegate void MonitoringCallback(AkMonitorErrorCode in_errorCode, AkMonitorErrorLevel in_errorLevel,
+ uint in_playingID, ulong in_gameObjID, string in_msg);
+
+ ///
+ /// Bank callback called upon bank load and unload and when errors occur.
+ ///
+ public delegate void BankCallback(uint in_bankID, System.IntPtr in_InMemoryBankPtr, AKRESULT in_eLoadResult, object in_Cookie);
+
+ private static bool IsLoggingEnabled { get; set; }
+
+ private static readonly AkEventCallbackInfo AkEventCallbackInfo = new AkEventCallbackInfo(System.IntPtr.Zero, false);
+
+ private static readonly AkDynamicSequenceItemCallbackInfo AkDynamicSequenceItemCallbackInfo =
+ new AkDynamicSequenceItemCallbackInfo(System.IntPtr.Zero, false);
+
+ private static readonly AkMIDIEventCallbackInfo AkMIDIEventCallbackInfo =
+ new AkMIDIEventCallbackInfo(System.IntPtr.Zero, false);
+
+ private static readonly AkMarkerCallbackInfo
+ AkMarkerCallbackInfo = new AkMarkerCallbackInfo(System.IntPtr.Zero, false);
+
+ private static readonly AkDurationCallbackInfo AkDurationCallbackInfo =
+ new AkDurationCallbackInfo(System.IntPtr.Zero, false);
+
+ private static readonly AkMusicSyncCallbackInfo AkMusicSyncCallbackInfo =
+ new AkMusicSyncCallbackInfo(System.IntPtr.Zero, false);
+
+ private static readonly AkMusicPlaylistCallbackInfo AkMusicPlaylistCallbackInfo =
+ new AkMusicPlaylistCallbackInfo(System.IntPtr.Zero, false);
+
+#if UNITY_IOS && !UNITY_EDITOR
+ private static AkAudioInterruptionCallbackInfo AkAudioInterruptionCallbackInfo =
+ new AkAudioInterruptionCallbackInfo(System.IntPtr.Zero, false);
+#endif // #if UNITY_IOS && ! UNITY_EDITOR
+
+ private static readonly AkAudioSourceChangeCallbackInfo AkAudioSourceChangeCallbackInfo =
+ new AkAudioSourceChangeCallbackInfo(System.IntPtr.Zero, false);
+
+ private static readonly AkMonitoringCallbackInfo AkMonitoringCallbackInfo =
+ new AkMonitoringCallbackInfo(System.IntPtr.Zero, false);
+
+ private static readonly AkBankCallbackInfo AkBankCallbackInfo = new AkBankCallbackInfo(System.IntPtr.Zero, false);
+
+ ///
+ /// This class holds the data associated with an event callback.
+ ///
+ public class EventCallbackPackage
+ {
+ public bool m_bNotifyEndOfEvent;
+ public EventCallback m_Callback;
+
+ public object m_Cookie;
+ public uint m_playingID;
+
+ public static EventCallbackPackage Create(EventCallback in_cb, object in_cookie, ref uint io_Flags)
+ {
+ if (io_Flags == 0 || in_cb == null)
+ {
+ io_Flags = 0;
+ return null;
+ }
+
+ var evt = new EventCallbackPackage();
+
+ evt.m_Callback = in_cb;
+ evt.m_Cookie = in_cookie;
+ evt.m_bNotifyEndOfEvent = (io_Flags & (uint) AkCallbackType.AK_EndOfEvent) != 0;
+ io_Flags = io_Flags | (uint) AkCallbackType.AK_EndOfEvent;
+
+ m_mapEventCallbacks[evt.GetHashCode()] = evt;
+ m_LastAddedEventPackage = evt;
+
+ return evt;
+ }
+ }
+
+ ///
+ /// This class holds the data associated with a bank load or unload callback.
+ ///
+ public class BankCallbackPackage
+ {
+ public BankCallback m_Callback;
+ public object m_Cookie;
+
+ public BankCallbackPackage(BankCallback in_cb, object in_cookie)
+ {
+ m_Callback = in_cb;
+ m_Cookie = in_cookie;
+
+ m_mapBankCallbacks[GetHashCode()] = this;
+ }
+ }
+
+ private static readonly System.Collections.Generic.Dictionary m_mapEventCallbacks =
+ new System.Collections.Generic.Dictionary();
+
+ private static readonly System.Collections.Generic.Dictionary m_mapBankCallbacks =
+ new System.Collections.Generic.Dictionary();
+
+ private static EventCallbackPackage m_LastAddedEventPackage;
+
+ public static void RemoveEventCallback(uint in_playingID)
+ {
+ var cookiesToRemove = new System.Collections.Generic.List();
+ foreach (var pair in m_mapEventCallbacks)
+ {
+ if (pair.Value.m_playingID == in_playingID)
+ {
+ cookiesToRemove.Add(pair.Key);
+ break;
+ }
+ }
+
+ var Count = cookiesToRemove.Count;
+ for (var ii = 0; ii < Count; ++ii)
+ m_mapEventCallbacks.Remove(cookiesToRemove[ii]);
+
+ AkSoundEnginePINVOKE.CSharp_CancelEventCallback(in_playingID);
+ }
+
+ public static void RemoveEventCallbackCookie(object in_cookie)
+ {
+ var cookiesToRemove = new System.Collections.Generic.List();
+ foreach (var pair in m_mapEventCallbacks)
+ {
+ if (pair.Value.m_Cookie == in_cookie)
+ cookiesToRemove.Add(pair.Key);
+ }
+
+ var Count = cookiesToRemove.Count;
+ for (var ii = 0; ii < Count; ++ii)
+ {
+ var toRemove = cookiesToRemove[ii];
+ m_mapEventCallbacks.Remove(toRemove);
+ AkSoundEnginePINVOKE.CSharp_CancelEventCallbackCookie((System.IntPtr) toRemove);
+ }
+ }
+
+ public static void RemoveBankCallback(object in_cookie)
+ {
+ var cookiesToRemove = new System.Collections.Generic.List();
+ foreach (var pair in m_mapBankCallbacks)
+ {
+ if (pair.Value.m_Cookie == in_cookie)
+ cookiesToRemove.Add(pair.Key);
+ }
+
+ var Count = cookiesToRemove.Count;
+ for (var ii = 0; ii < Count; ++ii)
+ {
+ var toRemove = cookiesToRemove[ii];
+ m_mapBankCallbacks.Remove(toRemove);
+ AkSoundEnginePINVOKE.CSharp_CancelBankCallbackCookie((System.IntPtr) toRemove);
+ }
+ }
+
+ public static void SetLastAddedPlayingID(uint in_playingID)
+ {
+ if (m_LastAddedEventPackage != null && m_LastAddedEventPackage.m_playingID == 0)
+ m_LastAddedEventPackage.m_playingID = in_playingID;
+ }
+
+ private static System.IntPtr m_pNotifMem = System.IntPtr.Zero;
+ private static MonitoringCallback m_MonitoringCB;
+
+#if UNITY_IOS && !UNITY_EDITOR
+ public delegate AKRESULT AudioInterruptionCallback(bool in_bEnterInterruption, object in_Cookie);
+ // App implements its own callback.
+ private static AudioInterruptionCallbackPackage ms_interruptCallbackPkg = null;
+
+ public class AudioInterruptionCallbackPackage
+ {
+ public object m_Cookie;
+ public AudioInterruptionCallback m_Callback;
+ }
+#endif // #if UNITY_IOS && ! UNITY_EDITOR
+
+ public delegate AKRESULT BGMCallback(bool in_bOtherAudioPlaying, object in_Cookie);
+
+ // App implements its own callback.
+ private static BGMCallbackPackage ms_sourceChangeCallbackPkg;
+
+ public class BGMCallbackPackage
+ {
+ public BGMCallback m_Callback;
+ public object m_Cookie;
+ }
+
+ public class InitializationSettings
+ {
+ public static int DefaultBufferSize = 4 * 1024;
+ public static bool DefaultIsLoggingEnabled = true;
+
+ public int BufferSize = DefaultBufferSize;
+ public bool IsLoggingEnabled = DefaultIsLoggingEnabled;
+ }
+
+ public static AKRESULT Init(InitializationSettings settings)
+ {
+ IsLoggingEnabled = settings.IsLoggingEnabled;
+
+ m_pNotifMem = settings.BufferSize > 0 ? System.Runtime.InteropServices.Marshal.AllocHGlobal(settings.BufferSize) : System.IntPtr.Zero;
+
+#if UNITY_EDITOR
+ AkCallbackSerializer.SetLocalOutput((uint) AkMonitorErrorLevel.ErrorLevel_All);
+#endif
+
+ return AkCallbackSerializer.Init(m_pNotifMem, (uint)settings.BufferSize);
+ }
+
+ public static void Term()
+ {
+ if (m_pNotifMem != System.IntPtr.Zero)
+ {
+ AkCallbackSerializer.Term();
+ System.Runtime.InteropServices.Marshal.FreeHGlobal(m_pNotifMem);
+ m_pNotifMem = System.IntPtr.Zero;
+ }
+ }
+
+ /// Call this to set a function to call whenever Wwise prints a message (warnings or errors).
+ public static void SetMonitoringCallback(AkMonitorErrorLevel in_Level, MonitoringCallback in_CB)
+ {
+ AkCallbackSerializer.SetLocalOutput(in_CB != null ? (uint) in_Level : 0);
+ m_MonitoringCB = in_CB;
+ }
+
+#if UNITY_IOS && !UNITY_EDITOR
+ /// Call this function to set a iOS callback interruption function. By default this callback is not defined.
+ public static void SetInterruptionCallback(AudioInterruptionCallback in_CB, object in_cookie)
+ {
+ ms_interruptCallbackPkg = new AudioInterruptionCallbackPackage { m_Callback = in_CB, m_Cookie = in_cookie };
+ }
+#endif // #if UNITY_IOS && ! UNITY_EDITOR
+
+ /// Call this to set a background music callback function. By default this callback is not defined.
+ public static void SetBGMCallback(BGMCallback in_CB, object in_cookie)
+ {
+ ms_sourceChangeCallbackPkg = new BGMCallbackPackage { m_Callback = in_CB, m_Cookie = in_cookie };
+ }
+
+ /// This function dispatches all the accumulated callbacks from the native sound engine.
+ /// It must be called regularly. By default this is called in AkInitializer.cs.
+ public static int PostCallbacks()
+ {
+ if (m_pNotifMem == System.IntPtr.Zero)
+ return 0;
+
+ try
+ {
+ var numCallbacks = 0;
+
+ for (var pNext = AkCallbackSerializer.Lock();
+ pNext != System.IntPtr.Zero;
+ pNext = AkSoundEnginePINVOKE.CSharp_AkSerializedCallbackHeader_pNext_get(pNext), ++numCallbacks)
+ {
+ var pPackage = AkSoundEnginePINVOKE.CSharp_AkSerializedCallbackHeader_pPackage_get(pNext);
+ var eType = (AkCallbackType) AkSoundEnginePINVOKE.CSharp_AkSerializedCallbackHeader_eType_get(pNext);
+ var pData = AkSoundEnginePINVOKE.CSharp_AkSerializedCallbackHeader_GetData(pNext);
+
+ switch (eType)
+ {
+ case AkCallbackType.AK_AudioInterruption:
+#if UNITY_IOS && !UNITY_EDITOR
+ if (ms_interruptCallbackPkg != null && ms_interruptCallbackPkg.m_Callback != null)
+ {
+ AkAudioInterruptionCallbackInfo.setCPtr(pData);
+ ms_interruptCallbackPkg.m_Callback(AkAudioInterruptionCallbackInfo.bEnterInterruption, ms_interruptCallbackPkg.m_Cookie);
+ }
+#endif // #if UNITY_IOS && ! UNITY_EDITOR
+ break;
+
+ case AkCallbackType.AK_AudioSourceChange:
+ if (ms_sourceChangeCallbackPkg != null && ms_sourceChangeCallbackPkg.m_Callback != null)
+ {
+ AkAudioSourceChangeCallbackInfo.setCPtr(pData);
+ ms_sourceChangeCallbackPkg.m_Callback(AkAudioSourceChangeCallbackInfo.bOtherAudioPlaying,
+ ms_sourceChangeCallbackPkg.m_Cookie);
+ }
+ break;
+
+ case AkCallbackType.AK_Monitoring:
+ if (m_MonitoringCB != null)
+ {
+ AkMonitoringCallbackInfo.setCPtr(pData);
+ m_MonitoringCB(AkMonitoringCallbackInfo.errorCode, AkMonitoringCallbackInfo.errorLevel,
+ AkMonitoringCallbackInfo.playingID, AkMonitoringCallbackInfo.gameObjID, AkMonitoringCallbackInfo.message);
+ }
+#if UNITY_EDITOR
+ else if (IsLoggingEnabled)
+ {
+ AkMonitoringCallbackInfo.setCPtr(pData);
+
+ var msg = "Wwise: " + AkMonitoringCallbackInfo.message;
+ if (AkMonitoringCallbackInfo.gameObjID != AkSoundEngine.AK_INVALID_GAME_OBJECT)
+ {
+ var obj =
+ UnityEditor.EditorUtility.InstanceIDToObject((int) AkMonitoringCallbackInfo.gameObjID) as
+ UnityEngine.GameObject;
+ if (obj != null)
+ msg += " (GameObject: " + obj + ")";
+
+ msg += " (Instance ID: " + AkMonitoringCallbackInfo.gameObjID + ")";
+ }
+
+ if (AkMonitoringCallbackInfo.errorLevel == AkMonitorErrorLevel.ErrorLevel_Error)
+ UnityEngine.Debug.LogError(msg);
+ else
+ UnityEngine.Debug.Log(msg);
+ }
+#endif
+ break;
+
+ case AkCallbackType.AK_Bank:
+ BankCallbackPackage bankPkg = null;
+ if (!m_mapBankCallbacks.TryGetValue((int) pPackage, out bankPkg))
+ {
+ UnityEngine.Debug.LogError("WwiseUnity: BankCallbackPackage not found for <" + pPackage + ">.");
+ return numCallbacks;
+ }
+ else
+ {
+ m_mapBankCallbacks.Remove((int) pPackage);
+
+ if (bankPkg != null && bankPkg.m_Callback != null)
+ {
+ AkBankCallbackInfo.setCPtr(pData);
+ bankPkg.m_Callback(AkBankCallbackInfo.bankID, AkBankCallbackInfo.inMemoryBankPtr, AkBankCallbackInfo.loadResult, bankPkg.m_Cookie);
+ }
+ }
+ break;
+
+ default:
+ EventCallbackPackage eventPkg = null;
+ if (!m_mapEventCallbacks.TryGetValue((int) pPackage, out eventPkg))
+ {
+ UnityEngine.Debug.LogError("WwiseUnity: EventCallbackPackage not found for <" + pPackage + ">.");
+ return numCallbacks;
+ }
+ else
+ {
+ AkCallbackInfo info = null;
+
+ switch (eType)
+ {
+ case AkCallbackType.AK_EndOfEvent:
+ m_mapEventCallbacks.Remove(eventPkg.GetHashCode());
+ if (eventPkg.m_bNotifyEndOfEvent)
+ {
+ AkEventCallbackInfo.setCPtr(pData);
+ info = AkEventCallbackInfo;
+ }
+ break;
+
+ case AkCallbackType.AK_MusicPlayStarted:
+ AkEventCallbackInfo.setCPtr(pData);
+ info = AkEventCallbackInfo;
+ break;
+
+ case AkCallbackType.AK_EndOfDynamicSequenceItem:
+ AkDynamicSequenceItemCallbackInfo.setCPtr(pData);
+ info = AkDynamicSequenceItemCallbackInfo;
+ break;
+
+ case AkCallbackType.AK_MIDIEvent:
+ AkMIDIEventCallbackInfo.setCPtr(pData);
+ info = AkMIDIEventCallbackInfo;
+ break;
+
+ case AkCallbackType.AK_Marker:
+ AkMarkerCallbackInfo.setCPtr(pData);
+ info = AkMarkerCallbackInfo;
+ break;
+
+ case AkCallbackType.AK_Duration:
+ AkDurationCallbackInfo.setCPtr(pData);
+ info = AkDurationCallbackInfo;
+ break;
+
+ case AkCallbackType.AK_MusicSyncUserCue:
+ case AkCallbackType.AK_MusicSyncBar:
+ case AkCallbackType.AK_MusicSyncBeat:
+ case AkCallbackType.AK_MusicSyncEntry:
+ case AkCallbackType.AK_MusicSyncExit:
+ case AkCallbackType.AK_MusicSyncGrid:
+ case AkCallbackType.AK_MusicSyncPoint:
+ AkMusicSyncCallbackInfo.setCPtr(pData);
+ info = AkMusicSyncCallbackInfo;
+ break;
+
+ case AkCallbackType.AK_MusicPlaylistSelect:
+ AkMusicPlaylistCallbackInfo.setCPtr(pData);
+ info = AkMusicPlaylistCallbackInfo;
+ break;
+
+ default:
+ UnityEngine.Debug.LogError("WwiseUnity: PostCallbacks aborted due to error: Undefined callback type <" +
+ eType + "> found. Callback object possibly corrupted.");
+ return numCallbacks;
+ }
+
+ if (info != null)
+ eventPkg.m_Callback(eventPkg.m_Cookie, eType, info);
+ }
+ break;
+ }
+ }
+
+ return numCallbacks;
+ }
+ finally
+ {
+ AkCallbackSerializer.Unlock();
+ }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkCallbackManager.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkCallbackManager.cs.meta
new file mode 100644
index 000000000..dfbfa9fde
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkCallbackManager.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 57be8ec87a89d504ebd26055ce593f6a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkCommonPlatformSettings.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkCommonPlatformSettings.cs
new file mode 100644
index 000000000..f03884dba
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkCommonPlatformSettings.cs
@@ -0,0 +1,630 @@
+public class AkBasePlatformSettings : UnityEngine.ScriptableObject
+{
+ public virtual AkInitializationSettings AkInitializationSettings
+ {
+ get { return new AkInitializationSettings(); }
+ }
+
+ public virtual AkSpatialAudioInitSettings AkSpatialAudioInitSettings
+ {
+ get { return new AkSpatialAudioInitSettings(); }
+ }
+
+ public virtual AkCallbackManager.InitializationSettings CallbackManagerInitializationSettings
+ {
+ get { return new AkCallbackManager.InitializationSettings(); }
+ }
+
+ public virtual string SoundBankPersistentDataPath
+ {
+ get { return null; }
+ }
+
+ public virtual string InitialLanguage
+ {
+ get { return "English(US)"; }
+ }
+
+ public virtual bool RenderDuringFocusLoss
+ {
+ get { return false; }
+ }
+
+ public virtual string SoundbankPath
+ {
+ get { return AkBasePathGetter.DefaultBasePath; }
+ }
+
+ public virtual AkCommunicationSettings AkCommunicationSettings
+ {
+ get { return new AkCommunicationSettings(); }
+ }
+
+ public virtual bool UseAsyncOpen
+ {
+ get { return false; }
+ }
+}
+
+[System.Serializable]
+public class AkCommonOutputSettings
+{
+ [UnityEngine.Tooltip("The name of a custom audio device to be used. Custom audio devices are defined in the Audio Device Shareset section of the Wwise project. Leave this empty to output normally through the default audio device.")]
+ public string m_AudioDeviceShareset = string.Empty;
+
+ [UnityEngine.Tooltip("Device specific identifier, when multiple devices of the same type are possible. If only one device is possible, leave to 0.")]
+ public uint m_DeviceID = AkSoundEngine.AK_INVALID_UNIQUE_ID;
+
+ public enum PanningRule
+ {
+ Speakers = 0,
+ Headphones = 1
+ }
+
+ [UnityEngine.Tooltip("Rule for 3D panning of signals routed to a stereo bus. In \"Speakers\" mode, the angle of the front loudspeakers is used. In \"Headphones\" mode, the speaker angles are superseded with constant power panning between two virtual microphones spaced 180 degrees apart.")]
+ public PanningRule m_PanningRule = PanningRule.Speakers;
+
+ [System.Serializable]
+ public class ChannelConfiguration
+ {
+ public enum ChannelConfigType
+ {
+ Anonymous = 0x0,
+ Standard = 0x1,
+ Ambisonic = 0x2
+ }
+
+ [UnityEngine.Tooltip("A code that completes the identification of channels by uChannelMask. Anonymous: Channel mask == 0 and channels; Standard: Channels must be identified with standard defines in AkSpeakerConfigs; Ambisonic: Channel mask == 0 and channels follow standard ambisonic order.")]
+ public ChannelConfigType m_ChannelConfigType = ChannelConfigType.Anonymous;
+
+ public enum ChannelMask
+ {
+ NONE = 0x0,
+
+ /// Standard speakers (channel mask):
+ FRONT_LEFT = 0x1, ///< Front left speaker bit mask
+ FRONT_RIGHT = 0x2, ///< Front right speaker bit mask
+ FRONT_CENTER = 0x4, ///< Front center speaker bit mask
+ LOW_FREQUENCY = 0x8, ///< Low-frequency speaker bit mask
+ BACK_LEFT = 0x10, ///< Rear left speaker bit mask
+ BACK_RIGHT = 0x20, ///< Rear right speaker bit mask
+ BACK_CENTER = 0x100, ///< Rear center speaker ("surround speaker") bit mask
+ SIDE_LEFT = 0x200, ///< Side left speaker bit mask
+ SIDE_RIGHT = 0x400, ///< Side right speaker bit mask
+
+ /// "Height" speakers.
+ TOP = 0x800, ///< Top speaker bit mask
+ HEIGHT_FRONT_LEFT = 0x1000, ///< Front left speaker bit mask
+ HEIGHT_FRONT_CENTER = 0x2000, ///< Front center speaker bit mask
+ HEIGHT_FRONT_RIGHT = 0x4000, ///< Front right speaker bit mask
+ HEIGHT_BACK_LEFT = 0x8000, ///< Rear left speaker bit mask
+ HEIGHT_BACK_CENTER = 0x10000, ///< Rear center speaker bit mask
+ HEIGHT_BACK_RIGHT = 0x20000, ///< Rear right speaker bit mask
+
+ //
+ // Supported speaker setups. Those are the ones that can be used in the Wwise Sound Engine audio pipeline.
+ //
+ SETUP_MONO = FRONT_CENTER, ///< 1.0 setup channel mask
+ SETUP_0POINT1 = LOW_FREQUENCY, ///< 0.1 setup channel mask
+ SETUP_1POINT1 = (FRONT_CENTER | LOW_FREQUENCY), ///< 1.1 setup channel mask
+ SETUP_STEREO = (FRONT_LEFT | FRONT_RIGHT), ///< 2.0 setup channel mask
+ SETUP_2POINT1 = (SETUP_STEREO | LOW_FREQUENCY), ///< 2.1 setup channel mask
+ SETUP_3STEREO = (SETUP_STEREO | FRONT_CENTER), ///< 3.0 setup channel mask
+ SETUP_3POINT1 = (SETUP_3STEREO | LOW_FREQUENCY), ///< 3.1 setup channel mask
+ SETUP_4 = (SETUP_STEREO | SIDE_LEFT | SIDE_RIGHT), ///< 4.0 setup channel mask
+ SETUP_4POINT1 = (SETUP_4 | LOW_FREQUENCY), ///< 4.1 setup channel mask
+ SETUP_5 = (SETUP_4 | FRONT_CENTER), ///< 5.0 setup channel mask
+ SETUP_5POINT1 = (SETUP_5 | LOW_FREQUENCY), ///< 5.1 setup channel mask
+ SETUP_6 = (SETUP_4 | BACK_LEFT | BACK_RIGHT), ///< 6.0 setup channel mask
+ SETUP_6POINT1 = (SETUP_6 | LOW_FREQUENCY), ///< 6.1 setup channel mask
+ SETUP_7 = (SETUP_6 | FRONT_CENTER), ///< 7.0 setup channel mask
+ SETUP_7POINT1 = (SETUP_7 | LOW_FREQUENCY), ///< 7.1 setup channel mask
+ SETUP_SURROUND = (SETUP_STEREO | BACK_CENTER), ///< Legacy surround setup channel mask
+
+ // Note. DPL2 does not really have 4 channels, but it is used by plugins to differentiate from stereo setup.
+ SETUP_DPL2 = (SETUP_4), ///< Legacy DPL2 setup channel mask
+
+ SETUP_HEIGHT_4 = (HEIGHT_FRONT_LEFT | HEIGHT_FRONT_RIGHT | HEIGHT_BACK_LEFT | HEIGHT_BACK_RIGHT), ///< 4 speaker height layer.
+ SETUP_HEIGHT_5 = (SETUP_HEIGHT_4 | HEIGHT_FRONT_CENTER), ///< 5 speaker height layer.
+ SETUP_HEIGHT_ALL = (SETUP_HEIGHT_5 | HEIGHT_BACK_CENTER), ///< All height speaker layer.
+
+ // Auro speaker setups
+ SETUP_AURO_222 = (SETUP_4 | HEIGHT_FRONT_LEFT | HEIGHT_FRONT_RIGHT), ///< Auro-222 setup channel mask
+ SETUP_AURO_8 = (SETUP_AURO_222 | HEIGHT_BACK_LEFT | HEIGHT_BACK_RIGHT), ///< Auro-8 setup channel mask
+ SETUP_AURO_9 = (SETUP_AURO_8 | FRONT_CENTER), ///< Auro-9.0 setup channel mask
+ SETUP_AURO_9POINT1 = (SETUP_AURO_9 | LOW_FREQUENCY), ///< Auro-9.1 setup channel mask
+ SETUP_AURO_10 = (SETUP_AURO_9 | TOP), ///< Auro-10.0 setup channel mask
+ SETUP_AURO_10POINT1 = (SETUP_AURO_10 | LOW_FREQUENCY), ///< Auro-10.1 setup channel mask
+ SETUP_AURO_11 = (SETUP_AURO_10 | HEIGHT_FRONT_CENTER), ///< Auro-11.0 setup channel mask
+ SETUP_AURO_11POINT1 = (SETUP_AURO_11 | LOW_FREQUENCY), ///< Auro-11.1 setup channel mask
+ SETUP_AURO_11_740 = (SETUP_7 | SETUP_HEIGHT_4), ///< Auro-11.0 (7+4) setup channel mask
+ SETUP_AURO_11POINT1_740 = (SETUP_AURO_11_740 | LOW_FREQUENCY), ///< Auro-11.1 (7+4) setup channel mask
+ SETUP_AURO_13_751 = (SETUP_7 | SETUP_HEIGHT_5 | TOP), ///< Auro-13.0 setup channel mask
+ SETUP_AURO_13POINT1_751 = (SETUP_AURO_13_751 | LOW_FREQUENCY), ///< Auro-13.1 setup channel mask
+
+ // Dolby speaker setups: in Dolby nomenclature, [#plane].[lfe].[#height]
+ SETUP_DOLBY_5_0_2 = (SETUP_5 | HEIGHT_FRONT_LEFT | HEIGHT_FRONT_RIGHT), ///< Dolby 5.0.2 setup channel mask
+ SETUP_DOLBY_5_1_2 = (SETUP_DOLBY_5_0_2 | LOW_FREQUENCY), ///< Dolby 5.1.2 setup channel mask
+ SETUP_DOLBY_6_0_2 = (SETUP_6 | HEIGHT_FRONT_LEFT | HEIGHT_FRONT_RIGHT), ///< Dolby 6.0.2 setup channel mask
+ SETUP_DOLBY_6_1_2 = (SETUP_DOLBY_6_0_2 | LOW_FREQUENCY), ///< Dolby 6.1.2 setup channel mask
+ SETUP_DOLBY_6_0_4 = (SETUP_DOLBY_6_0_2 | HEIGHT_BACK_LEFT | HEIGHT_BACK_RIGHT), ///< Dolby 6.0.4 setup channel mask
+ SETUP_DOLBY_6_1_4 = (SETUP_DOLBY_6_0_4 | LOW_FREQUENCY), ///< Dolby 6.1.4 setup channel mask
+ SETUP_DOLBY_7_0_2 = (SETUP_7 | HEIGHT_FRONT_LEFT | HEIGHT_FRONT_RIGHT), ///< Dolby 7.0.2 setup channel mask
+ SETUP_DOLBY_7_1_2 = (SETUP_DOLBY_7_0_2 | LOW_FREQUENCY), ///< Dolby 7.1.2 setup channel mask
+ SETUP_DOLBY_7_0_4 = (SETUP_DOLBY_7_0_2 | HEIGHT_BACK_LEFT | HEIGHT_BACK_RIGHT), ///< Dolby 7.0.4 setup channel mask
+ SETUP_DOLBY_7_1_4 = (SETUP_DOLBY_7_0_4 | LOW_FREQUENCY), ///< Dolby 7.1.4 setup channel mask
+
+ SETUP_ALL_SPEAKERS = (SETUP_7POINT1 | BACK_CENTER | SETUP_HEIGHT_ALL | TOP), ///< All speakers.
+ };
+
+ [UnityEngine.Tooltip("A bit field, whose channel identifiers depend on AkChannelConfigType (up to 20).")]
+ [AkEnumFlag(typeof(ChannelMask))]
+ public ChannelMask m_ChannelMask = ChannelMask.NONE;
+
+ [UnityEngine.Tooltip("The number of channels, identified (deduced from channel mask) or anonymous (set directly).")]
+ public uint m_NumberOfChannels = 0;
+
+ public void CopyTo(AkChannelConfig config)
+ {
+ switch (m_ChannelConfigType)
+ {
+ case ChannelConfigType.Anonymous:
+ config.SetAnonymous(m_NumberOfChannels);
+ break;
+
+ case ChannelConfigType.Standard:
+ config.SetStandard((uint)m_ChannelMask);
+ break;
+
+ case ChannelConfigType.Ambisonic:
+ config.SetAmbisonic(m_NumberOfChannels);
+ break;
+ }
+ }
+ }
+
+ [UnityEngine.Tooltip("Channel configuration for this output. Hardware might not support the selected configuration.")]
+ public ChannelConfiguration m_ChannelConfig = new ChannelConfiguration();
+
+ public void CopyTo(AkOutputSettings settings)
+ {
+ settings.audioDeviceShareset = string.IsNullOrEmpty(m_AudioDeviceShareset) ? AkSoundEngine.AK_INVALID_UNIQUE_ID : AkUtilities.ShortIDGenerator.Compute(m_AudioDeviceShareset);
+ settings.idDevice = m_DeviceID;
+ settings.ePanningRule = (AkPanningRule)m_PanningRule;
+ m_ChannelConfig.CopyTo(settings.channelConfig);
+ }
+}
+
+[System.Serializable]
+public partial class AkCommonUserSettings
+{
+ [UnityEngine.Tooltip("Path for the SoundBanks. This must contain one sub folder per platform, with the same as in the Wwise project.")]
+ public string m_BasePath = AkBasePathGetter.DefaultBasePath;
+
+ [UnityEngine.Tooltip("Language sub-folder used at startup.")]
+ public string m_StartupLanguage = "English(US)";
+
+ [UnityEngine.Tooltip("Enable Wwise engine logging. This is used to turn on/off the logging of the Wwise engine.")]
+ public bool m_EngineLogging = AkCallbackManager.InitializationSettings.DefaultIsLoggingEnabled;
+
+ [UnityEngine.Tooltip("Maximum number of automation paths for positioning sounds.")]
+ public uint m_MaximumNumberOfPositioningPaths = 255;
+
+ [UnityEngine.Tooltip("Size of the command queue.")]
+ public uint m_CommandQueueSize = 256 * 1024;
+
+ [UnityEngine.Tooltip("Number of samples per audio frame (256, 512, 1024, or 2048).")]
+ public uint m_SamplesPerFrame = 1024;
+
+ [UnityEngine.Tooltip("Main output device settings.")]
+ public AkCommonOutputSettings m_MainOutputSettings;
+
+ protected static string GetPluginPath()
+ {
+#if UNITY_EDITOR_WIN
+ return System.IO.Path.Combine(UnityEngine.Application.dataPath, @"Wwise\Deployment\Plugins\Windows\x86_64\DSP");
+#elif UNITY_EDITOR_OSX
+ return System.IO.Path.Combine(UnityEngine.Application.dataPath, @"Wwise/Deployment/Plugins/Mac/DSP");
+#elif UNITY_STANDALONE_WIN
+ string potentialPath = System.IO.Path.Combine(UnityEngine.Application.dataPath, "Plugins" + System.IO.Path.DirectorySeparatorChar);
+ string architectureName = "x86";
+#if UNITY_64
+ architectureName += "_64";
+#endif
+ if(System.IO.File.Exists(System.IO.Path.Combine(potentialPath, "AkSoundEngine.dll")))
+ {
+ return potentialPath;
+ }
+ else if(System.IO.File.Exists(System.IO.Path.Combine(potentialPath, architectureName, "AkSoundEngine.dll")))
+ {
+ return System.IO.Path.Combine(potentialPath, architectureName);
+ }
+ else
+ {
+ UnityEngine.Debug.Log("Cannot find Wwise plugin path");
+ return null;
+ }
+#elif UNITY_ANDROID || UNITY_WSA
+ return null;
+#elif PLATFORM_LUMIN
+ var dataPath = UnityEngine.Application.dataPath;
+ var find = "Data";
+ var index = dataPath.LastIndexOf(find);
+ return index == -1 ? dataPath : dataPath.Remove(index, find.Length).Insert(index, "bin");
+#elif UNITY_STADIA
+ return System.IO.Path.Combine(UnityEngine.Application.dataPath, ".." + System.IO.Path.DirectorySeparatorChar);
+#else
+ return System.IO.Path.Combine(UnityEngine.Application.dataPath, "Plugins" + System.IO.Path.DirectorySeparatorChar);
+#endif
+ }
+
+ public virtual void CopyTo(AkInitSettings settings)
+ {
+ settings.uMaxNumPaths = m_MaximumNumberOfPositioningPaths;
+ settings.uCommandQueueSize = m_CommandQueueSize;
+ settings.uNumSamplesPerFrame = m_SamplesPerFrame;
+ m_MainOutputSettings.CopyTo(settings.settingsMainOutput);
+ settings.szPluginDLLPath = GetPluginPath();
+ UnityEngine.Debug.Log("WwiseUnity: Setting Plugin DLL path to: " + (settings.szPluginDLLPath == null ? "NULL" : settings.szPluginDLLPath));
+ }
+
+ [UnityEngine.Tooltip("Multiplication factor for all streaming look-ahead heuristic values.")]
+ [UnityEngine.Range(0, 1)]
+ public float m_StreamingLookAheadRatio = 1.0f;
+
+ public void CopyTo(AkMusicSettings settings)
+ {
+ settings.fStreamingLookAheadRatio = m_StreamingLookAheadRatio;
+ }
+
+ public void CopyTo(AkStreamMgrSettings settings)
+ {
+ }
+
+ public virtual void CopyTo(AkDeviceSettings settings) { }
+
+ [UnityEngine.Tooltip("Sampling Rate. Default is 48000 Hz. Use 24000hz for low quality. Any positive reasonable sample rate is supported; however, be careful setting a custom value. Using an odd or really low sample rate may cause the sound engine to malfunction.")]
+ public uint m_SampleRate = 48000;
+
+ [UnityEngine.Tooltip("Number of refill buffers in voice buffer. Set to 2 for double-buffered, defaults to 4.")]
+ public ushort m_NumberOfRefillsInVoice = 4;
+
+ partial void SetSampleRate(AkPlatformInitSettings settings);
+
+ public virtual void CopyTo(AkPlatformInitSettings settings)
+ {
+ SetSampleRate(settings);
+ settings.uNumRefillsInVoice = m_NumberOfRefillsInVoice;
+ }
+
+ [System.Serializable]
+ public class SpatialAudioSettings
+ {
+ [UnityEngine.Tooltip("Maximum number of portals that sound can propagate through.")]
+ [UnityEngine.Range(0, AkSoundEngine.AK_MAX_SOUND_PROPAGATION_DEPTH)]
+ public uint m_MaxSoundPropagationDepth = AkSoundEngine.AK_MAX_SOUND_PROPAGATION_DEPTH;
+
+ public enum DiffractionFlags
+ {
+ UseBuiltInParam = 1 << 0,
+ UseObstruction = 1 << 1,
+ CalcEmitterVirtualPosition = 1 << 3,
+ }
+
+ [UnityEngine.Tooltip("Determines whether diffraction values for sound passing through portals will be calculated, and how to apply those calculations to Wwise parameters.")]
+ [AkEnumFlag(typeof(DiffractionFlags))]
+ public DiffractionFlags m_DiffractionFlags = (DiffractionFlags)~0;
+
+ [UnityEngine.Tooltip("Distance (in game units) that an emitter or listener has to move to trigger a recalculation of reflections/diffraction. Larger values can reduce the CPU load at the cost of reduced accuracy.")]
+ public float m_MovementThreshold = 1.0f;
+
+ [UnityEngine.Tooltip("The number of primary rays used in stochastic ray casting.")]
+ /// The number of primary rays used in stochastic ray casting.
+ public uint m_NumberOfPrimaryRays = 100;
+
+ [UnityEngine.Range(0, 4)]
+ [UnityEngine.Tooltip("The maximum number of reflections that will be processed for a sound path before it reaches the listener.")]
+ [UnityEngine.Serialization.FormerlySerializedAs("m_ReflectionsOrder")]
+ /// The maximum number of reflections that will be processed for a sound path before it reaches the listener.
+ /// Valid range: 1-4.
+ public uint m_MaxReflectionOrder = 1;
+
+ [UnityEngine.Tooltip("Length of the rays that are cast inside Spatial Audio. Effectively caps the maximum length of an individual segment in a reflection or diffraction path.")]
+ /// Length of the rays that are cast inside Spatial Audio. Effectively caps the maximum length of an individual segment in a reflection or diffraction path.
+ public float m_MaxPathLength = 10000.0f;
+
+ [UnityEngine.Tooltip("Enable computation of diffraction along reflection paths.")]
+ [UnityEngine.Serialization.FormerlySerializedAs("m_EnableDiffraction")]
+ /// Enable computation of diffraction along reflection paths.
+ public bool m_EnableDiffractionOnReflections = true;
+
+ [UnityEngine.Tooltip("Enable direct path diffraction. Diffraction must be enabled for a source in the authoring tool positioning tab.")]
+ /// Enable direct path diffraction.
+ public bool m_EnableDirectPathDiffraction = true;
+
+ [UnityEngine.Tooltip("Enable modeling of transmission of sound through walls.")]
+ /// Enable modeling of transmission of sound through walls.
+ public bool m_EnableTransmission = true;
+ }
+
+ [UnityEngine.Tooltip("Spatial audio common settings.")]
+ public SpatialAudioSettings m_SpatialAudioSettings;
+
+ public virtual void CopyTo(AkSpatialAudioInitSettings settings)
+ {
+ settings.uMaxSoundPropagationDepth = m_SpatialAudioSettings.m_MaxSoundPropagationDepth;
+ settings.uDiffractionFlags = (uint)m_SpatialAudioSettings.m_DiffractionFlags;
+ settings.fMovementThreshold = m_SpatialAudioSettings.m_MovementThreshold;
+ settings.uNumberOfPrimaryRays = m_SpatialAudioSettings.m_NumberOfPrimaryRays;
+ settings.uMaxReflectionOrder = m_SpatialAudioSettings.m_MaxReflectionOrder;
+ settings.fMaxPathLength = m_SpatialAudioSettings.m_MaxPathLength;
+ settings.bEnableDiffractionOnReflection = m_SpatialAudioSettings.m_EnableDiffractionOnReflections;
+ settings.bEnableDirectPathDiffraction = m_SpatialAudioSettings.m_EnableDirectPathDiffraction;
+ settings.bEnableTransmission = m_SpatialAudioSettings.m_EnableTransmission;
+ }
+
+ public virtual void CopyTo(AkUnityPlatformSpecificSettings settings) { }
+
+ public virtual void Validate()
+ {
+ if (m_SpatialAudioSettings.m_MovementThreshold < 0.0f)
+ {
+ m_SpatialAudioSettings.m_MovementThreshold = 0.0f;
+ }
+
+ if (m_SpatialAudioSettings.m_MaxPathLength < 0.0f)
+ {
+ m_SpatialAudioSettings.m_MaxPathLength = 0.0f;
+ }
+ }
+}
+
+[System.Serializable]
+public class AkCommonAdvancedSettings
+{
+ [UnityEngine.Tooltip("Size of memory pool for I/O (for automatic streams). It is passed directly to AK::MemoryMgr::CreatePool(), after having been rounded down to a multiple of uGranularity.")]
+ public uint m_IOMemorySize = 2 * 1024 * 1024;
+
+ [UnityEngine.Tooltip("Targeted automatic stream buffer length (ms). When a stream reaches that buffering, it stops being scheduled for I/O except if the scheduler is idle.")]
+ public float m_TargetAutoStreamBufferLengthMs = 380.0f;
+
+ [UnityEngine.Tooltip("If true the device attempts to reuse IO buffers that have already been streamed from disk. This is particularly useful when streaming small looping sounds. The drawback is a small CPU hit when allocating memory, and a slightly larger memory footprint in the StreamManager pool.")]
+ public bool m_UseStreamCache = false;
+
+ [UnityEngine.Tooltip("Maximum number of bytes that can be \"pinned\" using AK::SoundEngine::PinEventInStreamCache() or AK::IAkStreamMgr::PinFileInCache()")]
+ public uint m_MaximumPinnedBytesInCache = unchecked((uint)(-1));
+
+ public virtual void CopyTo(AkDeviceSettings settings)
+ {
+ settings.uIOMemorySize = m_IOMemorySize;
+ settings.fTargetAutoStmBufferLength = m_TargetAutoStreamBufferLengthMs;
+ settings.bUseStreamCache = m_UseStreamCache;
+ settings.uMaxCachePinnedBytes = m_MaximumPinnedBytesInCache;
+ }
+
+ [UnityEngine.Tooltip("Set to true to enable AK::SoundEngine::PrepareGameSync usage.")]
+ public bool m_EnableGameSyncPreparation = false;
+
+ [UnityEngine.Tooltip("Number of quanta ahead when continuous containers should instantiate a new voice before which next sounds should start playing. This look-ahead time allows I/O to occur, and is especially useful to reduce the latency of continuous containers with trigger rate or sample-accurate transitions.")]
+ public uint m_ContinuousPlaybackLookAhead = 1;
+
+ [UnityEngine.Tooltip("Size of the monitoring queue pool. This parameter is not used in Release build.")]
+ public uint m_MonitorQueuePoolSize = 64 * 1024;
+
+ [UnityEngine.Tooltip("Amount of time to wait for hardware devices to trigger an audio interrupt. If there is no interrupt after that time, the sound engine will revert to silent mode and continue operating until the hardware finally comes back.")]
+ public uint m_MaximumHardwareTimeoutMs = 1000;
+
+ [UnityEngine.Tooltip("Debug setting: Enable checks for out-of-range (and NAN) floats in the processing code. Do not enable in any normal usage, this setting uses a lot of CPU. Will print error messages in the log if invalid values are found at various point in the pipeline. Contact AK Support with the new error messages for more information.")]
+ public bool m_DebugOutOfRangeCheckEnabled = false;
+
+ [UnityEngine.Tooltip("Debug setting: Only used when bDebugOutOfRangeCheckEnabled is true. This defines the maximum values samples can have. Normal audio must be contained within +1/-1. This limit should be set higher to allow temporary or short excursions out of range. Default is 16.")]
+ public float m_DebugOutOfRangeLimit = 16.0f;
+
+ public virtual void CopyTo(AkInitSettings settings)
+ {
+ settings.bEnableGameSyncPreparation = m_EnableGameSyncPreparation;
+ settings.uContinuousPlaybackLookAhead = m_ContinuousPlaybackLookAhead;
+ settings.uMonitorQueuePoolSize = m_MonitorQueuePoolSize;
+ settings.uMaxHardwareTimeoutMs = m_MaximumHardwareTimeoutMs;
+ settings.bDebugOutOfRangeCheckEnabled = m_DebugOutOfRangeCheckEnabled;
+ settings.fDebugOutOfRangeLimit = m_DebugOutOfRangeLimit;
+ }
+
+ public virtual void CopyTo(AkPlatformInitSettings settings) { }
+
+ [System.Serializable]
+ public class SpatialAudioSettings
+ {
+ [UnityEngine.Tooltip("Multiplier that is applied to the distance attenuation of diffracted sounds (sounds that are in the 'shadow region') to simulate the phenomenon where by diffracted sound waves decay faster than incident sound waves.")]
+ [UnityEngine.Range(1.0f, 3.0f)]
+ public float m_DiffractionShadowAttenuationFactor = 1.0f;
+
+ [UnityEngine.Tooltip("Interpolation angle, in degrees, over which the \"Diffraction Shadow Attenuation Factor\" is applied.")]
+ [UnityEngine.Range(0.1f, 180.0f)]
+ public float m_DiffractionShadowDegrees = 30.0f;
+ }
+
+ [UnityEngine.Tooltip("Spatial audio advanced settings.")]
+ public SpatialAudioSettings m_SpatialAudioSettings;
+
+ public virtual void CopyTo(AkSpatialAudioInitSettings settings)
+ {
+ settings.fDiffractionShadowAttenFactor = m_SpatialAudioSettings.m_DiffractionShadowAttenuationFactor;
+ settings.fDiffractionShadowDegrees = m_SpatialAudioSettings.m_DiffractionShadowDegrees;
+ }
+
+ public virtual void CopyTo(AkUnityPlatformSpecificSettings settings) { }
+
+ [UnityEngine.Tooltip("The state of the \"in_bRenderAnyway\" argument passed to the AkSoundEngine.Suspend() function when the \"OnApplicationFocus\" Unity callback is received with \"false\" as its argument.")]
+ public bool m_RenderDuringFocusLoss;
+
+ [UnityEngine.Tooltip("Sets the sub-folder underneath UnityEngine.Application.persistentDataPath that will be used as the SoundBank base path. This is useful when the Init.bnk needs to be downloaded. Setting this to an empty string uses the typical SoundBank base path resolution. Setting this to \".\" uses UnityEngine.Application.persistentDataPath.")]
+ public string m_SoundBankPersistentDataPath;
+
+ [UnityEngine.Tooltip("Use Async Open in the low-level IO hook.")]
+ public bool m_UseAsyncOpen = false;
+
+ public virtual void Validate()
+ {
+ if (m_SpatialAudioSettings.m_DiffractionShadowAttenuationFactor <= 0.0f)
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: m_SpatialAudioSettings.m_DiffractionShadowAttenuationFactor must be greater than zero. Value was reset to the default (2.0)");
+ m_SpatialAudioSettings.m_DiffractionShadowAttenuationFactor = 1.0f;
+ }
+
+ if (m_SpatialAudioSettings.m_DiffractionShadowDegrees <= 0.0f)
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: m_SpatialAudioSettings.m_DiffractionShadowDegrees must be greater than zero. Value was reset to the default (30.0)");
+ m_SpatialAudioSettings.m_DiffractionShadowDegrees = 30.0f;
+ }
+ }
+}
+
+[System.Serializable]
+public class AkCommonCommSettings
+{
+ [UnityEngine.Tooltip("Size of the communication pool.")]
+ public uint m_PoolSize = 256 * 1024;
+
+ public static ushort DefaultDiscoveryBroadcastPort = 24024;
+
+ [UnityEngine.Tooltip("The port where the authoring application broadcasts \"Game Discovery\" requests to discover games running on the network. Default value: 24024. (Cannot be set to 0)")]
+ public ushort m_DiscoveryBroadcastPort = DefaultDiscoveryBroadcastPort;
+
+ [UnityEngine.Tooltip("The \"command\" channel port. Set to 0 to request a dynamic/ephemeral port.")]
+ public ushort m_CommandPort;
+
+ [UnityEngine.Tooltip("The \"notification\" channel port. Set to 0 to request a dynamic/ephemeral port.")]
+ public ushort m_NotificationPort;
+
+ [UnityEngine.Tooltip("Indicates whether the communication system should be initialized. Some consoles have critical requirements for initialization of their communications system. Set to false only if your game already uses sockets before sound engine initialization.")]
+ public bool m_InitializeSystemComms = true;
+
+ [UnityEngine.Tooltip("The name used to identify this game within the authoring application. Leave empty to use \"UnityEngine.Application.productName\".")]
+ public string m_NetworkName;
+
+ [UnityEngine.Tooltip("HTCS communication can only be used with a Nintendo Switch Development Build")]
+ public AkCommunicationSettings.AkCommSystem m_commSystem = AkCommunicationSettings.AkCommSystem.AkCommSystem_Socket;
+
+ public virtual void CopyTo(AkCommunicationSettings settings)
+ {
+ settings.uPoolSize = m_PoolSize;
+ settings.uDiscoveryBroadcastPort = m_DiscoveryBroadcastPort;
+ settings.uCommandPort = m_CommandPort;
+ settings.uNotificationPort = m_NotificationPort;
+ settings.bInitSystemLib = m_InitializeSystemComms;
+ settings.commSystem = m_commSystem;
+
+ string networkName = m_NetworkName;
+ if (string.IsNullOrEmpty(networkName))
+ networkName = UnityEngine.Application.productName;
+
+#if UNITY_EDITOR
+ networkName += " (Editor)";
+#endif
+
+ settings.szAppNetworkName = networkName;
+ }
+
+ public virtual void Validate() { }
+}
+
+public abstract class AkCommonPlatformSettings : AkBasePlatformSettings
+{
+ protected abstract AkCommonUserSettings GetUserSettings();
+
+ protected abstract AkCommonAdvancedSettings GetAdvancedSettings();
+
+ protected abstract AkCommonCommSettings GetCommsSettings();
+
+ public override AkInitializationSettings AkInitializationSettings
+ {
+ get
+ {
+ var settings = base.AkInitializationSettings;
+ var userSettings = GetUserSettings();
+ userSettings.CopyTo(settings.deviceSettings);
+ userSettings.CopyTo(settings.streamMgrSettings);
+ userSettings.CopyTo(settings.initSettings);
+ userSettings.CopyTo(settings.platformSettings);
+ userSettings.CopyTo(settings.musicSettings);
+ userSettings.CopyTo(settings.unityPlatformSpecificSettings);
+
+ var advancedSettings = GetAdvancedSettings();
+ advancedSettings.CopyTo(settings.deviceSettings);
+ advancedSettings.CopyTo(settings.initSettings);
+ advancedSettings.CopyTo(settings.platformSettings);
+ advancedSettings.CopyTo(settings.unityPlatformSpecificSettings);
+
+ settings.useAsyncOpen = advancedSettings.m_UseAsyncOpen;
+
+ return settings;
+ }
+ }
+
+ public override AkSpatialAudioInitSettings AkSpatialAudioInitSettings
+ {
+ get
+ {
+ var settings = base.AkSpatialAudioInitSettings;
+ GetUserSettings().CopyTo(settings);
+ GetAdvancedSettings().CopyTo(settings);
+ return settings;
+ }
+ }
+
+ public override AkCallbackManager.InitializationSettings CallbackManagerInitializationSettings
+ {
+ get
+ {
+ return new AkCallbackManager.InitializationSettings { IsLoggingEnabled = GetUserSettings().m_EngineLogging };
+ }
+ }
+
+ public override string InitialLanguage
+ {
+ get { return GetUserSettings().m_StartupLanguage; }
+ }
+
+ public override string SoundBankPersistentDataPath
+ {
+ get { return GetAdvancedSettings().m_SoundBankPersistentDataPath; }
+ }
+
+ public override bool RenderDuringFocusLoss
+ {
+ get { return GetAdvancedSettings().m_RenderDuringFocusLoss; }
+ }
+
+ public override string SoundbankPath
+ {
+ get { return GetUserSettings().m_BasePath; }
+ }
+
+ public override bool UseAsyncOpen
+ {
+ get { return GetAdvancedSettings().m_UseAsyncOpen; }
+ }
+
+ public override AkCommunicationSettings AkCommunicationSettings
+ {
+ get
+ {
+ var settings = base.AkCommunicationSettings;
+ GetCommsSettings().CopyTo(settings);
+ return settings;
+ }
+ }
+
+#region parameter validation
+#if UNITY_EDITOR
+ void OnValidate()
+ {
+ GetUserSettings().Validate();
+ GetAdvancedSettings().Validate();
+ GetCommsSettings().Validate();
+ }
+#endif
+#endregion
+}
+
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkCommonPlatformSettings.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkCommonPlatformSettings.cs.meta
new file mode 100644
index 000000000..492e36940
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkCommonPlatformSettings.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: def3896dc7e1e2740997389b0157b447
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkEnumFlagAttribute.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkEnumFlagAttribute.cs
new file mode 100644
index 000000000..8d2f2e2d6
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkEnumFlagAttribute.cs
@@ -0,0 +1,24 @@
+[System.AttributeUsage(System.AttributeTargets.Field, Inherited = true)]
+public class AkEnumFlagAttribute : UnityEngine.PropertyAttribute
+{
+ public System.Type Type;
+
+ public AkEnumFlagAttribute(System.Type type)
+ {
+ Type = type;
+ }
+
+#if UNITY_EDITOR
+ [UnityEditor.CustomPropertyDrawer(typeof(AkEnumFlagAttribute))]
+ public class PropertyDrawer : UnityEditor.PropertyDrawer
+ {
+ public override void OnGUI(UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label)
+ {
+ UnityEditor.EditorGUI.BeginProperty(position, label, property);
+ var flagAttribute = (AkEnumFlagAttribute)attribute;
+ property.longValue = UnityEditor.EditorGUI.EnumFlagsField(position, new UnityEngine.GUIContent(label.text, AkUtilities.GetTooltip(property)), (System.Enum)System.Enum.ToObject(flagAttribute.Type, property.longValue)).GetHashCode();
+ UnityEditor.EditorGUI.EndProperty();
+ }
+ }
+#endif
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkEnumFlagAttribute.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkEnumFlagAttribute.cs.meta
new file mode 100644
index 000000000..6feb79b13
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkEnumFlagAttribute.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e8fb86fce0896964ea74043208ef2552
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkLogger.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkLogger.cs
new file mode 100644
index 000000000..fd8469689
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkLogger.cs
@@ -0,0 +1,67 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2017 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+
+public class AkLogger
+{
+ // @todo sjl: Have SWIG specify the delegate's signature (possibly in AkSoundEngine) so that we can automatically determine the appropriate string marshaling.
+ [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]
+ public delegate void ErrorLoggerInteropDelegate(
+ [System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPStr)]
+ string message);
+
+ private static AkLogger ms_Instance = new AkLogger();
+ private ErrorLoggerInteropDelegate errorLoggerDelegate = WwiseInternalLogError;
+
+ private AkLogger()
+ {
+ if (ms_Instance == null)
+ {
+ ms_Instance = this;
+ AkSoundEngine.SetErrorLogger(errorLoggerDelegate);
+ }
+ }
+
+ public static AkLogger Instance { get { return ms_Instance; } }
+
+ ~AkLogger()
+ {
+ if (ms_Instance == this)
+ {
+ ms_Instance = null;
+ errorLoggerDelegate = null;
+ AkSoundEngine.SetErrorLogger();
+ }
+ }
+
+ public void Init()
+ {
+ // used to force instantiation of this singleton
+ }
+
+ [AOT.MonoPInvokeCallback(typeof(ErrorLoggerInteropDelegate))]
+ public static void WwiseInternalLogError(string message)
+ {
+ UnityEngine.Debug.LogErrorFormat("Wwise: {0}", message);
+ }
+
+ public static void Message(string message)
+ {
+ UnityEngine.Debug.LogFormat("WwiseUnity: {0}", message);
+ }
+
+ public static void Warning(string message)
+ {
+ UnityEngine.Debug.LogWarningFormat("WwiseUnity: {0}", message);
+ }
+
+ public static void Error(string message)
+ {
+ UnityEngine.Debug.LogErrorFormat("WwiseUnity: {0}", message);
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkLogger.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkLogger.cs.meta
new file mode 100644
index 000000000..dbd901f94
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkLogger.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 0df9150c992261642a97258fcce19236
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkRoomAwareManager.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkRoomAwareManager.cs
new file mode 100644
index 000000000..42bf7fd1b
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkRoomAwareManager.cs
@@ -0,0 +1,84 @@
+#if !(UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2019 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief This manager tracks the AkRoomAwareObjects and the AkRooms in which they enter and exit.
+/// @details At the end of the frame, the AkRoomAwareObject is set in the highest priority AkRoom in Spatial Audio.
+public static class AkRoomAwareManager
+{
+ private static readonly System.Collections.Generic.HashSet m_RoomAwareObjects =
+ new System.Collections.Generic.HashSet();
+
+ private static readonly System.Collections.Generic.HashSet m_RoomAwareObjectToUpdate =
+ new System.Collections.Generic.HashSet();
+
+ public static void RegisterRoomAwareObject(AkRoomAwareObject roomAwareObject)
+ {
+ m_RoomAwareObjects.Add(roomAwareObject);
+ RegisterRoomAwareObjectForUpdate(roomAwareObject);
+ }
+
+ public static void UnregisterRoomAwareObject(AkRoomAwareObject roomAwareObject)
+ {
+ m_RoomAwareObjects.Remove(roomAwareObject);
+ m_RoomAwareObjectToUpdate.Remove(roomAwareObject);
+ }
+
+ public static void RegisterRoomAwareObjectForUpdate(AkRoomAwareObject roomAwareObject)
+ {
+ m_RoomAwareObjectToUpdate.Add(roomAwareObject);
+ }
+
+ public static void ObjectEnteredRoom(UnityEngine.Collider collider, AkRoom room)
+ {
+ if (!collider)
+ return;
+
+ ObjectEnteredRoom(AkRoomAwareObject.GetAkRoomAwareObjectFromCollider(collider), room);
+ }
+
+ public static void ObjectEnteredRoom(AkRoomAwareObject roomAwareObject, AkRoom room)
+ {
+ if (!roomAwareObject || !room)
+ return;
+
+ var enteredRoom = room.TryEnter(roomAwareObject);
+ if (enteredRoom)
+ {
+ roomAwareObject.EnteredRoom(room);
+ RegisterRoomAwareObjectForUpdate(roomAwareObject);
+ }
+ }
+
+ public static void ObjectExitedRoom(UnityEngine.Collider collider, AkRoom room)
+ {
+ if (!collider)
+ return;
+
+ ObjectExitedRoom(AkRoomAwareObject.GetAkRoomAwareObjectFromCollider(collider), room);
+ }
+
+ public static void ObjectExitedRoom(AkRoomAwareObject roomAwareObject, AkRoom room)
+ {
+ if (!roomAwareObject || !room)
+ return;
+
+ room.Exit(roomAwareObject);
+ roomAwareObject.ExitedRoom(room);
+ RegisterRoomAwareObjectForUpdate(roomAwareObject);
+ }
+
+ public static void UpdateRoomAwareObjects()
+ {
+ foreach (var roomAwareObject in m_RoomAwareObjectToUpdate)
+ {
+ if (m_RoomAwareObjects.Contains(roomAwareObject))
+ roomAwareObject.SetGameObjectInHighestPriorityActiveAndEnabledRoom();
+ }
+ m_RoomAwareObjectToUpdate.Clear();
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkRoomAwareManager.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkRoomAwareManager.cs.meta
new file mode 100644
index 000000000..3d3438569
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkRoomAwareManager.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: d3c52d743bfd79542bb7ecb39d0f02d6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkRoomManager.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkRoomManager.cs
new file mode 100644
index 000000000..956ac6a9a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkRoomManager.cs
@@ -0,0 +1,138 @@
+#if !(UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2019 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief This manager tracks AkRoomPortals and the rooms that they connect (front and back room).
+/// @details At the end of the frame, the AkRoomPortals which rooms might have changed are updated and sent to Spatial Audio.
+public class AkRoomManager
+{
+ private readonly System.Collections.Generic.List m_Portals =
+ new System.Collections.Generic.List();
+
+ private readonly System.Collections.Generic.List m_PortalsToUpdate =
+ new System.Collections.Generic.List();
+
+ private readonly System.Collections.Generic.List m_Reflectors =
+ new System.Collections.Generic.List();
+
+ private readonly System.Collections.Generic.List m_ReflectorsToUpdate =
+ new System.Collections.Generic.List();
+
+ private static AkRoomManager m_Instance;
+
+ public static void Init()
+ {
+ if (m_Instance == null)
+ m_Instance = new AkRoomManager();
+ }
+
+ public static void Terminate()
+ {
+ if (m_Instance != null)
+ m_Instance = null;
+ }
+
+ public static void RegisterPortal(AkRoomPortal portal)
+ {
+ if (m_Instance != null)
+ {
+ if (!m_Instance.m_Portals.Contains(portal))
+ {
+ m_Instance.m_Portals.Add(portal);
+ }
+ if (!m_Instance.m_PortalsToUpdate.Contains(portal))
+ {
+ m_Instance.m_PortalsToUpdate.Add(portal);
+ }
+ }
+ }
+
+ public static void UnregisterPortal(AkRoomPortal portal)
+ {
+ if (m_Instance != null)
+ {
+ m_Instance.m_Portals.Remove(portal);
+ m_Instance.m_PortalsToUpdate.Remove(portal);
+ }
+ }
+
+ public static void RegisterReflector(AkSurfaceReflector reflector)
+ {
+ if (m_Instance != null)
+ {
+ if (!m_Instance.m_Reflectors.Contains(reflector))
+ {
+ m_Instance.m_Reflectors.Add(reflector);
+ }
+ if (!m_Instance.m_ReflectorsToUpdate.Contains(reflector))
+ {
+ m_Instance.m_ReflectorsToUpdate.Add(reflector);
+ }
+ }
+ }
+
+ public static void UnregisterReflector(AkSurfaceReflector reflector)
+ {
+ if (m_Instance != null)
+ {
+ m_Instance.m_Reflectors.Remove(reflector);
+ m_Instance.m_ReflectorsToUpdate.Remove(reflector);
+ }
+ }
+
+ public static void RegisterPortalUpdate(AkRoomPortal portal)
+ {
+ if (m_Instance != null)
+ {
+ if (m_Instance.m_Portals.Contains(portal) && !m_Instance.m_PortalsToUpdate.Contains(portal))
+ {
+ m_Instance.m_PortalsToUpdate.Add(portal);
+ }
+ }
+ }
+
+ public static void RegisterRoomUpdate(AkRoom room)
+ {
+ if (m_Instance != null)
+ {
+ for (var i = 0; i < m_Instance.m_Portals.Count; ++i)
+ {
+ var portal = m_Instance.m_Portals[i];
+ if (!m_Instance.m_PortalsToUpdate.Contains(portal) &&
+ (room == portal.frontRoom || room == portal.backRoom || portal.Overlaps(room)))
+ {
+ m_Instance.m_PortalsToUpdate.Add(portal);
+ }
+ }
+ for (var i = 0; i < m_Instance.m_Reflectors.Count; ++i)
+ {
+ var reflector = m_Instance.m_Reflectors[i];
+ if (!m_Instance.m_ReflectorsToUpdate.Contains(reflector) && (reflector.AssociatedRoom == room))
+ {
+ m_Instance.m_ReflectorsToUpdate.Add(reflector);
+ }
+ }
+ }
+ }
+
+ public static void Update()
+ {
+ if (m_Instance != null)
+ {
+ for (var i = 0; i < m_Instance.m_PortalsToUpdate.Count; ++i)
+ {
+ m_Instance.m_PortalsToUpdate[i].UpdateRoomPortal();
+ }
+ m_Instance.m_PortalsToUpdate.Clear();
+ for (var i = 0; i < m_Instance.m_ReflectorsToUpdate.Count; ++i)
+ {
+ m_Instance.m_ReflectorsToUpdate[i].UpdateGeometry();
+ }
+ m_Instance.m_ReflectorsToUpdate.Clear();
+ }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkRoomManager.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkRoomManager.cs.meta
new file mode 100644
index 000000000..4337264c4
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkRoomManager.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 51eafe2d43333b44fa24f74f1e8b1e97
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkShowOnlyAttribute.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkShowOnlyAttribute.cs
new file mode 100644
index 000000000..c1677239a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkShowOnlyAttribute.cs
@@ -0,0 +1,21 @@
+public class AkShowOnlyAttribute : UnityEngine.PropertyAttribute
+{
+#if UNITY_EDITOR
+ [UnityEditor.CustomPropertyDrawer(typeof(AkShowOnlyAttribute))]
+ public class PropertyDrawer : UnityEditor.PropertyDrawer
+ {
+ public override float GetPropertyHeight(UnityEditor.SerializedProperty property, UnityEngine.GUIContent label)
+ {
+ return UnityEditor.EditorGUI.GetPropertyHeight(property, label, true);
+ }
+
+ public override void OnGUI(UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label)
+ {
+ var saveEnabled = UnityEngine.GUI.enabled;
+ UnityEngine.GUI.enabled = false;
+ UnityEditor.EditorGUI.PropertyField(position, property, label, true);
+ UnityEngine.GUI.enabled = saveEnabled;
+ }
+ }
+#endif // #if UNITY_EDITOR
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkShowOnlyAttribute.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkShowOnlyAttribute.cs.meta
new file mode 100644
index 000000000..c9d91c3e0
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkShowOnlyAttribute.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 028d4a7de983f334aab9ce80b7d2af5d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkSoundEngine.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkSoundEngine.cs
new file mode 100644
index 000000000..8b3d6604b
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkSoundEngine.cs
@@ -0,0 +1,199 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2017 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Contains C# functions exposed from the Wwise C++ API.
+///
+/// The AkSoundEngine class contains functions converted to C# from the following C++ namespaces:
+/// - AK::Monitor
+/// - AK::MusicEngine
+/// - AK::SoundEngine
+/// - AK::SoundEngine::DynamicDialogue
+/// - AK::SoundEngine::Query
+/// - AK::SpatialAudio
+public partial class AkSoundEngine
+{
+ #region String Marshalling
+
+ ///
+ /// Converts "char*" C-strings to C# strings.
+ ///
+ /// "char*" memory pointer passed to C# as an IntPtr.
+ /// Converted string.
+ public static string StringFromIntPtrString(System.IntPtr ptr)
+ {
+ return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(ptr);
+ }
+
+ ///
+ /// Converts "wchar_t*" C-strings to C# strings.
+ ///
+ /// "wchar_t*" memory pointer passed to C# as an IntPtr.
+ /// Converted string.
+ public static string StringFromIntPtrWString(System.IntPtr ptr)
+ {
+ return System.Runtime.InteropServices.Marshal.PtrToStringUni(ptr);
+ }
+ #endregion
+
+ #region GameObject Hash Function
+
+ ///
+ /// The type for hash functions used to convert a Unity Game Object into an integer.
+ ///
+ /// The Unity Game Object.
+ /// The AkGameObjectID used by the sound engine.
+ public delegate ulong GameObjectHashFunction(UnityEngine.GameObject gameObject);
+
+ private static ulong InternalGameObjectHash(UnityEngine.GameObject gameObject)
+ {
+ return gameObject == null ? AK_INVALID_GAME_OBJECT : (ulong) gameObject.GetInstanceID();
+ }
+
+ ///
+ /// The user assignable hash function used to convert a Unity Game Object into an AkGameObjectID used by the sound
+ /// engine. Used by GetAkGameObjectID().
+ ///
+ public static GameObjectHashFunction GameObjectHash
+ {
+ set { gameObjectHash = value == null ? InternalGameObjectHash : value; }
+ }
+
+ private static GameObjectHashFunction gameObjectHash = InternalGameObjectHash;
+
+ ///
+ /// The hash function used to convert a Unity Game Object into an AkGameObjectID used by the sound engine.
+ ///
+ public static ulong GetAkGameObjectID(UnityEngine.GameObject gameObject)
+ {
+ return gameObjectHash(gameObject);
+ }
+
+ #endregion
+
+ #region Registration Functions
+
+ ///
+ /// Registers a Unity Game Object with an ID obtained from GetAkGameObjectID().
+ ///
+ /// The Unity Game Object.
+ ///
+ public static AKRESULT RegisterGameObj(UnityEngine.GameObject gameObject)
+ {
+ var id = GetAkGameObjectID(gameObject);
+ var res = (AKRESULT) AkSoundEnginePINVOKE.CSharp_RegisterGameObjInternal(id);
+ PostRegisterGameObjUserHook(res, gameObject, id);
+ return res;
+ }
+
+ ///
+ /// Registers a Unity Game Object with an ID obtained from GetAkGameObjectID().
+ ///
+ /// The Unity Game Object.
+ /// The name that is visible in the Wwise Profiler.
+ ///
+ public static AKRESULT RegisterGameObj(UnityEngine.GameObject gameObject, string name)
+ {
+ var id = GetAkGameObjectID(gameObject);
+ var res = (AKRESULT) AkSoundEnginePINVOKE.CSharp_RegisterGameObjInternal_WithName(id, name);
+ PostRegisterGameObjUserHook(res, gameObject, id);
+ return res;
+ }
+
+ ///
+ /// Unregisters a Unity Game Object with an ID obtained from GetAkGameObjectID().
+ ///
+ /// The Unity Game Object.
+ ///
+ public static AKRESULT UnregisterGameObj(UnityEngine.GameObject gameObject)
+ {
+ var id = GetAkGameObjectID(gameObject);
+ var res = (AKRESULT) AkSoundEnginePINVOKE.CSharp_UnregisterGameObjInternal(id);
+ PostUnregisterGameObjUserHook(res, gameObject, id);
+ return res;
+ }
+
+ #endregion
+
+ #region Helper Functions
+
+ public static string WwiseVersion
+ {
+ get
+ {
+ var majorMinor = GetMajorMinorVersion();
+ var subminorBuild = GetSubminorBuildVersion();
+ var major = majorMinor >> 16;
+ var minor = majorMinor & 0xFFFF;
+ var subMinor = subminorBuild >> 16;
+ var build = subminorBuild & 0xFFFF;
+ return string.Format("{0}.{1}.{2} Build {3}", major, minor, subMinor, build);
+ }
+ }
+
+ public static AKRESULT SetObjectPosition(UnityEngine.GameObject gameObject, UnityEngine.Transform transform)
+ {
+ var id = GetAkGameObjectID(gameObject);
+ return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetObjectPosition(id, transform.position, transform.forward, transform.up);
+ }
+
+ public static AKRESULT SetObjectPosition(UnityEngine.GameObject gameObject, float posX, float posY, float posZ,
+ float frontX, float frontY, float frontZ, float topX, float topY, float topZ)
+ {
+ var id = GetAkGameObjectID(gameObject);
+ var position = new UnityEngine.Vector3(posX, posY, posZ);
+ var forward = new UnityEngine.Vector3(frontX, frontY, frontZ);
+ var up = new UnityEngine.Vector3(topX, topY, topZ);
+ return (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetObjectPosition(id, position, forward, up);
+ }
+
+ #endregion
+
+ #region User Hooks
+
+ public static void PreGameObjectAPICall(UnityEngine.GameObject gameObject, ulong id)
+ {
+ PreGameObjectAPICallUserHook(gameObject, id);
+ }
+
+ ///
+ /// User hook called within all Wwise integration functions that receive GameObjects and do not perform
+ /// (un)registration. This is called
+ /// before values are sent to the native plugin code. An example use could be to register game objects that were not
+ /// previously registered.
+ ///
+ /// The GameObject being processed.
+ /// The ulong returned from GameObjectHash that represents this GameObject in Wwise.
+ static partial void PreGameObjectAPICallUserHook(UnityEngine.GameObject gameObject, ulong id);
+
+ ///
+ /// User hook called after RegisterGameObj(). An example use could be to add the id and gameObject to a dictionary upon
+ /// AK_Success.
+ ///
+ /// The result from calling RegisterGameObj() on gameObject.
+ /// The GameObject that RegisterGameObj() was called on.
+ /// The ulong returned from GameObjectHash that represents this GameObject in Wwise.
+ static partial void PostRegisterGameObjUserHook(AKRESULT result, UnityEngine.GameObject gameObject, ulong id);
+
+ ///
+ /// User hook called after UnregisterGameObj(). An example use could be to remove the id and gameObject from a
+ /// dictionary upon AK_Success.
+ ///
+ /// The result from calling UnregisterGameObj() on gameObject.
+ /// The GameObject that UnregisterGameObj() was called on.
+ /// The ulong returned from GameObjectHash that represents this GameObject in Wwise.
+ static partial void PostUnregisterGameObjUserHook(AKRESULT result, UnityEngine.GameObject gameObject, ulong id);
+
+ #endregion
+
+ #region Deprecation Strings
+ public const string Deprecation_2018_1_2 = "This functionality is deprecated as of Wwise v2018.1.2 and will be removed in a future release.";
+ public const string Deprecation_2018_1_6 = "This functionality is deprecated as of Wwise v2018.1.6 and will be removed in a future release.";
+ public const string Deprecation_2019_2_0 = "This functionality is deprecated as of Wwise v2019.2.0 and will be removed in a future release.";
+ public const string Deprecation_2019_2_2 = "This functionality is deprecated as of Wwise v2019.2.2 and will be removed in a future release.";
+ #endregion
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkSoundEngine.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkSoundEngine.cs.meta
new file mode 100644
index 000000000..424515ff7
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkSoundEngine.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: dfdee7d1e9b90064fb64e5c1ff28af99
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkUtilities.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkUtilities.cs
new file mode 100644
index 000000000..5f922b864
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkUtilities.cs
@@ -0,0 +1,808 @@
+#if !(UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+#if UNITY_EDITOR
+public enum AkWwiseMenuOrder
+{
+ ConvertIDs = 200
+}
+
+public enum AkWwiseWindowOrder
+{
+ WwiseSettings = 305,
+ WwiseInitializationSettings = 306,
+ WwisePicker = 2300
+}
+
+public enum AkWwiseHelpOrder
+{
+ WwiseHelpOrder = 200
+}
+
+public partial class AkUtilities
+{
+ #region Migration
+ ///
+ /// These values represent the maximum value of the "Unity Integration Version" number in the Version.txt file that will migrated.
+ /// For example, in Wwise v2019.1.0, "Unity Integration Version" is 18 which means that all migrations up until this version are required.
+ ///
+ public enum MigrationStep
+ {
+ AkGameObjListenerMask_v2016_1_0 = 9,
+ AkGameObjPositionOffsetData_v2016_2_0 = 10,
+ AkAudioListener_v2017_1_0 = 14,
+ InitializationSettings_v2018_1_0 = 15,
+ WwiseTypes_v2018_1_6 = 16,
+ AkEventCallback_v2018_1_6 = 16,
+ AkAmbient_v2019_1_0 = 17,
+ NewScriptableObjectFolder_v2019_2_0 = 18,
+ ///
+ /// The value that is currently in the Version.txt file.
+ ///
+ Current
+ }
+
+ public static bool IsMigrationRequired(MigrationStep step)
+ {
+ return MigrationStartIndex <= (int)step;
+ }
+
+ public static bool IsMigrating
+ {
+ get { return MigrationStartIndex < MigrationStopIndex; }
+ }
+
+ public static void BeginMigration(int startIndex)
+ {
+ if (startIndex < MigrationStopIndex)
+ MigrationStartIndex = startIndex;
+ }
+
+ public static void EndMigration()
+ {
+ MigrationStartIndex = MigrationStopIndex;
+ }
+
+ public const int MigrationStopIndex = (int)MigrationStep.Current;
+
+ public static int MigrationStartIndex
+ {
+ private set { migrationStartIndex = value; }
+ get { return migrationStartIndex; }
+ }
+
+ private static int migrationStartIndex = MigrationStopIndex;
+ #endregion
+
+ private const string DragAndDropId = "AkDragDropId";
+
+ public static WwiseObjectReference DragAndDropObjectReference
+ {
+ set { UnityEditor.DragAndDrop.SetGenericData(DragAndDropId, value); }
+ get { return UnityEditor.DragAndDrop.GetGenericData(DragAndDropId) as WwiseObjectReference; }
+ }
+
+ private static readonly System.Collections.Generic.Dictionary s_ProjectBankPaths =
+ new System.Collections.Generic.Dictionary();
+
+ private static System.DateTime s_LastBankPathUpdate = System.DateTime.MinValue;
+
+ private static readonly System.Collections.Generic.Dictionary>
+ s_BaseToCustomPF = new System.Collections.Generic.Dictionary>();
+
+ public static bool IsWwiseProjectAvailable { set; get; }
+
+ public static bool IsSoundbankGenerationAvailable()
+ {
+ return GetWwiseCLI() != null;
+ }
+
+ /// Executes a command-line. Blocks the calling thread until the new process has completed. Returns the logged stdout in one big string.
+ public static string ExecuteCommandLine(string command, string arguments)
+ {
+ var process = new System.Diagnostics.Process();
+ process.StartInfo.FileName = command;
+ process.StartInfo.UseShellExecute = false;
+ process.StartInfo.RedirectStandardOutput = true;
+ process.StartInfo.CreateNoWindow = true;
+ process.StartInfo.Arguments = arguments;
+ process.Start();
+
+ // Synchronously read the standard output of the spawned process.
+ var reader = process.StandardOutput;
+ var output = reader.ReadToEnd();
+
+ // Waiting for the process to exit directly in the UI thread. Similar cases are working that way too.
+
+ // TODO: Is it better to provide a timeout avoid any issues of forever blocking the UI thread? If so, what is
+ // a relevant timeout value for SoundBank generation?
+ process.WaitForExit();
+ process.Close();
+
+ return output;
+ }
+
+ private static string GetWwiseCLI()
+ {
+ string result = null;
+
+ var settings = AkWwiseEditorSettings.Instance;
+
+#if UNITY_EDITOR_WIN
+ if (!string.IsNullOrEmpty(settings.WwiseInstallationPathWindows))
+ {
+ result = System.IO.Path.Combine(settings.WwiseInstallationPathWindows, @"Authoring\x64\Release\bin\WwiseCLI.exe");
+
+ if (!System.IO.File.Exists(result))
+ result = System.IO.Path.Combine(settings.WwiseInstallationPathWindows, @"Authoring\Win32\Release\bin\WwiseCLI.exe");
+ }
+#elif UNITY_EDITOR_OSX
+ if (!string.IsNullOrEmpty(settings.WwiseInstallationPathMac))
+ result = System.IO.Path.Combine(settings.WwiseInstallationPathMac, "Contents/Tools/WwiseCLI.sh");
+#endif
+
+ if (result != null && System.IO.File.Exists(result))
+ return result;
+
+ return null;
+ }
+
+ // Generate all the SoundBanks for all the supported platforms in the Wwise project. This effectively calls Wwise for the project
+ // that is configured in the UnityWwise integration.
+ public static void GenerateSoundbanks(System.Collections.Generic.List platforms = null)
+ {
+ var wwiseProjectFullPath = AkWwiseEditorSettings.WwiseProjectAbsolutePath;
+ if (IsSoundbankOverrideEnabled(wwiseProjectFullPath))
+ {
+ UnityEngine.Debug.LogWarning(
+ "The SoundBank generation process ignores the SoundBank Settings' Overrides currently enabled in the User settings. The project's SoundBank settings will be used.");
+ }
+
+ var wwiseCli = GetWwiseCLI();
+ if (wwiseCli == null)
+ {
+ UnityEngine.Debug.LogError("Couldn't locate WwiseCLI, unable to generate SoundBanks.");
+ return;
+ }
+
+#if UNITY_EDITOR_WIN
+ var command = wwiseCli;
+ var arguments = "";
+#elif UNITY_EDITOR_OSX
+ var command = "/bin/sh";
+ var arguments = "\"" + wwiseCli + "\"";
+#else
+ var command = "";
+ var arguments = "";
+#endif
+
+ arguments += " \"" + wwiseProjectFullPath + "\"";
+
+ if (platforms != null)
+ {
+ foreach (var platform in platforms)
+ {
+ if (!string.IsNullOrEmpty(platform))
+ arguments += " -Platform " + platform;
+ }
+ }
+
+ arguments += " -GenerateSoundBanks";
+
+ var output = ExecuteCommandLine(command, arguments);
+ if (output.Contains("Process completed successfully."))
+ {
+ UnityEngine.Debug.LogFormat("WwiseUnity: SoundBanks generation successful:\n{0}", output);
+ }
+ else if (output.Contains("Process completed with warning"))
+ {
+ UnityEngine.Debug.LogWarningFormat("WwiseUnity: SoundBanks generation has warning(s):\n{0}", output);
+ }
+ else
+ {
+ UnityEngine.Debug.LogErrorFormat("WwiseUnity: SoundBanks generation error:\n{0}", output);
+ }
+
+ UnityEditor.AssetDatabase.Refresh();
+ }
+
+ /// Reads the user settings (not the project settings) to check if there is an override currently defined for the SoundBank generation folders.
+ public static bool IsSoundbankOverrideEnabled(string wwiseProjectPath)
+ {
+ var userConfigFile = System.IO.Path.Combine(System.IO.Path.GetDirectoryName(wwiseProjectPath),
+ System.IO.Path.GetFileNameWithoutExtension(wwiseProjectPath) + "." + System.Environment.UserName + ".wsettings");
+
+ if (!System.IO.File.Exists(userConfigFile))
+ return false;
+
+ var userConfigDoc = new System.Xml.XmlDocument();
+ userConfigDoc.Load(userConfigFile);
+ var userConfigNavigator = userConfigDoc.CreateNavigator();
+
+ var userConfigNode = userConfigNavigator.SelectSingleNode(
+ System.Xml.XPath.XPathExpression.Compile("//Property[@Name='SoundBankPathUserOverride' and @Value = 'True']"));
+
+ return userConfigNode != null;
+ }
+
+ public static System.Collections.Generic.IDictionary> PlatformMapping
+ {
+ get { return s_BaseToCustomPF; }
+ }
+
+ public static System.Collections.Generic.IDictionary GetAllBankPaths()
+ {
+ UpdateSoundbanksDestinationFolders(AkWwiseEditorSettings.WwiseProjectAbsolutePath);
+ return s_ProjectBankPaths;
+ }
+
+ public delegate void GetEventDurationsFunc(uint eventID, ref float maximum, ref float minimum);
+ public static GetEventDurationsFunc GetEventDurations = (uint eventID, ref float maximum, ref float minimum) => { maximum = minimum = -1.0f; };
+
+ private static void UpdateSoundbanksDestinationFolders(string WwiseProjectPath)
+ {
+ try
+ {
+ if (WwiseProjectPath.Length == 0)
+ return;
+
+ if (!System.IO.File.Exists(WwiseProjectPath))
+ return;
+
+ var t = System.IO.File.GetLastWriteTime(WwiseProjectPath);
+ if (t <= s_LastBankPathUpdate)
+ return;
+
+ s_LastBankPathUpdate = t;
+ s_ProjectBankPaths.Clear();
+
+ var doc = new System.Xml.XmlDocument();
+ doc.Load(WwiseProjectPath);
+ var Navigator = doc.CreateNavigator();
+
+ // Gather the mapping of Custom platform to Base platform
+ var itpf = Navigator.Select("//Platform");
+ s_BaseToCustomPF.Clear();
+ foreach (System.Xml.XPath.XPathNavigator node in itpf)
+ {
+ System.Collections.Generic.List customList = null;
+ var basePF = node.GetAttribute("ReferencePlatform", "");
+ if (!s_BaseToCustomPF.TryGetValue(basePF, out customList))
+ {
+ customList = new System.Collections.Generic.List();
+ s_BaseToCustomPF[basePF] = customList;
+ }
+
+ customList.Add(node.GetAttribute("Name", ""));
+ }
+
+ // Navigate the wproj file (XML format) to where generated SoundBank paths are stored
+ var it = Navigator.Select("//Property[@Name='SoundBankPaths']/ValueList/Value");
+ foreach (System.Xml.XPath.XPathNavigator node in it)
+ {
+ var path = node.Value;
+ FixSlashes(ref path);
+ var pf = node.GetAttribute("Platform", "");
+ s_ProjectBankPaths[pf] = path;
+ }
+ }
+ catch (System.Exception ex)
+ {
+ UnityEngine.Debug.LogError("WwiseUnity: Error while reading project " + WwiseProjectPath + ". Exception: " + ex.Message);
+ }
+ }
+
+ // Parses the .wproj to find out where SoundBanks are generated for the given path.
+ public static string GetWwiseSoundBankDestinationFolder(string Platform, string WwiseProjectPath)
+ {
+ try
+ {
+ UpdateSoundbanksDestinationFolders(WwiseProjectPath);
+ return s_ProjectBankPaths[Platform];
+ }
+ catch
+ {
+ return "";
+ }
+ }
+
+ // Set SoundBank-related bool settings in the wproj file.
+ public static bool EnableBoolSoundbankSettingInWproj(string SettingName, string WwiseProjectPath)
+ {
+ try
+ {
+ if (WwiseProjectPath.Length == 0)
+ return true;
+
+ var doc = new System.Xml.XmlDocument { PreserveWhitespace = true };
+ doc.Load(WwiseProjectPath);
+ var Navigator = doc.CreateNavigator();
+
+ // Navigate the wproj file (XML format) to where our setting should be
+ var pathInXml = string.Format("/WwiseDocument/ProjectInfo/Project/PropertyList/Property[@Name='{0}']", SettingName);
+ var expression = System.Xml.XPath.XPathExpression.Compile(pathInXml);
+ var node = Navigator.SelectSingleNode(expression);
+ if (node == null)
+ {
+ // Setting isn't in the wproj, add it
+ // Navigate to the SoundBankHeaderFilePath property (it is always there)
+ expression =
+ System.Xml.XPath.XPathExpression.Compile(
+ "/WwiseDocument/ProjectInfo/Project/PropertyList/Property[@Name='SoundBankHeaderFilePath']");
+ node = Navigator.SelectSingleNode(expression);
+ if (node == null)
+ {
+ // SoundBankHeaderFilePath not in wproj, invalid wproj file
+ UnityEngine.Debug.LogError(
+ "WwiseUnity: Could not find SoundBankHeaderFilePath property in Wwise project file. File is invalid.");
+ return false;
+ }
+
+ // Add the setting right above SoundBankHeaderFilePath
+ var propertyToInsert = string.Format("", SettingName);
+ node.InsertBefore(propertyToInsert);
+ }
+ else if (node.GetAttribute("Value", "") == "False")
+ {
+ // Value is present, we simply have to modify it.
+ if (!node.MoveToAttribute("Value", ""))
+ return false;
+
+ // Modify the value to true
+ node.SetValue("True");
+ }
+ else
+ {
+ // Parameter already set, nothing to do!
+ return true;
+ }
+
+ doc.Save(WwiseProjectPath);
+ return true;
+ }
+ catch
+ {
+ return false;
+ }
+ }
+
+ public static bool SetSoundbankHeaderFilePath(string WwiseProjectPath, string SoundbankPath)
+ {
+ try
+ {
+ if (WwiseProjectPath.Length == 0)
+ return true;
+
+ var doc = new System.Xml.XmlDocument { PreserveWhitespace = true };
+ doc.Load(WwiseProjectPath);
+ var Navigator = doc.CreateNavigator();
+
+ // Navigate to where the header file path is saved. The node has to be there, or else the wproj is invalid.
+ var expression =
+ System.Xml.XPath.XPathExpression.Compile(
+ "/WwiseDocument/ProjectInfo/Project/PropertyList/Property[@Name='SoundBankHeaderFilePath']");
+ var node = Navigator.SelectSingleNode(expression);
+ if (node == null)
+ {
+ UnityEngine.Debug.LogError(
+ "Could not find SoundBankHeaderFilePath property in Wwise project file. File is invalid.");
+ return false;
+ }
+
+ // Change the "Value" attribute
+ if (!node.MoveToAttribute("Value", ""))
+ return false;
+
+ node.SetValue(SoundbankPath);
+ doc.Save(WwiseProjectPath);
+ return true;
+ }
+ catch
+ {
+ return false;
+ }
+ }
+
+ // Make two paths relative to each other
+ public static string MakeRelativePath(string fromPath, string toPath)
+ {
+ // MONO BUG: https://github.com/mono/mono/pull/471
+ // In the editor, Application.dataPath returns /Assets. There is a bug in
+ // mono for method Uri.GetRelativeUri where if the path ends in a folder, it will
+ // ignore the last part of the path. Thus, we need to add fake depth to get the "real"
+ // relative path.
+ fromPath += "/fake_depth";
+ try
+ {
+ if (string.IsNullOrEmpty(fromPath))
+ return toPath;
+
+ if (string.IsNullOrEmpty(toPath))
+ return "";
+
+ var fromUri = new System.Uri(fromPath);
+ var toUri = new System.Uri(toPath);
+
+ if (fromUri.Scheme != toUri.Scheme)
+ return toPath;
+
+ var relativeUri = fromUri.MakeRelativeUri(toUri);
+ var relativePath = System.Uri.UnescapeDataString(relativeUri.ToString());
+
+ return relativePath;
+ }
+ catch
+ {
+ return toPath;
+ }
+ }
+
+ // Reconcile a base path and a relative path to give a full path without any ".."
+ public static string GetFullPath(string BasePath, string RelativePath)
+ {
+ if (string.IsNullOrEmpty(BasePath))
+ return "";
+
+ var wrongSeparatorChar = System.IO.Path.DirectorySeparatorChar == '/' ? '\\' : '/';
+
+ if (string.IsNullOrEmpty(RelativePath))
+ return BasePath.Replace(wrongSeparatorChar, System.IO.Path.DirectorySeparatorChar);
+
+ if (System.IO.Path.GetPathRoot(RelativePath) != "")
+ return RelativePath.Replace(wrongSeparatorChar, System.IO.Path.DirectorySeparatorChar);
+
+ return System.IO.Path.GetFullPath(System.IO.Path.Combine(BasePath, RelativePath));
+ }
+
+ public static bool DirectoryCopy(string sourceDirName, string destDirName, bool copySubDirs)
+ {
+ var dir = new System.IO.DirectoryInfo(sourceDirName);
+ if (!dir.Exists)
+ {
+ UnityEngine.Debug.LogError("WwiseUnity: Source directory doesn't exist");
+ return false;
+ }
+
+ if (!System.IO.Directory.Exists(destDirName))
+ System.IO.Directory.CreateDirectory(destDirName);
+
+ var files = dir.GetFiles();
+ foreach (var file in files)
+ {
+ var destFilePath = System.IO.Path.Combine(destDirName, file.Name);
+ if (System.IO.File.Exists(destFilePath))
+ UnityEngine.Debug.LogWarningFormat("WwiseUnity: Destination file path will be overwritten: {0}", destFilePath);
+
+ file.CopyTo(destFilePath, true);
+ }
+
+ if (!copySubDirs)
+ return true;
+
+ var dirs = dir.GetDirectories();
+ foreach (var subdir in dirs)
+ {
+ var destSubDirName = System.IO.Path.Combine(destDirName, subdir.Name);
+ DirectoryCopy(subdir.FullName, destSubDirName, copySubDirs);
+ }
+
+ return true;
+ }
+
+ public static bool CreateFolder(string folderToCreate)
+ {
+ var created = false;
+
+ var folder = string.Empty;
+ var folders = folderToCreate.Split(System.IO.Path.AltDirectorySeparatorChar, System.IO.Path.DirectorySeparatorChar);
+ for (int i = 0; i < folders.Length; ++i)
+ {
+ var parentFolder = folder;
+ folder = string.IsNullOrEmpty(parentFolder) ? folders[i] : System.IO.Path.Combine(parentFolder, folders[i]);
+
+ if (UnityEditor.AssetDatabase.IsValidFolder(folder))
+ {
+ continue;
+ }
+
+ var error = UnityEditor.AssetDatabase.CreateFolder(parentFolder, folders[i]);
+ if (string.IsNullOrEmpty(error))
+ {
+ created = true;
+ continue;
+ }
+
+ return false;
+ }
+
+ if (created)
+ UnityEditor.AssetDatabase.SaveAssets();
+
+ return true;
+ }
+
+ ///
+ /// Renames or moves a folder using UnityEditor.Database API.
+ ///
+ ///
+ ///
+ /// Returns true if the operation was successful.
+ public static bool MoveFolder(string oldPath, string newPath)
+ {
+ oldPath = oldPath.Replace(System.IO.Path.AltDirectorySeparatorChar, System.IO.Path.DirectorySeparatorChar);
+ newPath = newPath.Replace(System.IO.Path.AltDirectorySeparatorChar, System.IO.Path.DirectorySeparatorChar);
+ if (oldPath.Equals(newPath, System.StringComparison.OrdinalIgnoreCase))
+ return false;
+
+ var error = string.Empty;
+ var newParentFolder = System.IO.Path.GetDirectoryName(newPath);
+ if (System.IO.Path.GetDirectoryName(oldPath) == newParentFolder)
+ {
+ error = UnityEditor.AssetDatabase.RenameAsset(oldPath, newPath.Substring(newParentFolder.Length + 1));
+ if (string.IsNullOrEmpty(error))
+ return true;
+
+ UnityEngine.Debug.LogErrorFormat("WwiseUnity: Error while attempting to rename folder <{0}> to <{1}>: {2}", oldPath, newPath, error);
+ return false;
+ }
+
+ if (!CreateFolder(newParentFolder))
+ return false;
+
+ error = UnityEditor.AssetDatabase.MoveAsset(oldPath, newPath);
+ if (string.IsNullOrEmpty(error))
+ return true;
+
+ UnityEngine.Debug.LogWarningFormat("WwiseUnity: Error while attempting to move folder <{0}> to <{1}>: {2}", oldPath, newPath, error);
+ return false;
+ }
+
+ ///This function returns the absolute position and the width and height of the last drawn GuiLayout(or EditorGuiLayout) element in the inspector window.
+ ///This function must be called in the OnInspectorGUI function
+ ///
+ ///The inspector must be in repaint mode in order to get the correct position
+ ///Example => if(Event.current.type == EventType.Repaint) Rect pos = AkUtilities.GetLastRectAbsolute();
+ public static UnityEngine.Rect GetLastRectAbsolute(UnityEngine.Rect relativePos)
+ {
+ var lastRectAbsolute = relativePos;
+ lastRectAbsolute.x += UnityEditor.EditorWindow.focusedWindow.position.x;
+ lastRectAbsolute.y += UnityEditor.EditorWindow.focusedWindow.position.y;
+
+ try
+ {
+ var inspectorType = UnityEditor.EditorWindow.focusedWindow.GetType();
+
+ var currentInspectorFieldInfo = inspectorType.GetField("s_CurrentInspectorWindow",
+ System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static);
+
+ var scrollPosInfo = inspectorType.GetField("m_ScrollPosition",
+ System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);
+
+ var scrollPos = (UnityEngine.Vector2)scrollPosInfo.GetValue(currentInspectorFieldInfo.GetValue(null));
+ lastRectAbsolute.x -= scrollPos.x;
+ lastRectAbsolute.y -= scrollPos.y;
+ }
+ catch
+ {
+ }
+
+ return lastRectAbsolute;
+ }
+
+ public static void RepaintInspector()
+ {
+ var windows = UnityEngine.Resources.FindObjectsOfTypeAll();
+ foreach (var win in windows)
+ if (win.titleContent.text == "Inspector")
+ win.Repaint();
+ }
+
+ public static void AddAkAudioListenerToMainCamera(bool logWarning = false)
+ {
+ UnityEngine.Camera camera = UnityEngine.Camera.main;
+
+ // Workaround for some versions of Unity not setting properly the MainCamera tag
+ // on the first scene of a new project
+ if (camera == null)
+ {
+ var cameraArray = UnityEngine.Object.FindObjectsOfType();
+ if (cameraArray.Length > 0)
+ {
+ foreach (var entry in cameraArray)
+ {
+ if (entry.name == "Main Camera")
+ {
+ camera = entry;
+ break;
+ }
+ }
+ }
+
+ if (camera == null)
+ {
+ return;
+ }
+ }
+
+ if (camera.GetComponentInChildren())
+ {
+ return;
+ }
+
+ var oldListener = camera.gameObject.GetComponent();
+ if (oldListener != null)
+ {
+ UnityEditor.Undo.DestroyObjectImmediate(oldListener);
+ }
+
+ var akAudioListener = UnityEditor.Undo.AddComponent(camera.gameObject);
+ if (!akAudioListener)
+ {
+ return;
+ }
+
+ var akGameObj = akAudioListener.GetComponentInChildren();
+ if (akGameObj)
+ {
+ akGameObj.isEnvironmentAware = false;
+ }
+
+ if (logWarning)
+ {
+ UnityEngine.Debug.LogWarning("Automatically added AkAudioListener to Main Camera. Go to \"Edit > Wwise Settings...\" to disable this functionality.");
+ }
+ }
+
+ #region Tooltip Workaround
+ private static System.Reflection.FieldInfo GetFieldInfoFromProperty(UnityEditor.SerializedProperty property)
+ {
+ var serializedProperty = property.serializedObject.FindProperty("m_Script");
+ if (serializedProperty == null)
+ return null;
+
+ var monoScript = serializedProperty.objectReferenceValue as UnityEditor.MonoScript;
+ if (monoScript == null)
+ return null;
+
+ var scriptTypeFromProperty = monoScript.GetClass();
+ if (scriptTypeFromProperty == null)
+ return null;
+
+ return GetFieldInfoFromPropertyPath(scriptTypeFromProperty, property.propertyPath);
+ }
+
+ private static System.Reflection.FieldInfo GetFieldInfoFromPropertyPath(System.Type host, string path)
+ {
+ System.Reflection.FieldInfo fieldInfo = null;
+
+ var type = host;
+ var array = path.Split('.');
+ for (int i = 0; i < array.Length; ++i)
+ {
+ string text = array[i];
+ if (i < array.Length - 1 && text == "Array" && array[i + 1].StartsWith("data["))
+ {
+ if (type.IsArray)
+ type = type.GetElementType();
+ else if (type.IsGenericType && type.GetGenericTypeDefinition() == typeof(System.Collections.Generic.List<>))
+ type = type.GetGenericArguments()[0];
+
+ i++;
+ }
+ else
+ {
+ var type2 = type;
+ while (type2 != null)
+ {
+ fieldInfo = type2.GetField(text, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic);
+ if (fieldInfo != null)
+ {
+ type = fieldInfo.FieldType;
+ break;
+ }
+
+ type2 = type2.BaseType;
+ if (type2 == null)
+ return null;
+ }
+ }
+ }
+
+ return fieldInfo;
+ }
+
+ private static string GetTooltip(System.Reflection.FieldInfo field, bool inherit)
+ {
+ var attributes = field.GetCustomAttributes(typeof(UnityEngine.TooltipAttribute), inherit) as UnityEngine.TooltipAttribute[];
+ if (attributes != null && attributes.Length > 0)
+ return attributes[0].tooltip;
+
+ return string.Empty;
+ }
+
+ public static string GetTooltip(UnityEditor.SerializedProperty property)
+ {
+ return GetTooltip(GetFieldInfoFromProperty(property), true);
+ }
+ #endregion
+}
+#endif // UNITY_EDITOR
+
+public partial class AkUtilities
+{
+ public static void FixSlashes(ref string path, char separatorChar, char badChar, bool addTrailingSlash)
+ {
+ if (string.IsNullOrEmpty(path))
+ return;
+
+ path = path.Trim().Replace(badChar, separatorChar).TrimStart('\\');
+
+ // Append a trailing slash to play nicely with Wwise
+ if (addTrailingSlash && !path.EndsWith(separatorChar.ToString()))
+ path += separatorChar;
+ }
+
+ public static void FixSlashes(ref string path)
+ {
+#if UNITY_WSA
+ var separatorChar = '\\';
+#else
+ var separatorChar = System.IO.Path.DirectorySeparatorChar;
+#endif // UNITY_WSA
+ var badChar = separatorChar == '\\' ? '/' : '\\';
+ FixSlashes(ref path, separatorChar, badChar, true);
+ }
+
+ ///
+ /// This is based on FNVHash as used by the DataManager
+ /// to assign short IDs to objects. Be sure to keep them both in sync
+ /// when making changes!
+ ///
+ public class ShortIDGenerator
+ {
+ private const uint s_prime32 = 16777619;
+ private const uint s_offsetBasis32 = 2166136261;
+
+ private static byte s_hashSize;
+ private static uint s_mask;
+
+ static ShortIDGenerator()
+ {
+ HashSize = 32;
+ }
+
+ public static byte HashSize
+ {
+ get { return s_hashSize; }
+
+ set
+ {
+ s_hashSize = value;
+ s_mask = (uint) ((1 << s_hashSize) - 1);
+ }
+ }
+
+ public static uint Compute(string in_name)
+ {
+ var buffer = System.Text.Encoding.UTF8.GetBytes(in_name.ToLower());
+
+ // Start with the basis value
+ var hval = s_offsetBasis32;
+
+ for (var i = 0; i < buffer.Length; i++)
+ {
+ // multiply by the 32 bit FNV magic prime mod 2^32
+ hval *= s_prime32;
+
+ // xor the bottom with the current octet
+ hval ^= buffer[i];
+ }
+
+ if (s_hashSize == 32)
+ return hval;
+
+ // XOR-Fold to the required number of bits
+ return (hval >> s_hashSize) ^ (hval & s_mask);
+ }
+ }
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkUtilities.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkUtilities.cs.meta
new file mode 100644
index 000000000..1f27ccb28
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkUtilities.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 6a2f034196b4f6c448adf573e7cb04ea
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkVector.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkVector.cs
new file mode 100644
index 000000000..931aff305
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkVector.cs
@@ -0,0 +1,15 @@
+[System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+public class AkVector
+{
+ private UnityEngine.Vector3 Vector = UnityEngine.Vector3.zero;
+
+ public void Zero() { Vector.Set(0, 0, 0); }
+
+ public float X { set { Vector.x = value; } get { return Vector.x; } }
+
+ public float Y { set { Vector.y = value; } get { return Vector.y; } }
+
+ public float Z { set { Vector.z = value; } get { return Vector.z; } }
+
+ public static implicit operator UnityEngine.Vector3(AkVector vector) { return vector.Vector; }
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkVector.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkVector.cs.meta
new file mode 100644
index 000000000..c6aa65d14
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkVector.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: ca5c79a8a33172640a400e6926f1ae65
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkVertex.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkVertex.cs
new file mode 100644
index 000000000..26df79a9b
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkVertex.cs
@@ -0,0 +1,38 @@
+[System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+public class AkVertex
+{
+ private UnityEngine.Vector3 Vector = UnityEngine.Vector3.zero;
+
+ public void Zero() { Vector.Set(0, 0, 0); }
+
+ public float X { set { Vector.x = value; } get { return Vector.x; } }
+
+ public float Y { set { Vector.y = value; } get { return Vector.y; } }
+
+ public float Z { set { Vector.z = value; } get { return Vector.z; } }
+
+ public static implicit operator UnityEngine.Vector3(AkVertex vector) { return vector.Vector; }
+
+ public AkVertex() { }
+
+ public AkVertex(float x, float y, float z) { Vector.Set(x, y, z); }
+
+ public void Clear() { Vector.Set(0, 0, 0); }
+
+ public static int GetSizeOf() { return sizeof(float) * 3; }
+
+ public void Clone(AkVertex other) { Vector = other.Vector; }
+}
+
+[System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+/// AkVertexArray is now deprecated. Users should instead use UnityEngine.Vector3[].
+public class AkVertexArray : AkBaseArray
+{
+ public AkVertexArray(int count) : base(count) {}
+
+ protected override int StructureSize { get { return AkVertex.GetSizeOf(); } }
+
+ protected override AkVertex CreateNewReferenceFromIntPtr(System.IntPtr address) { return null; }
+
+ protected override void CloneIntoReferenceFromIntPtr(System.IntPtr address, AkVertex other) {}
+}
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkVertex.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkVertex.cs.meta
new file mode 100644
index 000000000..36b1c6342
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkVertex.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 092e1fff5f8571f4bb9cdde1c390c31c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseEditorSettings.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseEditorSettings.cs
new file mode 100644
index 000000000..c18c89cbe
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseEditorSettings.cs
@@ -0,0 +1,351 @@
+#if !(UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+#if UNITY_EDITOR
+[System.Serializable]
+public class WwiseSettings
+{
+ public const string Filename = "WwiseSettings.xml";
+
+ public static string Path
+ {
+ get { return System.IO.Path.Combine(UnityEngine.Application.dataPath, Filename); }
+ }
+
+ public static bool Exists { get { return System.IO.File.Exists(Path); } }
+
+ public bool CopySoundBanksAsPreBuildStep = true;
+ public bool CreatedPicker = false;
+ public bool CreateWwiseGlobal = true;
+ public bool CreateWwiseListener = true;
+ public bool GenerateSoundBanksAsPreBuildStep = false;
+ public bool ShowMissingRigidBodyWarning = true;
+ public bool ShowSpatialAudioWarningMsg = true;
+ public string SoundbankPath;
+ public string WwiseInstallationPathMac;
+ public string WwiseInstallationPathWindows;
+ public string WwiseProjectPath;
+
+ [System.Xml.Serialization.XmlIgnore]
+ public string WwiseInstallationPath
+ {
+#if UNITY_EDITOR_OSX
+ get { return WwiseInstallationPathMac; }
+ set { WwiseInstallationPathMac = value; }
+#else
+ get { return WwiseInstallationPathWindows; }
+ set { WwiseInstallationPathWindows = value; }
+#endif
+ }
+
+ internal static WwiseSettings LoadSettings()
+ {
+ var settings = new WwiseSettings();
+
+ try
+ {
+ var path = Path;
+ if (System.IO.File.Exists(path))
+ {
+ var xmlSerializer = new System.Xml.Serialization.XmlSerializer(typeof(WwiseSettings));
+ using (var xmlFileStream = new System.IO.FileStream(path, System.IO.FileMode.Open, System.IO.FileAccess.Read))
+ settings = xmlSerializer.Deserialize(xmlFileStream) as WwiseSettings;
+ }
+ else
+ {
+ var projectDir = System.IO.Path.GetDirectoryName(UnityEngine.Application.dataPath);
+ var foundWwiseProjects = System.IO.Directory.GetFiles(projectDir, "*.wproj", System.IO.SearchOption.AllDirectories);
+ if (foundWwiseProjects.Length > 0)
+ settings.WwiseProjectPath = AkUtilities.MakeRelativePath(UnityEngine.Application.dataPath, foundWwiseProjects[0]);
+ else
+ settings.WwiseProjectPath = string.Empty;
+
+ settings.SoundbankPath = AkBasePathGetter.DefaultBasePath;
+ }
+ }
+ catch
+ {
+ }
+
+ return settings;
+ }
+
+ public void SaveSettings()
+ {
+ try
+ {
+ var xmlDoc = new System.Xml.XmlDocument();
+ var xmlSerializer = new System.Xml.Serialization.XmlSerializer(GetType());
+ using (var xmlStream = new System.IO.MemoryStream())
+ {
+ var streamWriter = new System.IO.StreamWriter(xmlStream, System.Text.Encoding.UTF8);
+ xmlSerializer.Serialize(streamWriter, this);
+ xmlStream.Position = 0;
+ xmlDoc.Load(xmlStream);
+ xmlDoc.Save(Path);
+ }
+ }
+ catch
+ {
+ UnityEngine.Debug.LogErrorFormat("WwiseUnity: Unable to save settings to file <{0}>. Please ensure that this file path can be written to.", Path);
+ }
+ }
+}
+
+public class AkWwiseEditorSettings
+{
+ private static WwiseSettings s_Instance;
+
+ public static WwiseSettings Instance
+ {
+ get
+ {
+ if (s_Instance == null)
+ s_Instance = WwiseSettings.LoadSettings();
+ return s_Instance;
+ }
+ }
+
+ public static void Reload()
+ {
+ s_Instance = WwiseSettings.LoadSettings();
+ }
+
+ public static string WwiseProjectAbsolutePath
+ {
+ get { return AkUtilities.GetFullPath(UnityEngine.Application.dataPath, Instance.WwiseProjectPath); }
+ }
+
+ public static string WwiseScriptableObjectRelativePath
+ {
+ get { return System.IO.Path.Combine(System.IO.Path.Combine("Assets", "Wwise"), "ScriptableObjects"); }
+ }
+
+ #region GUI
+#if UNITY_2018_3_OR_NEWER
+ class SettingsProvider : UnityEditor.SettingsProvider
+#else
+ class EditorWindow : UnityEditor.EditorWindow
+#endif
+ {
+ class Styles
+ {
+ public static string WwiseProject = "Wwise Project";
+ public static UnityEngine.GUIContent WwiseProjectPath = new UnityEngine.GUIContent("Wwise Project Path*", "Location of the Wwise project associated with this game. It is recommended to put it in the Unity Project root folder, outside the Assets folder.");
+
+ public static string WwiseApplicationPath = "Wwise Application Path";
+ public static UnityEngine.GUIContent WwiseInstallationPath = new UnityEngine.GUIContent("Wwise Application Path", "Location of the Wwise application. This is required to generate the SoundBanks in Unity.");
+
+ public static string AssetManagement = "Asset Management";
+ public static UnityEngine.GUIContent SoundbankPath = new UnityEngine.GUIContent("SoundBanks Path*", "Location of the SoundBanks relative to (and within) the StreamingAssets folder.");
+ public static UnityEngine.GUIContent CopySoundBanksAsPreBuildStep = new UnityEngine.GUIContent("Copy SoundBanks at pre-Build step", "Copies the SoundBanks in the appropriate location for building and deployment. It is recommended to leave this box checked.");
+ public static UnityEngine.GUIContent GenerateSoundBanksAsPreBuildStep = new UnityEngine.GUIContent("Generate SoundBanks at pre-Build step", "Generates the SoundBanks before copying them during pre-Build step. It is recommended to leave this box unchecked if SoundBanks are generated on a specific build machine.");
+
+ public static string GlobalSettings = "Global Settings";
+ public static UnityEngine.GUIContent CreateWwiseGlobal = new UnityEngine.GUIContent("Create WwiseGlobal GameObject", "The WwiseGlobal object is a GameObject that contains the Initializing and Terminating scripts for the Wwise Sound Engine. In the Editor workflow, it is added to every scene, so that it can be properly previewed in the Editor. In the game, only one instance is created, in the first scene, and it is persisted throughout the game. It is recommended to leave this box checked.");
+ public static UnityEngine.GUIContent CreateWwiseListener = new UnityEngine.GUIContent("Add Listener to Main Camera", "In order for positioning to work, the AkAudioListener script needs to be attached to the main camera in every scene. If you wish for your listener to be attached to another GameObject, uncheck this box");
+
+ public static string InEditorWarnings = "In Editor Warnings";
+ public static UnityEngine.GUIContent ShowMissingRigidBodyWarning = new UnityEngine.GUIContent("Show warning for missing RigidBody", "Interactions between AkGameObj and AkEnvironment or AkRoom require a Rigidbody component on the object or the environment/room. It is recommended to leave this box checked.");
+ public static UnityEngine.GUIContent ShowSpatialAudioWarningMsg = new UnityEngine.GUIContent("Show warning for missing Collider", "Interactions between AkRoomAwareObject and AkRoom require a Collider component on the object. It is recommended to leave this box checked.");
+
+ public static string MandatorySettings = "* Mandatory settings";
+
+ private static UnityEngine.GUIStyle version;
+ public static UnityEngine.GUIStyle Version
+ {
+ get
+ {
+ if (version != null)
+ return version;
+
+ version = new UnityEngine.GUIStyle(UnityEditor.EditorStyles.whiteLargeLabel);
+ if (!UnityEngine.Application.HasProLicense())
+ {
+ version.active.textColor =
+ version.focused.textColor =
+ version.hover.textColor =
+ version.normal.textColor = UnityEngine.Color.black;
+ }
+ return version;
+ }
+ }
+
+ private static UnityEngine.GUIStyle textField;
+ public static UnityEngine.GUIStyle TextField
+ {
+ get
+ {
+ if (textField == null)
+ textField = new UnityEngine.GUIStyle("textfield");
+ return textField;
+ }
+ }
+ }
+
+ private static bool Ellipsis()
+ {
+ return UnityEngine.GUILayout.Button("...", UnityEngine.GUILayout.Width(30));
+ }
+
+#if UNITY_2018_3_OR_NEWER
+ private SettingsProvider(string path) : base(path, UnityEditor.SettingsScope.Project) { }
+
+ [UnityEditor.SettingsProvider]
+ public static UnityEditor.SettingsProvider CreateMyCustomSettingsProvider()
+ {
+ return new SettingsProvider("Project/Wwise Editor") { keywords = GetSearchKeywordsFromGUIContentProperties() };
+ }
+
+ public override void OnGUI(string searchContext)
+#else
+ [UnityEditor.MenuItem("Edit/Wwise Settings...", false, (int)AkWwiseWindowOrder.WwiseSettings)]
+ public static void Init()
+ {
+ // Get existing open window or if none, make a new one:
+ var window = GetWindow(typeof(EditorWindow));
+ window.position = new UnityEngine.Rect(100, 100, 850, 360);
+ window.titleContent = new UnityEngine.GUIContent("Wwise Settings");
+ }
+
+ private void OnGUI()
+#endif
+ {
+ bool changed = false;
+
+ var labelWidth = UnityEditor.EditorGUIUtility.labelWidth;
+ UnityEditor.EditorGUIUtility.labelWidth += 100;
+
+ var settings = Instance;
+
+ UnityEngine.GUILayout.Label(string.Format("Wwise v{0} Settings.", AkSoundEngine.WwiseVersion), Styles.Version);
+ UnityEngine.GUILayout.Label(Styles.WwiseProject, UnityEditor.EditorStyles.boldLabel);
+
+ using (new UnityEngine.GUILayout.HorizontalScope("box"))
+ {
+ UnityEditor.EditorGUILayout.PrefixLabel(Styles.WwiseProjectPath);
+ UnityEditor.EditorGUILayout.SelectableLabel(settings.WwiseProjectPath, Styles.TextField, UnityEngine.GUILayout.Height(17));
+
+ if (Ellipsis())
+ {
+ var OpenInPath = System.IO.Path.GetDirectoryName(AkUtilities.GetFullPath(UnityEngine.Application.dataPath, settings.WwiseProjectPath));
+ var WwiseProjectPathNew = UnityEditor.EditorUtility.OpenFilePanel("Select your Wwise Project", OpenInPath, "wproj");
+ if (WwiseProjectPathNew.Length != 0)
+ {
+ if (WwiseProjectPathNew.EndsWith(".wproj") == false)
+ {
+ UnityEditor.EditorUtility.DisplayDialog("Error", "Please select a valid .wproj file", "Ok");
+ }
+ else
+ {
+ settings.WwiseProjectPath = AkUtilities.MakeRelativePath(UnityEngine.Application.dataPath, WwiseProjectPathNew);
+ changed = true;
+ }
+ }
+ }
+ }
+
+ UnityEngine.GUILayout.Space(UnityEditor.EditorGUIUtility.standardVerticalSpacing);
+ UnityEngine.GUILayout.Label(Styles.WwiseApplicationPath, UnityEditor.EditorStyles.boldLabel);
+
+ using (new UnityEngine.GUILayout.HorizontalScope("box"))
+ {
+ UnityEditor.EditorGUILayout.PrefixLabel(Styles.WwiseInstallationPath);
+ UnityEditor.EditorGUILayout.SelectableLabel(settings.WwiseInstallationPath, Styles.TextField, UnityEngine.GUILayout.Height(17));
+
+ if (Ellipsis())
+ {
+#if UNITY_EDITOR_OSX
+ var path = UnityEditor.EditorUtility.OpenFilePanel("Select your Wwise application.", "/Applications/", "");
+#else
+ var path = UnityEditor.EditorUtility.OpenFolderPanel("Select your Wwise application.", System.Environment.GetEnvironmentVariable("ProgramFiles(x86)"), "");
+#endif
+ if (path.Length != 0)
+ {
+ settings.WwiseInstallationPath = System.IO.Path.GetFullPath(path);
+ changed = true;
+ }
+ }
+ }
+
+ UnityEngine.GUILayout.Space(UnityEditor.EditorGUIUtility.standardVerticalSpacing);
+ UnityEngine.GUILayout.Label(Styles.AssetManagement, UnityEditor.EditorStyles.boldLabel);
+
+ using (new UnityEngine.GUILayout.VerticalScope("box"))
+ {
+ using (new UnityEngine.GUILayout.HorizontalScope())
+ {
+ UnityEditor.EditorGUILayout.PrefixLabel(Styles.SoundbankPath);
+ UnityEditor.EditorGUILayout.SelectableLabel(settings.SoundbankPath, Styles.TextField, UnityEngine.GUILayout.Height(17));
+
+ if (Ellipsis())
+ {
+ var FullPath = AkUtilities.GetFullPath(UnityEngine.Application.streamingAssetsPath, settings.SoundbankPath);
+ var OpenInPath = System.IO.Path.GetDirectoryName(FullPath);
+ var path = UnityEditor.EditorUtility.OpenFolderPanel("Select your SoundBanks destination folder", OpenInPath, FullPath.Substring(OpenInPath.Length + 1));
+ if (path.Length != 0)
+ {
+ var stremingAssetsIndex = UnityEngine.Application.dataPath.Split('/').Length;
+ var folders = path.Split('/');
+
+ if (folders.Length - 1 < stremingAssetsIndex || !string.Equals(folders[stremingAssetsIndex], "StreamingAssets", System.StringComparison.OrdinalIgnoreCase))
+ {
+ UnityEditor.EditorUtility.DisplayDialog("Error", "The SoundBank destination folder must be located within the Unity project 'StreamingAssets' folder.", "Ok");
+ }
+ else
+ {
+ var previousPath = settings.SoundbankPath;
+ var newPath = AkUtilities.MakeRelativePath(UnityEngine.Application.streamingAssetsPath, path);
+
+ if (previousPath != newPath)
+ {
+ settings.SoundbankPath = newPath;
+ changed = true;
+ }
+ }
+ }
+ }
+ }
+
+ UnityEditor.EditorGUI.BeginChangeCheck();
+ settings.CopySoundBanksAsPreBuildStep = UnityEditor.EditorGUILayout.Toggle(Styles.CopySoundBanksAsPreBuildStep, settings.CopySoundBanksAsPreBuildStep);
+ UnityEngine.GUI.enabled = settings.CopySoundBanksAsPreBuildStep;
+ settings.GenerateSoundBanksAsPreBuildStep = UnityEditor.EditorGUILayout.Toggle(Styles.GenerateSoundBanksAsPreBuildStep, settings.GenerateSoundBanksAsPreBuildStep);
+ UnityEngine.GUI.enabled = true;
+ if (UnityEditor.EditorGUI.EndChangeCheck())
+ changed = true;
+ }
+
+ UnityEngine.GUILayout.Space(UnityEditor.EditorGUIUtility.standardVerticalSpacing);
+ UnityEngine.GUILayout.Label(Styles.GlobalSettings, UnityEditor.EditorStyles.boldLabel);
+
+ UnityEditor.EditorGUI.BeginChangeCheck();
+ using (new UnityEngine.GUILayout.VerticalScope("box"))
+ {
+ settings.CreateWwiseGlobal = UnityEditor.EditorGUILayout.Toggle(Styles.CreateWwiseGlobal, settings.CreateWwiseGlobal);
+ settings.CreateWwiseListener = UnityEditor.EditorGUILayout.Toggle(Styles.CreateWwiseListener, settings.CreateWwiseListener);
+ }
+
+ UnityEngine.GUILayout.Space(UnityEditor.EditorGUIUtility.standardVerticalSpacing);
+ UnityEngine.GUILayout.Label(Styles.InEditorWarnings, UnityEditor.EditorStyles.boldLabel);
+
+ using (new UnityEngine.GUILayout.VerticalScope("box"))
+ {
+ settings.ShowMissingRigidBodyWarning = UnityEditor.EditorGUILayout.Toggle(Styles.ShowMissingRigidBodyWarning, settings.ShowMissingRigidBodyWarning);
+ settings.ShowSpatialAudioWarningMsg = UnityEditor.EditorGUILayout.Toggle(Styles.ShowSpatialAudioWarningMsg, settings.ShowSpatialAudioWarningMsg);
+ }
+
+ if (UnityEditor.EditorGUI.EndChangeCheck())
+ changed = true;
+
+ UnityEngine.GUILayout.Space(UnityEditor.EditorGUIUtility.standardVerticalSpacing);
+ UnityEngine.GUILayout.Label(Styles.MandatorySettings);
+
+ UnityEditor.EditorGUIUtility.labelWidth = labelWidth;
+
+ if (changed)
+ settings.SaveSettings();
+ }
+ }
+ #endregion
+}
+#endif // UNITY_EDITOR
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseEditorSettings.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseEditorSettings.cs.meta
new file mode 100644
index 000000000..b6baf6dd1
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseEditorSettings.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: f2c427c6a2b36e44d9d76dcea17ed3a6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseInitializationSettings.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseInitializationSettings.cs
new file mode 100644
index 000000000..9b8d1b02f
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseInitializationSettings.cs
@@ -0,0 +1,1276 @@
+public class AkWwiseInitializationSettings : AkCommonPlatformSettings
+{
+ [UnityEngine.HideInInspector]
+ public System.Collections.Generic.List PlatformSettingsNameList
+ = new System.Collections.Generic.List();
+
+ [UnityEngine.HideInInspector]
+ public System.Collections.Generic.List PlatformSettingsList
+ = new System.Collections.Generic.List();
+
+ [UnityEngine.HideInInspector]
+ public System.Collections.Generic.List InvalidReferencePlatforms
+ = new System.Collections.Generic.List();
+
+ public bool IsValid
+ {
+ get { return PlatformSettingsNameList.Count == PlatformSettingsList.Count; }
+ }
+
+ public int Count
+ {
+ get { return PlatformSettingsList.Count; }
+ }
+
+ [UnityEngine.HideInInspector]
+ public AkCommonUserSettings UserSettings;
+ [UnityEngine.HideInInspector]
+ public AkCommonAdvancedSettings AdvancedSettings;
+ [UnityEngine.HideInInspector]
+ public AkCommonCommSettings CommsSettings;
+
+ protected override AkCommonUserSettings GetUserSettings()
+ {
+ return UserSettings;
+ }
+
+ protected override AkCommonAdvancedSettings GetAdvancedSettings()
+ {
+ return AdvancedSettings;
+ }
+
+ protected override AkCommonCommSettings GetCommsSettings()
+ {
+ return CommsSettings;
+ }
+
+ private static readonly string[] AllGlobalValues = new[]
+ {
+ "UserSettings.m_BasePath",
+ "UserSettings.m_StartupLanguage",
+ "UserSettings.m_EngineLogging",
+ "UserSettings.m_MaximumNumberOfPositioningPaths",
+ "UserSettings.m_MemoryCutoffThreshold",
+ "UserSettings.m_CommandQueueSize",
+ "UserSettings.m_SamplesPerFrame",
+ "UserSettings.m_MainOutputSettings.m_AudioDeviceShareset",
+ "UserSettings.m_MainOutputSettings.m_DeviceID",
+ "UserSettings.m_MainOutputSettings.m_PanningRule",
+ "UserSettings.m_MainOutputSettings.m_ChannelConfig.m_ChannelConfigType",
+ "UserSettings.m_MainOutputSettings.m_ChannelConfig.m_ChannelMask",
+ "UserSettings.m_MainOutputSettings.m_ChannelConfig.m_NumberOfChannels",
+ "UserSettings.m_StreamingLookAheadRatio",
+ "UserSettings.m_SampleRate",
+ "UserSettings.m_NumberOfRefillsInVoice",
+ "UserSettings.m_SpatialAudioSettings.m_MaxSoundPropagationDepth",
+ "UserSettings.m_SpatialAudioSettings.m_DiffractionFlags",
+ "UserSettings.m_SpatialAudioSettings.m_MovementThreshold",
+ "UserSettings.m_SpatialAudioSettings.m_NumberOfPrimaryRays",
+ "UserSettings.m_SpatialAudioSettings.m_MaxReflectionOrder",
+ "UserSettings.m_SpatialAudioSettings.m_MaxPathLength",
+ "UserSettings.m_SpatialAudioSettings.m_EnableDiffractionOnReflections",
+ "UserSettings.m_SpatialAudioSettings.m_EnableDirectPathDiffraction",
+ "UserSettings.m_SpatialAudioSettings.m_EnableTransmission",
+ "CommsSettings.m_PoolSize",
+ "CommsSettings.m_DiscoveryBroadcastPort",
+ "CommsSettings.m_CommandPort",
+ "CommsSettings.m_NotificationPort",
+ "CommsSettings.m_InitializeSystemComms",
+ "CommsSettings.m_NetworkName",
+ "AdvancedSettings.m_IOMemorySize",
+ "AdvancedSettings.m_TargetAutoStreamBufferLengthMs",
+ "AdvancedSettings.m_UseStreamCache",
+ "AdvancedSettings.m_MaximumPinnedBytesInCache",
+ "AdvancedSettings.m_EnableGameSyncPreparation",
+ "AdvancedSettings.m_ContinuousPlaybackLookAhead",
+ "AdvancedSettings.m_MonitorQueuePoolSize",
+ "AdvancedSettings.m_MaximumHardwareTimeoutMs",
+ "AdvancedSettings.m_SpatialAudioSettings.m_DiffractionShadowAttenuationFactor",
+ "AdvancedSettings.m_SpatialAudioSettings.m_DiffractionShadowDegrees",
+ "AdvancedSettings.m_RenderDuringFocusLoss",
+ "AdvancedSettings.m_UseAsyncOpen",
+ "AdvancedSettings.m_SoundBankPersistentDataPath",
+ "AdvancedSettings.m_DebugOutOfRangeCheckEnabled",
+ "AdvancedSettings.m_DebugOutOfRangeLimit"
+ };
+
+ public abstract class PlatformSettings : AkCommonPlatformSettings
+ {
+ #region Ignore property list management
+ [UnityEngine.SerializeField]
+ [UnityEngine.HideInInspector]
+ private System.Collections.Generic.List IgnorePropertyNameList =
+ new System.Collections.Generic.List();
+
+ public void IgnorePropertyValue(string propertyPath)
+ {
+ if (IsPropertyIgnored(propertyPath))
+ return;
+
+ IgnorePropertyNameList.Add(propertyPath);
+ SetUseGlobalPropertyValue(propertyPath, false);
+ }
+
+ public bool IsPropertyIgnored(string propertyPath)
+ {
+ return IgnorePropertyNameList.Contains(propertyPath);
+ }
+ #endregion
+
+ #region Global property list management
+ [UnityEngine.SerializeField]
+ [UnityEngine.HideInInspector]
+ private System.Collections.Generic.List GlobalPropertyNameList =
+ new System.Collections.Generic.List();
+
+ protected PlatformSettings()
+ {
+ SetGlobalPropertyValues(AllGlobalValues);
+ }
+
+ public void SetUseGlobalPropertyValue(string propertyPath, bool use)
+ {
+ if (IsUsingGlobalPropertyValue(propertyPath) == use)
+ return;
+
+ if (use)
+ GlobalPropertyNameList.Add(propertyPath);
+ else
+ GlobalPropertyNameList.Remove(propertyPath);
+
+ _GlobalPropertyHashSet = null;
+ }
+
+ public void SetGlobalPropertyValues(System.Collections.IEnumerable enumerable)
+ {
+ foreach (var item in enumerable)
+ {
+ string propertyPath = item as string;
+ if (!IsUsingGlobalPropertyValue(propertyPath))
+ GlobalPropertyNameList.Add(propertyPath);
+ }
+ }
+
+ private bool IsUsingGlobalPropertyValue(string propertyPath)
+ {
+ return GlobalPropertyNameList.Contains(propertyPath);
+ }
+
+ private System.Collections.Generic.HashSet _GlobalPropertyHashSet = null;
+
+ public System.Collections.Generic.HashSet GlobalPropertyHashSet
+ {
+ get
+ {
+ if (_GlobalPropertyHashSet == null)
+ _GlobalPropertyHashSet = new System.Collections.Generic.HashSet(GlobalPropertyNameList);
+ return _GlobalPropertyHashSet;
+ }
+ set { _GlobalPropertyHashSet = value; }
+ }
+ #endregion
+
+#if UNITY_EDITOR
+ protected static void RegisterPlatformSettingsClass(string platformName) where T : PlatformSettings
+ {
+ string className = typeof(T).Name;
+ string currentClassName;
+ if (m_PlatformSettingsClassNames.TryGetValue(platformName, out currentClassName) && currentClassName == className)
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: The class <" + currentClassName + "> is being replaced by <" + className + "> for the reference platform: " + platformName);
+ return;
+ }
+
+ m_PlatformSettingsClassNames[platformName] = className;
+ }
+#endif
+ }
+
+ public class CommonPlatformSettings : PlatformSettings
+ {
+ protected override AkCommonUserSettings GetUserSettings()
+ {
+ return UserSettings;
+ }
+
+ protected override AkCommonAdvancedSettings GetAdvancedSettings()
+ {
+ return AdvancedSettings;
+ }
+
+ protected override AkCommonCommSettings GetCommsSettings()
+ {
+ return CommsSettings;
+ }
+
+ [UnityEngine.HideInInspector]
+ public AkCommonUserSettings UserSettings;
+ [UnityEngine.HideInInspector]
+ public AkCommonAdvancedSettings AdvancedSettings;
+ [UnityEngine.HideInInspector]
+ public AkCommonCommSettings CommsSettings;
+ }
+
+ #region Singleton management
+ private static AkWwiseInitializationSettings m_Instance = null;
+ private static AkBasePlatformSettings m_ActivePlatformSettings = null;
+
+ public static AkWwiseInitializationSettings Instance
+ {
+ get
+ {
+ if (m_Instance == null)
+ {
+#if UNITY_EDITOR
+ var name = typeof(AkWwiseInitializationSettings).Name;
+ m_Instance = GetOrCreateAsset(name, name);
+#else
+ m_Instance = CreateInstance();
+ UnityEngine.Debug.LogWarning("WwiseUnity: No platform specific settings were created. Default initialization settings will be used.");
+#endif
+ }
+
+ return m_Instance;
+ }
+ }
+
+ private static AkBasePlatformSettings GetPlatformSettings(string platformName)
+ {
+ var instance = Instance;
+ if (!instance.IsValid)
+ return instance;
+
+ for (var i = 0; i < instance.Count; ++i)
+ {
+ var platformSettings = instance.PlatformSettingsList[i];
+ if (platformSettings && (string.Equals(platformName, instance.PlatformSettingsNameList[i], System.StringComparison.OrdinalIgnoreCase)))
+ return platformSettings;
+ }
+
+ UnityEngine.Debug.LogWarning("WwiseUnity: Platform specific settings cannot be found for <" + platformName + ">. Using global settings.");
+ return instance;
+ }
+
+ public static AkBasePlatformSettings ActivePlatformSettings
+ {
+ get
+ {
+ if (m_ActivePlatformSettings == null)
+ m_ActivePlatformSettings = GetPlatformSettings(AkBasePathGetter.GetPlatformName());
+
+ return m_ActivePlatformSettings;
+ }
+ }
+
+ private void OnEnable()
+ {
+ if (m_Instance == null)
+ m_Instance = this;
+ else if (m_Instance != this)
+ UnityEngine.Debug.LogWarning("WwiseUnity: There are multiple AkWwiseInitializationSettings objects instantiated; only one will be used.");
+ }
+ #endregion
+
+ #region Sound Engine Initialization
+ public static bool InitializeSoundEngine()
+ {
+#if UNITY_EDITOR
+ Instance.ActiveSettingsHash = GetHashOfActiveSettings();
+ Instance.ActiveSettingsHaveChanged = true;
+#endif
+
+ UnityEngine.Debug.LogFormat("WwiseUnity: Wwise(R) SDK Version {0}.", AkSoundEngine.WwiseVersion);
+
+ var initResult = AkSoundEngine.Init(ActivePlatformSettings.AkInitializationSettings);
+ if (initResult != AKRESULT.AK_Success)
+ {
+ UnityEngine.Debug.LogError($"WwiseUnity: Failed to initialize the sound engine. Reason: {initResult}");
+ AkSoundEngine.Term();
+ return false;
+ }
+
+ if (AkSoundEngine.InitSpatialAudio(ActivePlatformSettings.AkSpatialAudioInitSettings) != AKRESULT.AK_Success)
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: Failed to initialize spatial audio.");
+ }
+
+ AkSoundEngine.InitCommunication(ActivePlatformSettings.AkCommunicationSettings);
+
+ AkBasePathGetter.EvaluateGamePaths();
+
+ var soundBankBasePath = AkBasePathGetter.SoundBankBasePath;
+ if (string.IsNullOrEmpty(soundBankBasePath))
+ {
+ // this is a nearly impossible situation
+ UnityEngine.Debug.LogError("WwiseUnity: Couldn't find SoundBanks base path. Terminating sound engine.");
+ AkSoundEngine.Term();
+ return false;
+ }
+
+ var persistentDataPath = AkBasePathGetter.PersistentDataPath;
+ var isBasePathSameAsPersistentPath = soundBankBasePath == persistentDataPath;
+
+#if UNITY_ANDROID
+ var canSetBasePath = !isBasePathSameAsPersistentPath;
+ var canSetPersistentDataPath = true;
+#else
+ var canSetBasePath = true;
+ var canSetPersistentDataPath = !isBasePathSameAsPersistentPath;
+#endif
+
+ if (canSetBasePath && AkSoundEngine.SetBasePath(soundBankBasePath) != AKRESULT.AK_Success)
+ {
+#if UNITY_EDITOR
+ var format = "WwiseUnity: Failed to set SoundBanks base path to <{0}>. Make sure SoundBank path is correctly set under Edit > Project Settings > Wwise > Editor > Asset Management.";
+#else
+ var format = "WwiseUnity: Failed to set SoundBanks base path to <{0}>. Make sure SoundBank path is correctly set under Edit > Project Settings > Wwise > Initialization.";
+#endif
+
+ UnityEngine.Debug.LogErrorFormat(format, soundBankBasePath);
+ AkSoundEngine.Term();
+ return false;
+ }
+
+ if (canSetPersistentDataPath && !string.IsNullOrEmpty(persistentDataPath))
+ {
+ AkSoundEngine.AddBasePath(persistentDataPath);
+ }
+
+ var decodedBankFullPath = AkBasePathGetter.DecodedBankFullPath;
+ if (!string.IsNullOrEmpty(decodedBankFullPath))
+ {
+ // AkSoundEngine.SetDecodedBankPath creates the folders for writing to (if they don't exist)
+ AkSoundEngine.SetDecodedBankPath(decodedBankFullPath);
+
+ // Adding decoded bank path last to ensure that it is the first one used when writing decoded banks.
+ AkSoundEngine.AddBasePath(decodedBankFullPath);
+ }
+
+ AkSoundEngine.SetCurrentLanguage(ActivePlatformSettings.InitialLanguage);
+
+ AkCallbackManager.Init(ActivePlatformSettings.CallbackManagerInitializationSettings);
+ UnityEngine.Debug.Log("WwiseUnity: Sound engine initialized successfully.");
+ AkBankManager.LoadInitBank();
+ return true;
+ }
+
+ public static bool ResetSoundEngine(bool isPlaying)
+ {
+ if (isPlaying)
+ {
+ AkSoundEngine.ClearBanks();
+ AkBankManager.LoadInitBank();
+ }
+
+ AkCallbackManager.Init(ActivePlatformSettings.CallbackManagerInitializationSettings);
+ return true;
+ }
+
+ public static void TerminateSoundEngine()
+ {
+ if (!AkSoundEngine.IsInitialized())
+ return;
+
+ // Stop everything, and make sure the callback buffer is empty. We try emptying as much as possible, and wait 10 ms before retrying.
+ // Callbacks can take a long time to be posted after the call to RenderAudio().
+ AkSoundEngine.StopAll();
+ AkSoundEngine.ClearBanks();
+ AkSoundEngine.RenderAudio();
+
+ for (var retry = 0; retry < 5;)
+ {
+ if (AkCallbackManager.PostCallbacks() == 0)
+ {
+ SleepForMilliseconds(10);
+ ++retry;
+ }
+
+ SleepForMilliseconds(1);
+ }
+
+ AkSoundEngine.Term();
+
+ // Make sure we have no callbacks left after Term. Some might be posted during termination.
+ AkCallbackManager.PostCallbacks();
+
+ AkCallbackManager.Term();
+ AkBankManager.Reset();
+
+#if UNITY_EDITOR
+ Instance.ActiveSettingsHash = string.Empty;
+ Instance.ActiveSettingsHaveChanged = true;
+#endif
+ }
+
+ private static void SleepForMilliseconds(double milliseconds)
+ {
+ using (var tmpEvent = new System.Threading.ManualResetEvent(false))
+ tmpEvent.WaitOne(System.TimeSpan.FromMilliseconds(milliseconds));
+ }
+#endregion
+
+#if UNITY_EDITOR
+ public static T GetOrCreateAsset(string className, string fileName) where T : AkCommonPlatformSettings
+ {
+ var path = System.IO.Path.Combine(AkWwiseEditorSettings.WwiseScriptableObjectRelativePath, fileName + ".asset");
+ var asset = UnityEditor.AssetDatabase.LoadAssetAtPath(path);
+ if (asset)
+ return asset;
+
+ var guids = UnityEditor.AssetDatabase.FindAssets("t:" + typeof(T).Name);
+ foreach (var assetGuid in guids)
+ {
+ var assetPath = UnityEditor.AssetDatabase.GUIDToAssetPath(assetGuid);
+ asset = UnityEditor.AssetDatabase.LoadAssetAtPath(assetPath);
+ if (asset)
+ return asset;
+ }
+
+ asset = CreateInstance(className) as T;
+ AkUtilities.CreateFolder(AkWwiseEditorSettings.WwiseScriptableObjectRelativePath);
+ UnityEditor.AssetDatabase.CreateAsset(asset, path);
+ return asset;
+ }
+
+ private static System.Collections.Generic.Dictionary m_PlatformSettingsClassNames
+ = new System.Collections.Generic.Dictionary();
+
+ private const System.Reflection.BindingFlags BindingFlags
+ = System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic;
+
+ private static string GetHashOfActiveSettingsField(string name, object obj)
+ {
+ var type = obj.GetType();
+ if (type.IsPrimitive || type == typeof(string))
+ return name + ": " + obj.ToString() + "\n";
+
+ string ret = string.Empty;
+ foreach (var subFieldInfo in type.GetFields(BindingFlags))
+ {
+ var subObject = subFieldInfo.GetValue(obj);
+ var subType = subFieldInfo.FieldType;
+ var fields = subType.GetFields(BindingFlags);
+
+ if (fields.Length == 0)
+ ret += subFieldInfo.Name + ": " + subObject.ToString() + "\n";
+ else
+ ret += GetHashOfActiveSettingsField(subFieldInfo.Name, subObject);
+ }
+
+ return ret;
+ }
+
+ public static string GetHashOfActiveSettings()
+ {
+ try
+ {
+ return GetHashOfActiveSettingsField(string.Empty, ActivePlatformSettings);
+ }
+ catch
+ {
+ return string.Empty;
+ }
+ }
+
+ [UnityEngine.HideInInspector]
+ private bool ActiveSettingsHaveChanged = true;
+
+ [UnityEngine.HideInInspector]
+ private string ActiveSettingsHash;
+
+ public static void UpdatePlatforms()
+ {
+ if (!AkUtilities.IsWwiseProjectAvailable)
+ return;
+
+ var customPlatformSettingsMap = new System.Collections.Generic.Dictionary();
+ var instance = Instance;
+ if (instance.IsValid)
+ {
+ for (var i = 0; i < instance.Count; ++i)
+ {
+ var settings = instance.PlatformSettingsList[i];
+ var name = instance.PlatformSettingsNameList[i];
+ if (settings && !string.IsNullOrEmpty(name))
+ customPlatformSettingsMap.Add(name, settings);
+ }
+ }
+
+ var updated = false;
+
+ var allCustomPlatforms = new System.Collections.Generic.List();
+ foreach (var pair in AkUtilities.PlatformMapping)
+ {
+ var referencePlatform = pair.Key;
+ var customPlatformList = pair.Value;
+
+ string className;
+ if (!m_PlatformSettingsClassNames.TryGetValue(referencePlatform, out className))
+ {
+ if (!instance.InvalidReferencePlatforms.Contains(referencePlatform))
+ {
+ instance.InvalidReferencePlatforms.Add(referencePlatform);
+ UnityEngine.Debug.LogError("WwiseUnity: A class has not been registered for the reference platform: " + referencePlatform);
+ }
+ continue;
+ }
+
+ foreach (var customWwisePlatform in customPlatformList)
+ {
+ allCustomPlatforms.Add(customWwisePlatform);
+ if (customPlatformSettingsMap.ContainsKey(customWwisePlatform))
+ continue;
+
+ var settings = GetOrCreateAsset(className, customWwisePlatform);
+ customPlatformSettingsMap.Add(customWwisePlatform, settings);
+ updated = true;
+ }
+ }
+
+ var customPlatformSettingsToRemoveMap = new System.Collections.Generic.Dictionary();
+ foreach (var pair in customPlatformSettingsMap)
+ {
+ var instantiatedCustomPlatform = pair.Key;
+ if (!allCustomPlatforms.Contains(instantiatedCustomPlatform))
+ customPlatformSettingsToRemoveMap.Add(instantiatedCustomPlatform, pair.Value);
+ }
+
+ foreach (var pair in customPlatformSettingsToRemoveMap)
+ {
+ var instantiatedCustomPlatform = pair.Key;
+ customPlatformSettingsMap.Remove(instantiatedCustomPlatform);
+
+ var parentPath = System.IO.Path.Combine("Assets", AkWwiseEditorSettings.WwiseScriptableObjectRelativePath);
+ var assetPath = System.IO.Path.Combine(parentPath, instantiatedCustomPlatform + ".asset");
+ UnityEditor.AssetDatabase.DeleteAsset(assetPath);
+ updated = true;
+ }
+
+ if (updated)
+ {
+ instance.PlatformSettingsNameList.Clear();
+ instance.PlatformSettingsList.Clear();
+
+ AkUtilities.RepaintInspector();
+
+ var keys = System.Linq.Enumerable.ToList(customPlatformSettingsMap.Keys);
+ keys.Sort();
+
+ foreach (var key in keys)
+ {
+ instance.PlatformSettingsNameList.Add(key);
+ instance.PlatformSettingsList.Add(customPlatformSettingsMap[key]);
+ }
+
+ UnityEditor.EditorUtility.SetDirty(instance);
+ UnityEditor.AssetDatabase.SaveAssets();
+ AkUtilities.RepaintInspector();
+ }
+ }
+
+#region Custom Editor
+#if UNITY_2018_3_OR_NEWER
+ class SettingsProvider : UnityEditor.SettingsProvider
+#else
+ [UnityEditor.MenuItem("Edit/Wwise Initialization Settings..", false, (int)AkWwiseWindowOrder.WwiseInitializationSettings)]
+ private static void WwiseInitializationSettingsMenuItem()
+ {
+ UnityEditor.Selection.activeObject = Instance;
+ }
+
+ [UnityEditor.CustomEditor(typeof(AkWwiseInitializationSettings))]
+ public class Editor : UnityEditor.Editor
+#endif
+ {
+#if UNITY_2018_3_OR_NEWER
+ private SettingsProvider(string path) : base(path, UnityEditor.SettingsScope.Project) { }
+
+ [UnityEditor.SettingsProvider]
+ public static UnityEditor.SettingsProvider CreateMyCustomSettingsProvider()
+ {
+ return new SettingsProvider("Project/Wwise Initialization");
+ }
+
+ private UnityEditor.SerializedObject serializedObject;
+#endif
+
+ private const string UserSettings = "UserSettings";
+ private const string AdvancedSettings = "AdvancedSettings";
+ private const string CommsSettings = "CommsSettings";
+
+ private System.Collections.Generic.List PreviousPlatformSettingsList
+ = new System.Collections.Generic.List();
+
+ private System.Collections.Generic.List GlobalSettingsGroups
+ = new System.Collections.Generic.List();
+
+ private System.Collections.Generic.Dictionary> GlobalGroupSettingsMap
+ = new System.Collections.Generic.Dictionary>();
+
+ private System.Collections.Generic.List PlatformSpecificSettingsGroups
+ = new System.Collections.Generic.List();
+
+#if UNITY_2019_1_OR_NEWER
+ public override void OnActivate(string searchContext, UnityEngine.UIElements.VisualElement rootElement)
+#elif UNITY_2018_3_OR_NEWER
+ public override void OnActivate(string searchContext, UnityEngine.Experimental.UIElements.VisualElement rootElement)
+#else
+ public void OnEnable()
+#endif
+ {
+ UpdateRequired = true;
+
+#if UNITY_2018_3_OR_NEWER
+ serializedObject = new UnityEditor.SerializedObject(Instance);
+#endif
+
+ GlobalGroupSettingsMap.Clear();
+ foreach (var settingsGroup in new[] { UserSettings, AdvancedSettings, CommsSettings })
+ {
+ var property = serializedObject.FindProperty(settingsGroup);
+ if (property == null)
+ return;
+
+ var type = System.Type.GetType(property.type);
+ foreach (var field in type.GetFields())
+ {
+ var childProperty = property.FindPropertyRelative(field.Name);
+ if (childProperty == null)
+ continue;
+
+ System.Collections.Generic.HashSet hashSet = null;
+ if (!GlobalGroupSettingsMap.TryGetValue(settingsGroup, out hashSet))
+ {
+ hashSet = new System.Collections.Generic.HashSet();
+ GlobalGroupSettingsMap.Add(settingsGroup, hashSet);
+ }
+
+ hashSet.Add(childProperty.propertyPath);
+ }
+ }
+
+ GlobalSettingsGroups.Clear();
+ GlobalSettingsGroups.Add(new GlobalSettingsGroupData(UserSettings, serializedObject, "", GlobalGroupSettingsMap[UserSettings]));
+ GlobalSettingsGroups.Add(new GlobalSettingsGroupData(AdvancedSettings, serializedObject, "", GlobalGroupSettingsMap[AdvancedSettings]));
+ GlobalSettingsGroups.Add(new GlobalSettingsGroupData(CommsSettings, serializedObject, "Wwise Communication Settings", GlobalGroupSettingsMap[CommsSettings]));
+ }
+
+#if UNITY_2018_3_OR_NEWER
+ public override void OnGUI(string searchContext)
+#else
+ public override void OnInspectorGUI()
+#endif
+ {
+ if (!Instance.IsValid)
+ {
+ UnityEditor.EditorGUILayout.HelpBox("Platform names do not correspond with their associated settings data.", UnityEditor.MessageType.Error);
+ return;
+ }
+
+ var labelWidth = UnityEditor.EditorGUIUtility.labelWidth;
+ UnityEditor.EditorGUIUtility.labelWidth += 100;
+
+ UpdatePlatformData();
+ DrawHelpBox();
+
+ UnityEditor.EditorGUILayout.Space();
+
+ if (PreviousPlatformSettingsList.Count == 0)
+ {
+ if (!AkUtilities.IsWwiseProjectAvailable)
+ {
+ UnityEditor.EditorGUILayout.HelpBox("The Wwise project is not available. Please specify its location within the Wwise Settings.", UnityEditor.MessageType.Warning);
+ return;
+ }
+
+ UnityEditor.EditorGUILayout.HelpBox("No Wwise platforms have been added. Editing global settings.", UnityEditor.MessageType.Warning);
+ UnityEditor.EditorGUILayout.Space();
+ }
+
+ UnityEditor.EditorGUI.BeginChangeCheck();
+
+ serializedObject.Update();
+
+ foreach (var setting in GlobalSettingsGroups)
+ setting.Draw();
+
+ serializedObject.ApplyModifiedProperties();
+
+ UnityEditor.EditorGUILayout.Space();
+
+ foreach (var setting in PlatformSpecificSettingsGroups)
+ setting.Draw();
+
+ if (UnityEditor.EditorGUI.EndChangeCheck())
+ Instance.ActiveSettingsHaveChanged = true;
+
+ UnityEditor.EditorGUIUtility.labelWidth = labelWidth;
+ }
+
+ private bool UpdateRequired = false;
+
+ private void UpdatePlatformData()
+ {
+ if (!UpdateRequired)
+ {
+ var firstNotSecond = System.Linq.Enumerable.Except(PreviousPlatformSettingsList, Instance.PlatformSettingsList);
+ var secondNotFirst = System.Linq.Enumerable.Except(Instance.PlatformSettingsList, PreviousPlatformSettingsList);
+ var refreshRequired = System.Linq.Enumerable.Any(firstNotSecond) || System.Linq.Enumerable.Any(secondNotFirst);
+ if (!refreshRequired)
+ {
+ foreach (var platformSettings in Instance.PlatformSettingsList)
+ {
+ if (platformSettings == null)
+ {
+ refreshRequired = true;
+ break;
+ }
+ }
+
+ if (!refreshRequired)
+ return;
+ }
+ }
+ else
+ {
+ UpdateRequired = false;
+ }
+
+ PreviousPlatformSettingsList.Clear();
+ PlatformSpecificSettingsGroups.Clear();
+
+ var platformNames = new System.Collections.Generic.HashSet();
+
+ foreach (var setting in GlobalSettingsGroups)
+ setting.ClearPlatformData();
+
+ for (var i = 0; i < Instance.Count; ++i)
+ {
+ var platformSettings = Instance.PlatformSettingsList[i];
+ if (!platformSettings)
+ continue;
+
+ var platformName = Instance.PlatformSettingsNameList[i];
+ if (string.IsNullOrEmpty(platformName))
+ continue;
+
+ if (!platformNames.Contains(platformName))
+ {
+ platformNames.Add(platformName);
+ PreviousPlatformSettingsList.Add(platformSettings);
+
+ var platform = new PlatformData
+ {
+ Settings = platformSettings,
+ Name = platformName,
+ SerializedObject = new UnityEditor.SerializedObject(platformSettings)
+ };
+
+ foreach (var setting in GlobalSettingsGroups)
+ setting.SetupPlatform(platform);
+
+ foreach (var settingsGroup in new[] { UserSettings, AdvancedSettings, CommsSettings })
+ PlatformSpecificSettingsGroups.Add(new PlatformSpecificSettingsData(platform, settingsGroup, GlobalGroupSettingsMap[settingsGroup]));
+ }
+ }
+ }
+
+ private static void DrawHelpBox()
+ {
+ if (Instance.ActiveSettingsHaveChanged)
+ {
+ var hash = GetHashOfActiveSettings();
+ Instance.ActiveSettingsHaveChanged = string.IsNullOrEmpty(hash) || hash != Instance.ActiveSettingsHash;
+ }
+
+ var helpBoxText = "No changes have been made. Please be advised that changes will take effect once the Editor exits play mode.";
+ var messageType = UnityEditor.MessageType.Info;
+
+ if (UnityEditor.EditorApplication.isPlayingOrWillChangePlaymode || UnityEditor.EditorApplication.isPlaying || UnityEditor.BuildPipeline.isBuildingPlayer)
+ {
+ helpBoxText = "Changes will take effect once the Editor exits play mode.";
+ }
+ else if (Instance.ActiveSettingsHaveChanged)
+ {
+ helpBoxText = "Changes have been made and will take effect once the Editor exits play mode.";
+ messageType = UnityEditor.MessageType.Warning;
+ }
+
+ UnityEditor.EditorGUILayout.HelpBox(helpBoxText, messageType);
+ }
+
+ private static System.Collections.Generic.IEnumerable GetChildren(UnityEditor.SerializedProperty property)
+ {
+ property = property.Copy();
+ var nextElement = property.Copy();
+ bool hasNextElement = nextElement.Next(false);
+ if (!hasNextElement)
+ nextElement = null;
+
+ if (!property.Next(true))
+ yield break;
+
+ while (!UnityEditor.SerializedProperty.EqualContents(property, nextElement))
+ {
+ yield return property.Copy();
+
+ if (!property.Next(false))
+ break;
+ }
+ }
+
+ private static bool DrawFoldout(UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, UnityEngine.FontStyle fontStyle)
+ {
+ var settingsFoldoutStyle = new UnityEngine.GUIStyle(UnityEditor.EditorStyles.foldout) { fontStyle = fontStyle };
+ var value = UnityEditor.EditorGUILayout.Foldout(property.isExpanded, label, true, settingsFoldoutStyle);
+ property.isExpanded = value;
+ return value;
+ }
+
+ private class PlatformData
+ {
+ public PlatformSettings Settings;
+ public UnityEditor.SerializedObject SerializedObject;
+ public string Name;
+ }
+
+ private class GlobalSettingsGroupData
+ {
+ string ToolTip;
+ string DisplayName;
+ UnityEditor.SerializedProperty Property;
+ System.Collections.Generic.List SettingsList;
+
+ public GlobalSettingsGroupData(string settingsGroup, UnityEditor.SerializedObject serializedObject, string displayName, System.Collections.Generic.HashSet propertyHashSet)
+ {
+ Property = serializedObject.FindProperty(settingsGroup);
+ if (Property == null)
+ return;
+
+ ToolTip = AkUtilities.GetTooltip(Property);
+ DisplayName = string.IsNullOrEmpty(displayName) ? ("Common " + Property.displayName) : displayName;
+ SettingsList = new System.Collections.Generic.List();
+
+ foreach (var childPropertyPath in propertyHashSet)
+ {
+ var childProperty = serializedObject.FindProperty(childPropertyPath);
+ if (childProperty == null)
+ continue;
+
+ SettingsList.Add(new GlobalSettingData(childProperty, childPropertyPath));
+ }
+ }
+
+ public void SetupPlatform(PlatformData platform)
+ {
+ if (SettingsList == null || SettingsList.Count == 0)
+ return;
+
+ foreach (var settings in SettingsList)
+ settings.SetupPlatform(platform);
+ }
+
+ public void ClearPlatformData()
+ {
+ if (SettingsList != null)
+ foreach (var setting in SettingsList)
+ setting.ClearPlatformData();
+ }
+
+ public void Draw()
+ {
+ if (SettingsList == null || SettingsList.Count == 0)
+ return;
+
+ using (var verticalScope = new UnityEditor.EditorGUILayout.VerticalScope("box"))
+ {
+#if !UNITY_2018_3_OR_NEWER
+ ++UnityEditor.EditorGUI.indentLevel;
+#endif
+
+ var label = new UnityEngine.GUIContent { text = DisplayName, tooltip = ToolTip };
+ if (DrawFoldout(Property, label, UnityEngine.FontStyle.Bold))
+ foreach (var settings in SettingsList)
+ settings.Draw();
+
+#if !UNITY_2018_3_OR_NEWER
+ --UnityEditor.EditorGUI.indentLevel;
+#endif
+ }
+ }
+
+ public class GlobalSettingData
+ {
+ string ToolTip;
+ readonly string DisplayName;
+ readonly string PropertyPath;
+ readonly bool IsStringValue;
+ UnityEditor.SerializedProperty Property;
+ readonly UnityEditor.SerializedPropertyType PropertyType;
+ System.Collections.Generic.List SettingsList;
+ System.Collections.Generic.List Children;
+
+ bool HasChildren { get { return Children != null && Children.Count > 0; } }
+
+ public GlobalSettingData(UnityEditor.SerializedProperty property, string propertyPath)
+ {
+ Property = property;
+ PropertyType = property.propertyType;
+ PropertyPath = propertyPath;
+ DisplayName = property.displayName;
+ ToolTip = AkUtilities.GetTooltip(property);
+
+ if (property.type == "string")
+ {
+ IsStringValue = true;
+ }
+ else if (property.hasChildren)
+ {
+ Children = new System.Collections.Generic.List();
+ foreach (var child in GetChildren(property))
+ Children.Add(new GlobalSettingData(child, child.propertyPath));
+ }
+ }
+
+ public void SetupPlatform(PlatformData platform)
+ {
+ if (HasChildren)
+ {
+ foreach (var child in Children)
+ child.SetupPlatform(platform);
+ }
+ else
+ {
+ if (platform.Settings.IsPropertyIgnored(PropertyPath))
+ return;
+
+ if (SettingsList == null)
+ SettingsList = new System.Collections.Generic.List();
+
+ SettingsList.Add(new PlatformSettingData(platform, PropertyPath, ToolTip));
+ }
+ }
+
+ public void ClearPlatformData()
+ {
+ SettingsList = null;
+
+ if (HasChildren)
+ foreach (var child in Children)
+ child.ClearPlatformData();
+ }
+
+ private bool AnyChildUsesGlobalValue
+ {
+ get
+ {
+ if (Children != null && Children.Count > 0)
+ {
+ foreach (var child in Children)
+ if (child.AnyChildUsesGlobalValue)
+ return true;
+
+ return false;
+ }
+
+ if (SettingsList == null || SettingsList.Count == 0)
+ return true;
+
+ foreach (var settings in SettingsList)
+ if (settings.Platform.Settings.GlobalPropertyHashSet.Contains(PropertyPath))
+ return true;
+
+ return false;
+ }
+ }
+
+ private bool AllChildrenAreEqual
+ {
+ get
+ {
+ if (Children != null && Children.Count > 0)
+ {
+ foreach (var child in Children)
+ if (!child.AllChildrenAreEqual)
+ return false;
+
+ return true;
+ }
+
+ if (SettingsList == null)
+ return true;
+
+ switch (PropertyType)
+ {
+ case UnityEditor.SerializedPropertyType.Boolean:
+ var boolValue = Property.boolValue;
+ foreach (var settings in SettingsList)
+ if (boolValue != settings.Property.boolValue)
+ return false;
+ return true;
+
+ case UnityEditor.SerializedPropertyType.Enum:
+ var enumValueIndex = Property.enumValueIndex;
+ foreach (var settings in SettingsList)
+ if (enumValueIndex != settings.Property.enumValueIndex)
+ return false;
+ return true;
+
+ case UnityEditor.SerializedPropertyType.Float:
+ var floatValue = Property.floatValue;
+ foreach (var settings in SettingsList)
+ if (floatValue != settings.Property.floatValue)
+ return false;
+ return true;
+
+ case UnityEditor.SerializedPropertyType.Integer:
+ var longValue = Property.longValue;
+ foreach (var settings in SettingsList)
+ if (longValue != settings.Property.longValue)
+ return false;
+ return true;
+
+ case UnityEditor.SerializedPropertyType.String:
+ var stringValue = Property.stringValue;
+ foreach (var settings in SettingsList)
+ if (stringValue != settings.Property.stringValue)
+ return false;
+ return true;
+ }
+
+ return true;
+ }
+ }
+
+ public void Draw()
+ {
+ var hasChanged = false;
+
+ var isString = IsStringValue;
+ var hasChildren = HasChildren;
+
+ if (!hasChildren && (SettingsList == null || SettingsList.Count == 0))
+ return;
+
+ using (var verticalScope = new UnityEditor.EditorGUILayout.VerticalScope())
+ {
+ var indentLevel = UnityEditor.EditorGUI.indentLevel++;
+ var forceExpand = !AnyChildUsesGlobalValue;
+ var label = new UnityEngine.GUIContent(DisplayName, ToolTip);
+
+ if (hasChildren)
+ {
+ DrawFoldout(Property, label, AllChildrenAreEqual ? UnityEngine.FontStyle.Normal : UnityEngine.FontStyle.Italic);
+ }
+ else if (!forceExpand)
+ {
+ DrawFoldout(Property, label, AllChildrenAreEqual ? UnityEngine.FontStyle.Normal : UnityEngine.FontStyle.Italic);
+
+ UnityEditor.EditorGUI.BeginChangeCheck();
+ var labelWithTooltipOnly = new UnityEngine.GUIContent { tooltip = ToolTip };
+ if (isString)
+ UnityEditor.EditorGUILayout.DelayedTextField(Property, labelWithTooltipOnly);
+ else
+ UnityEditor.EditorGUILayout.PropertyField(Property, labelWithTooltipOnly, false);
+ hasChanged = UnityEditor.EditorGUI.EndChangeCheck();
+ }
+ else
+ {
+ UnityEditor.EditorGUILayout.LabelField(label);
+ }
+
+ if (hasChildren)
+ {
+ if (Property.isExpanded)
+ foreach (var child in Children)
+ child.Draw();
+ }
+ else if (forceExpand || Property.isExpanded)
+ {
+ foreach (var settings in SettingsList)
+ settings.Draw(Property, PropertyPath, forceExpand, ToolTip);
+ }
+ else if (hasChanged)
+ {
+ foreach (var settings in SettingsList)
+ if (settings.Platform.Settings.GlobalPropertyHashSet.Contains(PropertyPath))
+ settings.UpdateValue(Property);
+ }
+
+ UnityEditor.EditorGUI.indentLevel = indentLevel;
+ }
+ }
+
+ public class PlatformSettingData
+ {
+ public UnityEditor.SerializedProperty Property;
+ public PlatformData Platform;
+
+ public PlatformSettingData(PlatformData platform, string propertyPath, string tooltip)
+ {
+ Platform = platform;
+ Property = Platform.SerializedObject.FindProperty(propertyPath);
+ }
+
+ public void UpdateValue(UnityEditor.SerializedProperty globalProperty)
+ {
+ if (Property == null)
+ return;
+
+ Platform.SerializedObject.Update();
+ PropagateValue(Property, globalProperty);
+ Platform.SerializedObject.ApplyModifiedProperties();
+ }
+
+ public void Draw(UnityEditor.SerializedProperty globalProperty, string propertyPath, bool forceExpand, string tooltip)
+ {
+ if (Property == null)
+ return;
+
+ var indentLevel = UnityEditor.EditorGUI.indentLevel++;
+ var position = UnityEngine.GUILayoutUtility.GetRect(UnityEngine.GUIContent.none, UnityEngine.GUIStyle.none, UnityEngine.GUILayout.Height(UnityEditor.EditorGUIUtility.singleLineHeight));
+
+ var wasUsingGlobalValue = Platform.Settings.GlobalPropertyHashSet.Contains(propertyPath);
+ var width = position.width;
+ if (!wasUsingGlobalValue)
+ position.width = UnityEditor.EditorGUIUtility.labelWidth;
+
+ var isUsingGlobalValue = UnityEditor.EditorGUI.ToggleLeft(position, new UnityEngine.GUIContent(Platform.Name, tooltip), wasUsingGlobalValue);
+ position.width = width;
+
+ if (wasUsingGlobalValue != isUsingGlobalValue)
+ Platform.Settings.SetUseGlobalPropertyValue(propertyPath, isUsingGlobalValue);
+
+ if (!isUsingGlobalValue)
+ {
+ position.x += UnityEditor.EditorGUIUtility.labelWidth;
+ position.width -= UnityEditor.EditorGUIUtility.labelWidth;
+ UnityEditor.EditorGUI.indentLevel = 1; // Not zero, so that a control handle is available
+
+ Platform.SerializedObject.Update();
+ UnityEditor.EditorGUI.PropertyField(position, Property, new UnityEngine.GUIContent { tooltip = tooltip });
+ Platform.SerializedObject.ApplyModifiedProperties();
+ }
+ else if (forceExpand)
+ PropagateValue(globalProperty, Property);
+ else
+ UpdateValue(globalProperty);
+
+ UnityEditor.EditorGUI.indentLevel = indentLevel;
+ }
+
+ private static void PropagateValue(UnityEditor.SerializedProperty x, UnityEditor.SerializedProperty y)
+ {
+ //if (x.propertyType != y.propertyType)
+ // return;
+
+ switch (x.propertyType)
+ {
+ case UnityEditor.SerializedPropertyType.Boolean:
+ x.boolValue = y.boolValue;
+ break;
+
+ case UnityEditor.SerializedPropertyType.Enum:
+ x.longValue = y.longValue;
+ break;
+
+ case UnityEditor.SerializedPropertyType.Float:
+ x.floatValue = y.floatValue;
+ break;
+
+ case UnityEditor.SerializedPropertyType.Integer:
+ x.longValue = y.longValue;
+ break;
+
+ case UnityEditor.SerializedPropertyType.String:
+ x.stringValue = y.stringValue;
+ break;
+
+ case UnityEditor.SerializedPropertyType.Generic:
+ if (x.type == y.type)
+ {
+ var XProperty = x.Copy();
+ var YProperty = y.Copy();
+ var XEndProperty = x.Copy();
+ var YEndProperty = y.Copy();
+ XEndProperty = XEndProperty.Next(false) ? XEndProperty : null;
+ YEndProperty = YEndProperty.Next(false) ? YEndProperty : null;
+
+ while (XProperty.Next(true) && YProperty.Next(true) && !UnityEditor.SerializedProperty.EqualContents(XProperty, XEndProperty) && !UnityEditor.SerializedProperty.EqualContents(YProperty, YEndProperty))
+ PropagateValue(XProperty, YProperty);
+ }
+ break;
+ }
+ }
+ }
+ }
+ }
+
+ private class PlatformSpecificSettingsData
+ {
+ public string ToolTip;
+ public UnityEditor.SerializedProperty Property;
+ public System.Collections.Generic.List SettingsList;
+ public PlatformData Platform;
+
+ public PlatformSpecificSettingsData(PlatformData platform, string propertyPath, System.Collections.Generic.HashSet globalPropertyHashSet)
+ {
+ Platform = platform;
+ Property = Platform.SerializedObject.FindProperty(propertyPath);
+ if (Property == null)
+ return;
+
+ ToolTip = AkUtilities.GetTooltip(Property);
+
+ System.Collections.Generic.HashSet hashSet = new System.Collections.Generic.HashSet();
+ foreach (var childProperty in GetChildren(Property))
+ hashSet.Add(childProperty.propertyPath);
+
+ var remainder = System.Linq.Enumerable.ToArray(System.Linq.Enumerable.Except(hashSet, globalPropertyHashSet));
+ if (remainder.Length > 0)
+ SettingsList = new System.Collections.Generic.List();
+
+ foreach (var childPropertyPath in remainder)
+ {
+ var childProperty = Platform.SerializedObject.FindProperty(childPropertyPath);
+ if (childProperty != null)
+ SettingsList.Add(childProperty);
+ }
+ }
+
+ public void Draw()
+ {
+ if (SettingsList == null || SettingsList.Count == 0)
+ return;
+
+ Platform.SerializedObject.Update();
+
+ using (new UnityEditor.EditorGUILayout.VerticalScope("box"))
+ {
+#if !UNITY_2018_3_OR_NEWER
+ ++UnityEditor.EditorGUI.indentLevel;
+#endif
+
+ var label = new UnityEngine.GUIContent(Platform.Name + " Specific " + Property.displayName, ToolTip);
+ if (DrawFoldout(Property, label, UnityEngine.FontStyle.Bold))
+ {
+ ++UnityEditor.EditorGUI.indentLevel;
+
+ foreach (var child in SettingsList)
+ UnityEditor.EditorGUILayout.PropertyField(child, true);
+
+ --UnityEditor.EditorGUI.indentLevel;
+ }
+
+#if !UNITY_2018_3_OR_NEWER
+ --UnityEditor.EditorGUI.indentLevel;
+#endif
+ }
+
+ Platform.SerializedObject.ApplyModifiedProperties();
+ }
+ }
+ }
+#endregion
+#endif
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseInitializationSettings.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseInitializationSettings.cs.meta
new file mode 100644
index 000000000..f1af3ffd0
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseInitializationSettings.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a82173ad83f26b94287e79474c64c613
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseXMLWatcher.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseXMLWatcher.cs
new file mode 100644
index 000000000..691f21982
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseXMLWatcher.cs
@@ -0,0 +1,99 @@
+#if UNITY_EDITOR
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+using System.Threading;
+
+public class AkWwiseXMLWatcher
+{
+ private static readonly AkWwiseXMLWatcher instance = new AkWwiseXMLWatcher();
+ public static AkWwiseXMLWatcher Instance { get { return instance; } }
+
+ private System.IO.FileSystemWatcher XmlWatcher;
+ private bool ExceptionOccurred;
+ private bool fireEvent;
+
+ public event System.Action XMLUpdated;
+ public System.Func PopulateXML;
+ private string basePath;
+
+ private AkWwiseXMLWatcher()
+ {
+ if (UnityEditor.EditorApplication.isPlayingOrWillChangePlaymode && !UnityEditor.EditorApplication.isPlaying)
+ {
+ return;
+ }
+
+ StartWatcher();
+ }
+
+ public void StartWatcher()
+ {
+ basePath = AkBasePathGetter.GetPlatformBasePath();
+ new Thread(CreateWatcher).Start();
+ UnityEditor.EditorApplication.update += OnEditorUpdate;
+ }
+
+ public void CreateWatcher()
+ {
+
+ try
+ {
+ if (XmlWatcher != null)
+ {
+ XmlWatcher.Dispose();
+ }
+
+ XmlWatcher = new System.IO.FileSystemWatcher(basePath) {Filter = "*.xml", IncludeSubdirectories = true, };
+ // Event handlers that are watching for specific event
+ XmlWatcher.Created += RaisePopulateFlag;
+ XmlWatcher.Changed += RaisePopulateFlag;
+
+ XmlWatcher.NotifyFilter = System.IO.NotifyFilters.LastWrite;
+ XmlWatcher.EnableRaisingEvents = true;
+ ExceptionOccurred = false;
+ }
+ catch
+ {
+ ExceptionOccurred = true;
+ }
+ }
+
+
+ private void OnEditorUpdate()
+ {
+ var logWarnings = AkBasePathGetter.LogWarnings;
+ AkBasePathGetter.LogWarnings = false;
+ basePath = AkBasePathGetter.GetPlatformBasePath();
+ AkBasePathGetter.LogWarnings = logWarnings;
+
+ if (ExceptionOccurred || basePath != XmlWatcher?.Path)
+ new Thread(CreateWatcher).Start();
+
+ if (!fireEvent)
+ return;
+
+ fireEvent = false;
+
+ var populate = PopulateXML;
+ if (populate == null || !populate())
+ return;
+
+ var callback = XMLUpdated;
+ if (callback != null)
+ {
+ callback();
+ }
+
+ AkBankManager.ReloadAllBanks();
+ }
+
+ private void RaisePopulateFlag(object sender, System.IO.FileSystemEventArgs e)
+ {
+ fireEvent = true;
+ }
+}
+#endif
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseXMLWatcher.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseXMLWatcher.cs.meta
new file mode 100644
index 000000000..ec1d115fb
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/AkWwiseXMLWatcher.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 16b50cec38ff5c04f9272f5dd9065bcd
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays.meta
new file mode 100644
index 000000000..d7286f5c2
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 3eabe256e07fd08409d2783bd87ebdba
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkAcousticSurfaceArray.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkAcousticSurfaceArray.cs
new file mode 100644
index 000000000..c8fd2181c
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkAcousticSurfaceArray.cs
@@ -0,0 +1,34 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2012 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkAcousticSurfaceArray : AkBaseArray
+{
+ public AkAcousticSurfaceArray(int count) : base(count)
+ {
+ }
+
+ protected override int StructureSize
+ {
+ get { return AkSoundEnginePINVOKE.CSharp_AkAcousticSurface_GetSizeOf(); }
+ }
+
+ protected override void DefaultConstructAtIntPtr(System.IntPtr address)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkAcousticSurface_Clear(address);
+ }
+
+ protected override AkAcousticSurface CreateNewReferenceFromIntPtr(System.IntPtr address)
+ {
+ return new AkAcousticSurface(address, false);
+ }
+
+ protected override void CloneIntoReferenceFromIntPtr(System.IntPtr address, AkAcousticSurface other)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkAcousticSurface_Clone(address, AkAcousticSurface.getCPtr(other));
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkAcousticSurfaceArray.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkAcousticSurfaceArray.cs.meta
new file mode 100644
index 000000000..9776fa804
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkAcousticSurfaceArray.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a78ad22743298314cb4f9124cece8d7d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkAuxSendArray.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkAuxSendArray.cs
new file mode 100644
index 000000000..755f5882b
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkAuxSendArray.cs
@@ -0,0 +1,137 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2012 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkAuxSendArray : System.IDisposable
+{
+ private const int MAX_COUNT = AkEnvironment.MAX_NB_ENVIRONMENTS;
+ private readonly int SIZE_OF_AKAUXSENDVALUE = AkSoundEnginePINVOKE.CSharp_AkAuxSendValue_GetSizeOf();
+
+ private System.IntPtr m_Buffer;
+ private int m_Count;
+
+ public AkAuxSendArray()
+ {
+ m_Buffer = System.Runtime.InteropServices.Marshal.AllocHGlobal(MAX_COUNT * SIZE_OF_AKAUXSENDVALUE);
+ m_Count = 0;
+ }
+
+ public AkAuxSendValue this[int index]
+ {
+ get
+ {
+ if (index >= m_Count)
+ throw new System.IndexOutOfRangeException("Out of range access in AkAuxSendArray");
+
+ return new AkAuxSendValue(GetObjectPtr(index), false);
+ }
+ }
+
+ public bool isFull
+ {
+ get { return m_Count >= MAX_COUNT || m_Buffer == System.IntPtr.Zero; }
+ }
+
+ public void Dispose()
+ {
+ if (m_Buffer != System.IntPtr.Zero)
+ {
+ System.Runtime.InteropServices.Marshal.FreeHGlobal(m_Buffer);
+ m_Buffer = System.IntPtr.Zero;
+ m_Count = 0;
+ }
+ }
+
+ ~AkAuxSendArray()
+ {
+ Dispose();
+ }
+
+ public void Reset()
+ {
+ m_Count = 0;
+ }
+
+ public bool Add(UnityEngine.GameObject in_listenerGameObj, uint in_AuxBusID, float in_fValue)
+ {
+ if (isFull)
+ return false;
+
+ AkSoundEnginePINVOKE.CSharp_AkAuxSendValue_Set(GetObjectPtr(m_Count),
+ AkSoundEngine.GetAkGameObjectID(in_listenerGameObj), in_AuxBusID, in_fValue);
+ m_Count++;
+ return true;
+ }
+
+ public bool Add(uint in_AuxBusID, float in_fValue)
+ {
+ if (isFull)
+ return false;
+
+ AkSoundEnginePINVOKE.CSharp_AkAuxSendValue_Set(GetObjectPtr(m_Count), AkSoundEngine.AK_INVALID_GAME_OBJECT,
+ in_AuxBusID, in_fValue);
+ m_Count++;
+ return true;
+ }
+
+ public bool Contains(UnityEngine.GameObject in_listenerGameObj, uint in_AuxBusID)
+ {
+ if (m_Buffer == System.IntPtr.Zero)
+ return false;
+
+ for (var i = 0; i < m_Count; i++)
+ {
+ if (AkSoundEnginePINVOKE.CSharp_AkAuxSendValue_IsSame(GetObjectPtr(i),
+ AkSoundEngine.GetAkGameObjectID(in_listenerGameObj), in_AuxBusID))
+ return true;
+ }
+
+ return false;
+ }
+
+ public bool Contains(uint in_AuxBusID)
+ {
+ if (m_Buffer == System.IntPtr.Zero)
+ return false;
+
+ for (var i = 0; i < m_Count; i++)
+ {
+ if (AkSoundEnginePINVOKE.CSharp_AkAuxSendValue_IsSame(GetObjectPtr(i), AkSoundEngine.AK_INVALID_GAME_OBJECT, in_AuxBusID))
+ return true;
+ }
+
+ return false;
+ }
+
+ public AKRESULT SetValues(UnityEngine.GameObject gameObject)
+ {
+ return (AKRESULT) AkSoundEnginePINVOKE.CSharp_SetGameObjectAuxSendValues(AkSoundEngine.GetAkGameObjectID(gameObject), m_Buffer, (uint) m_Count);
+ }
+
+ public AKRESULT GetValues(UnityEngine.GameObject gameObject)
+ {
+ uint count = MAX_COUNT;
+ var res = (AKRESULT) AkSoundEnginePINVOKE.CSharp_GetGameObjectAuxSendValues(AkSoundEngine.GetAkGameObjectID(gameObject), m_Buffer, ref count);
+ m_Count = (int) count;
+ return res;
+ }
+
+ public System.IntPtr GetBuffer()
+ {
+ return m_Buffer;
+ }
+
+ public int Count()
+ {
+ return m_Count;
+ }
+
+ private System.IntPtr GetObjectPtr(int index)
+ {
+ return (System.IntPtr) (m_Buffer.ToInt64() + SIZE_OF_AKAUXSENDVALUE * index);
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkAuxSendArray.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkAuxSendArray.cs.meta
new file mode 100644
index 000000000..2664e3fe1
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkAuxSendArray.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 3d3e766880bd0c54ca592daa80206013
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkBaseArray.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkBaseArray.cs
new file mode 100644
index 000000000..dcd8f934d
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkBaseArray.cs
@@ -0,0 +1,77 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2012 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public abstract class AkBaseArray : System.IDisposable
+{
+ public AkBaseArray(int capacity)
+ {
+ m_Buffer = System.Runtime.InteropServices.Marshal.AllocHGlobal(capacity * StructureSize);
+ if (m_Buffer != System.IntPtr.Zero)
+ {
+ Capacity = capacity;
+
+ for (var index = 0; index < capacity; ++index)
+ DefaultConstructAtIntPtr(GetObjectPtr(index));
+ }
+ }
+
+ public void Dispose()
+ {
+ if (m_Buffer != System.IntPtr.Zero)
+ {
+ for (var index = 0; index < Capacity; ++index)
+ ReleaseAllocatedMemoryFromReferenceAtIntPtr(GetObjectPtr(index));
+
+ System.Runtime.InteropServices.Marshal.FreeHGlobal(m_Buffer);
+ m_Buffer = System.IntPtr.Zero;
+ Capacity = 0;
+ }
+ }
+
+ ~AkBaseArray() { Dispose(); }
+
+ public int Capacity { get; private set; }
+
+ public virtual int Count() { return Capacity; }
+
+ protected abstract int StructureSize { get; }
+
+ ///
+ /// This method is called for each element of the array when the array is constructed. It should be used to clear the memory associated with an element so that it will be seen as if it had been default constructed.
+ ///
+ /// The address of the element
+ protected virtual void DefaultConstructAtIntPtr(System.IntPtr address) { }
+
+ ///
+ /// This method is called for each element of the array when the array is disposed. It should be used to delete memory allocated by elements.
+ ///
+ /// The address of the element
+ protected virtual void ReleaseAllocatedMemoryFromReferenceAtIntPtr(System.IntPtr address) { }
+
+ protected abstract T CreateNewReferenceFromIntPtr(System.IntPtr address);
+
+ protected abstract void CloneIntoReferenceFromIntPtr(System.IntPtr address, T other);
+
+ public T this[int index]
+ {
+ get { return CreateNewReferenceFromIntPtr(GetObjectPtr(index)); }
+ set { CloneIntoReferenceFromIntPtr(GetObjectPtr(index), value); }
+ }
+
+ public System.IntPtr GetBuffer() { return m_Buffer; }
+
+ private System.IntPtr m_Buffer;
+
+ protected System.IntPtr GetObjectPtr(int index)
+ {
+ if (index >= Capacity)
+ throw new System.IndexOutOfRangeException("Out of range access in " + GetType().Name);
+
+ return (System.IntPtr)(m_Buffer.ToInt64() + StructureSize * index);
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkBaseArray.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkBaseArray.cs.meta
new file mode 100644
index 000000000..5c808e2a0
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkBaseArray.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a1e092f59a070584f9661e187233192d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkChannelEmitterArray.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkChannelEmitterArray.cs
new file mode 100644
index 000000000..1072fdf70
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkChannelEmitterArray.cs
@@ -0,0 +1,86 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2012 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkChannelEmitterArray : System.IDisposable
+{
+ public System.IntPtr m_Buffer;
+ private System.IntPtr m_Current;
+ private uint m_MaxCount;
+
+ public AkChannelEmitterArray(uint in_Count)
+ {
+ // Three vectors of 3 floats, plus a mask
+ m_Buffer = System.Runtime.InteropServices.Marshal.AllocHGlobal((int) in_Count * (sizeof(float) * 9 + sizeof(uint)));
+ m_Current = m_Buffer;
+ m_MaxCount = in_Count;
+ Count = 0;
+ }
+
+ public uint Count { get; private set; }
+
+ public void Dispose()
+ {
+ if (m_Buffer != System.IntPtr.Zero)
+ {
+ System.Runtime.InteropServices.Marshal.FreeHGlobal(m_Buffer);
+ m_Buffer = System.IntPtr.Zero;
+ m_MaxCount = 0;
+ }
+ }
+
+ ~AkChannelEmitterArray()
+ {
+ Dispose();
+ }
+
+ public void Reset()
+ {
+ m_Current = m_Buffer;
+ Count = 0;
+ }
+
+ public void Add(UnityEngine.Vector3 in_Pos, UnityEngine.Vector3 in_Forward, UnityEngine.Vector3 in_Top,
+ uint in_ChannelMask)
+ {
+ if (Count >= m_MaxCount)
+ throw new System.IndexOutOfRangeException("Out of range access in AkChannelEmitterArray");
+
+ //Marshal doesn't do floats. So copy the bytes themselves. Grrr.
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Forward.x), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Forward.y), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Forward.z), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Top.x), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Top.y), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Top.z), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Pos.x), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Pos.y), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Pos.z), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current, (int) in_ChannelMask);
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(uint));
+
+ Count++;
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkChannelEmitterArray.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkChannelEmitterArray.cs.meta
new file mode 100644
index 000000000..12e6bc41f
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkChannelEmitterArray.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 19c0f3d1cde4f884b8938e2e6e006327
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkDeviceDescriptionArray.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkDeviceDescriptionArray.cs
new file mode 100644
index 000000000..57d265554
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkDeviceDescriptionArray.cs
@@ -0,0 +1,34 @@
+#if !(UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2019 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkDeviceDescriptionArray : AkBaseArray
+{
+ public AkDeviceDescriptionArray(int count) : base(count)
+ {
+ }
+
+ protected override int StructureSize
+ {
+ get { return AkSoundEnginePINVOKE.CSharp_AkDeviceDescription_GetSizeOf(); }
+ }
+
+ protected override void DefaultConstructAtIntPtr(System.IntPtr address)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkDeviceDescription_Clear(address);
+ }
+
+ protected override AkDeviceDescription CreateNewReferenceFromIntPtr(System.IntPtr address)
+ {
+ return new AkDeviceDescription(address, false);
+ }
+
+ protected override void CloneIntoReferenceFromIntPtr(System.IntPtr address, AkDeviceDescription other)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkDeviceDescription_Clone(address, AkDeviceDescription.getCPtr(other));
+ }
+}
+#endif
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkDeviceDescriptionArray.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkDeviceDescriptionArray.cs.meta
new file mode 100644
index 000000000..16c05224f
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkDeviceDescriptionArray.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 1727ae0e45f8ab644a08048fa14e1e3f
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkDiffractionPathInfoArray.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkDiffractionPathInfoArray.cs
new file mode 100644
index 000000000..86eef61a1
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkDiffractionPathInfoArray.cs
@@ -0,0 +1,29 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2012 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkDiffractionPathInfoArray : AkBaseArray
+{
+ public AkDiffractionPathInfoArray(int count) : base(count)
+ {
+ }
+
+ protected override int StructureSize
+ {
+ get { return AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_GetSizeOf(); }
+ }
+
+ protected override AkDiffractionPathInfo CreateNewReferenceFromIntPtr(System.IntPtr address)
+ {
+ return new AkDiffractionPathInfo(address, false);
+ }
+
+ protected override void CloneIntoReferenceFromIntPtr(System.IntPtr address, AkDiffractionPathInfo other)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkDiffractionPathInfo_Clone(address, AkDiffractionPathInfo.getCPtr(other));
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkDiffractionPathInfoArray.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkDiffractionPathInfoArray.cs.meta
new file mode 100644
index 000000000..7a7640dfc
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkDiffractionPathInfoArray.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 983c486ff8e310e4ba335b963a8cb0fc
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkExternalSourceInfoArray.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkExternalSourceInfoArray.cs
new file mode 100644
index 000000000..f07a7daca
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkExternalSourceInfoArray.cs
@@ -0,0 +1,39 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2019 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkExternalSourceInfoArray : AkBaseArray
+{
+ public AkExternalSourceInfoArray(int count) : base(count)
+ {
+ }
+
+ protected override int StructureSize
+ {
+ get { return AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_GetSizeOf(); }
+ }
+
+ protected override void DefaultConstructAtIntPtr(System.IntPtr address)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_Clear(address);
+ }
+
+ protected override void ReleaseAllocatedMemoryFromReferenceAtIntPtr(System.IntPtr address)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_szFile_set(address, null);
+ }
+
+ protected override AkExternalSourceInfo CreateNewReferenceFromIntPtr(System.IntPtr address)
+ {
+ return new AkExternalSourceInfo(address, false);
+ }
+
+ protected override void CloneIntoReferenceFromIntPtr(System.IntPtr address, AkExternalSourceInfo other)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkExternalSourceInfo_Clone(address, AkExternalSourceInfo.getCPtr(other));
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkExternalSourceInfoArray.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkExternalSourceInfoArray.cs.meta
new file mode 100644
index 000000000..ee3d31632
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkExternalSourceInfoArray.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 27dc13bd1d98ffe48b4fc297a96dff15
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkMIDIPostArray.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkMIDIPostArray.cs
new file mode 100644
index 000000000..5bac26646
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkMIDIPostArray.cs
@@ -0,0 +1,77 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2012 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkMIDIPostArray
+{
+ private readonly int m_Count;
+ private readonly int SIZE_OF = AkSoundEnginePINVOKE.CSharp_AkMIDIPost_GetSizeOf();
+ private System.IntPtr m_Buffer = System.IntPtr.Zero;
+
+ public AkMIDIPostArray(int size)
+ {
+ m_Count = size;
+ m_Buffer = System.Runtime.InteropServices.Marshal.AllocHGlobal(m_Count * SIZE_OF);
+ }
+
+ public AkMIDIPost this[int index]
+ {
+ get
+ {
+ if (index >= m_Count)
+ throw new System.IndexOutOfRangeException("Out of range access in AkMIDIPostArray");
+
+ return new AkMIDIPost(GetObjectPtr(index), false);
+ }
+
+ set
+ {
+ if (index >= m_Count)
+ throw new System.IndexOutOfRangeException("Out of range access in AkMIDIPostArray");
+
+ AkSoundEnginePINVOKE.CSharp_AkMIDIPost_Clone(GetObjectPtr(index), AkMIDIPost.getCPtr(value));
+ }
+ }
+
+ ~AkMIDIPostArray()
+ {
+ System.Runtime.InteropServices.Marshal.FreeHGlobal(m_Buffer);
+ m_Buffer = System.IntPtr.Zero;
+ }
+
+ public void PostOnEvent(uint in_eventID, UnityEngine.GameObject gameObject)
+ {
+ var gameObjectID = AkSoundEngine.GetAkGameObjectID(gameObject);
+ AkSoundEngine.PreGameObjectAPICall(gameObject, gameObjectID);
+ AkSoundEnginePINVOKE.CSharp_AkMIDIPost_PostOnEvent(m_Buffer, in_eventID, gameObjectID, (uint) m_Count);
+ }
+
+ public void PostOnEvent(uint in_eventID, UnityEngine.GameObject gameObject, int count)
+ {
+ if (count >= m_Count)
+ throw new System.IndexOutOfRangeException("Out of range access in AkMIDIPostArray");
+
+ var gameObjectID = AkSoundEngine.GetAkGameObjectID(gameObject);
+ AkSoundEngine.PreGameObjectAPICall(gameObject, gameObjectID);
+ AkSoundEnginePINVOKE.CSharp_AkMIDIPost_PostOnEvent(m_Buffer, in_eventID, gameObjectID, (uint) count);
+ }
+
+ public System.IntPtr GetBuffer()
+ {
+ return m_Buffer;
+ }
+
+ public int Count()
+ {
+ return m_Count;
+ }
+
+ private System.IntPtr GetObjectPtr(int index)
+ {
+ return (System.IntPtr) (m_Buffer.ToInt64() + SIZE_OF * index);
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkMIDIPostArray.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkMIDIPostArray.cs.meta
new file mode 100644
index 000000000..52d3d463d
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkMIDIPostArray.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 706958941ff3a2c4397a316c31b9daa2
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkObjectInfoArray.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkObjectInfoArray.cs
new file mode 100644
index 000000000..dedd64fa1
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkObjectInfoArray.cs
@@ -0,0 +1,34 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2019 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkObjectInfoArray : AkBaseArray
+{
+ public AkObjectInfoArray(int count) : base(count)
+ {
+ }
+
+ protected override int StructureSize
+ {
+ get { return AkSoundEnginePINVOKE.CSharp_AkObjectInfo_GetSizeOf(); }
+ }
+
+ protected override void DefaultConstructAtIntPtr(System.IntPtr address)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkObjectInfo_Clear(address);
+ }
+
+ protected override AkObjectInfo CreateNewReferenceFromIntPtr(System.IntPtr address)
+ {
+ return new AkObjectInfo(address, false);
+ }
+
+ protected override void CloneIntoReferenceFromIntPtr(System.IntPtr address, AkObjectInfo other)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkObjectInfo_Clone(address, AkObjectInfo.getCPtr(other));
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkObjectInfoArray.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkObjectInfoArray.cs.meta
new file mode 100644
index 000000000..d13550006
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkObjectInfoArray.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 7a8e634c9ee8d914b9931774db23c9f3
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkObstructionOcclusionValuesArray.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkObstructionOcclusionValuesArray.cs
new file mode 100644
index 000000000..5c92fda4a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkObstructionOcclusionValuesArray.cs
@@ -0,0 +1,34 @@
+#if !(UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2019 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkObstructionOcclusionValuesArray : AkBaseArray
+{
+ public AkObstructionOcclusionValuesArray(int count) : base(count)
+ {
+ }
+
+ protected override int StructureSize
+ {
+ get { return AkSoundEnginePINVOKE.CSharp_AkObstructionOcclusionValues_GetSizeOf(); }
+ }
+
+ protected override void DefaultConstructAtIntPtr(System.IntPtr address)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkObstructionOcclusionValues_Clear(address);
+ }
+
+ protected override AkObstructionOcclusionValues CreateNewReferenceFromIntPtr(System.IntPtr address)
+ {
+ return new AkObstructionOcclusionValues(address, false);
+ }
+
+ protected override void CloneIntoReferenceFromIntPtr(System.IntPtr address, AkObstructionOcclusionValues other)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkObstructionOcclusionValues_Clone(address, AkObstructionOcclusionValues.getCPtr(other));
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkObstructionOcclusionValuesArray.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkObstructionOcclusionValuesArray.cs.meta
new file mode 100644
index 000000000..c82480bc1
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkObstructionOcclusionValuesArray.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: d17160a19f95c1c469beb659d778f558
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkPositionArray.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkPositionArray.cs
new file mode 100644
index 000000000..6234bad73
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkPositionArray.cs
@@ -0,0 +1,82 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2012 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkPositionArray : System.IDisposable
+{
+ public System.IntPtr m_Buffer;
+ private System.IntPtr m_Current;
+ private uint m_MaxCount;
+
+ public AkPositionArray(uint in_Count)
+ {
+ m_Buffer = System.Runtime.InteropServices.Marshal.AllocHGlobal((int) in_Count * sizeof(float) * 9);
+ m_Current = m_Buffer;
+ m_MaxCount = in_Count;
+ Count = 0;
+ }
+
+ public uint Count { get; private set; }
+
+ public void Dispose()
+ {
+ if (m_Buffer != System.IntPtr.Zero)
+ {
+ System.Runtime.InteropServices.Marshal.FreeHGlobal(m_Buffer);
+ m_Buffer = System.IntPtr.Zero;
+ m_MaxCount = 0;
+ }
+ }
+
+ ~AkPositionArray()
+ {
+ Dispose();
+ }
+
+ public void Reset()
+ {
+ m_Current = m_Buffer;
+ Count = 0;
+ }
+
+ public void Add(UnityEngine.Vector3 in_Pos, UnityEngine.Vector3 in_Forward, UnityEngine.Vector3 in_Top)
+ {
+ if (Count >= m_MaxCount)
+ throw new System.IndexOutOfRangeException("Out of range access in AkPositionArray");
+
+ //Marshal doesn't do floats. So copy the bytes themselves. Grrr.
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Forward.x), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Forward.y), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Forward.z), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Top.x), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Top.y), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Top.z), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Pos.x), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Pos.y), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+ System.Runtime.InteropServices.Marshal.WriteInt32(m_Current,
+ System.BitConverter.ToInt32(System.BitConverter.GetBytes(in_Pos.z), 0));
+ m_Current = (System.IntPtr) (m_Current.ToInt64() + sizeof(float));
+
+ Count++;
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkPositionArray.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkPositionArray.cs.meta
new file mode 100644
index 000000000..11bd64220
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkPositionArray.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 8b6caafc2e039dc4594fb2dd58ecdd3f
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkReflectionPathInfoArray.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkReflectionPathInfoArray.cs
new file mode 100644
index 000000000..13ad4fe16
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkReflectionPathInfoArray.cs
@@ -0,0 +1,29 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2012 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkReflectionPathInfoArray : AkBaseArray
+{
+ public AkReflectionPathInfoArray(int count) : base(count)
+ {
+ }
+
+ protected override int StructureSize
+ {
+ get { return AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_GetSizeOf(); }
+ }
+
+ protected override AkReflectionPathInfo CreateNewReferenceFromIntPtr(System.IntPtr address)
+ {
+ return new AkReflectionPathInfo(address, false);
+ }
+
+ protected override void CloneIntoReferenceFromIntPtr(System.IntPtr address, AkReflectionPathInfo other)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkReflectionPathInfo_Clone(address, AkReflectionPathInfo.getCPtr(other));
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkReflectionPathInfoArray.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkReflectionPathInfoArray.cs.meta
new file mode 100644
index 000000000..c7c7063f1
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkReflectionPathInfoArray.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 6b276d7a41816a443a972fa851779ec8
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkSourceSettingsArray.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkSourceSettingsArray.cs
new file mode 100644
index 000000000..39a60789c
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkSourceSettingsArray.cs
@@ -0,0 +1,34 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2019 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkSourceSettingsArray : AkBaseArray
+{
+ public AkSourceSettingsArray(int count) : base(count)
+ {
+ }
+
+ protected override int StructureSize
+ {
+ get { return AkSoundEnginePINVOKE.CSharp_AkSourceSettings_GetSizeOf(); }
+ }
+
+ protected override void DefaultConstructAtIntPtr(System.IntPtr address)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkSourceSettings_Clear(address);
+ }
+
+ protected override AkSourceSettings CreateNewReferenceFromIntPtr(System.IntPtr address)
+ {
+ return new AkSourceSettings(address, false);
+ }
+
+ protected override void CloneIntoReferenceFromIntPtr(System.IntPtr address, AkSourceSettings other)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkSourceSettings_Clone(address, AkSourceSettings.getCPtr(other));
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkSourceSettingsArray.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkSourceSettingsArray.cs.meta
new file mode 100644
index 000000000..19ced0477
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkSourceSettingsArray.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: d4b0a3a288067574780c39ef4162dfce
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkTriangleArray.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkTriangleArray.cs
new file mode 100644
index 000000000..0af50f297
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkTriangleArray.cs
@@ -0,0 +1,34 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2012 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkTriangleArray : AkBaseArray
+{
+ public AkTriangleArray(int count) : base(count)
+ {
+ }
+
+ protected override int StructureSize
+ {
+ get { return AkSoundEnginePINVOKE.CSharp_AkTriangle_GetSizeOf(); }
+ }
+
+ protected override void DefaultConstructAtIntPtr(System.IntPtr address)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkTriangle_Clear(address);
+ }
+
+ protected override AkTriangle CreateNewReferenceFromIntPtr(System.IntPtr address)
+ {
+ return new AkTriangle(address, false);
+ }
+
+ protected override void CloneIntoReferenceFromIntPtr(System.IntPtr address, AkTriangle other)
+ {
+ AkSoundEnginePINVOKE.CSharp_AkTriangle_Clone(address, AkTriangle.getCPtr(other));
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkTriangleArray.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkTriangleArray.cs.meta
new file mode 100644
index 000000000..a49601669
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Arrays/AkTriangleArray.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9c9b0059eacece54aa96e30d7eb53d82
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline.meta
new file mode 100644
index 000000000..35e1c83ff
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: c189a1d547caca846b58fdf546b232f4
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineEventPlayable.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineEventPlayable.cs
new file mode 100644
index 000000000..386ef5853
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineEventPlayable.cs
@@ -0,0 +1,613 @@
+#if !(UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+#if !AK_DISABLE_TIMELINE
+
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2020 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Defines the behavior of a \ref AkTimelineEventPlayable within a \ref AkTimelineEventTrack.
+/// \sa
+/// - \ref AkTimelineEventTrack
+/// - \ref AkTimelineEventPlayable
+public class AkTimelineEventPlayableBehavior : UnityEngine.Playables.PlayableBehaviour
+{
+ private float currentDuration = -1f;
+ private float currentDurationProportion = 1f;
+ private bool eventIsPlaying;
+ private bool fadeinTriggered;
+ private bool fadeoutTriggered;
+ private float previousEventStartTime;
+
+ private const uint CallbackFlags = (uint)(AkCallbackType.AK_EndOfEvent | AkCallbackType.AK_Duration);
+
+ private void CallbackHandler(object in_cookie, AkCallbackType in_type, AkCallbackInfo in_info)
+ {
+ if (in_type == AkCallbackType.AK_EndOfEvent)
+ {
+ eventIsPlaying = fadeinTriggered = fadeoutTriggered = false;
+ }
+ else if (in_type == AkCallbackType.AK_Duration)
+ {
+ var estimatedDuration = (in_info as AkDurationCallbackInfo).fEstimatedDuration;
+ currentDuration = estimatedDuration * currentDurationProportion / 1000f;
+ }
+ }
+
+#if UNITY_EDITOR
+ private static bool CanPostEvents
+ {
+ get { return UnityEditor.SessionState.GetBool("AkTimelineEventPlayableBehavior.CanPostEvents", true); }
+ set { UnityEditor.SessionState.SetBool("AkTimelineEventPlayableBehavior.CanPostEvents", value); }
+ }
+
+ [UnityEditor.InitializeOnLoadMethod]
+ private static void DetermineCanPostEvents()
+ {
+ UnityEditor.Compilation.CompilationPipeline.assemblyCompilationFinished += (string text, UnityEditor.Compilation.CompilerMessage[] messages) =>
+ {
+ if (!UnityEditor.EditorApplication.isPlaying)
+ CanPostEvents = false;
+ };
+
+ UnityEditor.EditorApplication.playModeStateChanged += (UnityEditor.PlayModeStateChange playMode) =>
+ {
+ if (playMode == UnityEditor.PlayModeStateChange.ExitingEditMode)
+ CanPostEvents = true;
+ };
+ }
+#endif
+
+ [System.Flags]
+ private enum Actions
+ {
+ None = 0,
+ Playback = 1 << 0,
+ Retrigger = 1 << 1,
+ DelayedStop = 1 << 2,
+ Seek = 1 << 3,
+ FadeIn = 1 << 4,
+ FadeOut = 1 << 5
+ }
+ private Actions requiredActions;
+
+ private const int scrubPlaybackLengthMs = 100;
+
+ public AK.Wwise.Event akEvent;
+
+ public float eventDurationMax;
+ public float eventDurationMin;
+
+ public float blendInDuration;
+ public float blendOutDuration;
+ public float easeInDuration;
+ public float easeOutDuration;
+
+ public AkCurveInterpolation blendInCurve;
+ public AkCurveInterpolation blendOutCurve;
+
+ public UnityEngine.GameObject eventObject;
+
+ public bool retriggerEvent;
+ private bool wasScrubbingAndRequiresRetrigger;
+ public bool StopEventAtClipEnd;
+
+ private bool IsScrubbing(UnityEngine.Playables.FrameData info)
+ {
+#if !UNITY_2018_2_OR_NEWER
+ // We disable scrubbing in edit mode, due to an issue with how FrameData.EvaluationType is handled in edit mode.
+ // This is a known issue and Unity are aware of it: https://fogbugz.unity3d.com/default.asp?953109_kitf7pso0vmjm0m0
+ if (!UnityEngine.Application.isPlaying)
+ return false;
+#endif
+ return info.evaluationType == UnityEngine.Playables.FrameData.EvaluationType.Evaluate;
+ }
+
+ public override void PrepareFrame(UnityEngine.Playables.Playable playable, UnityEngine.Playables.FrameData info)
+ {
+ base.PrepareFrame(playable, info);
+
+ if (akEvent == null)
+ return;
+
+ var shouldPlay = ShouldPlay(playable);
+ if (IsScrubbing(info) && shouldPlay)
+ {
+ requiredActions |= Actions.Seek;
+
+ if (!eventIsPlaying)
+ {
+ requiredActions |= Actions.Playback | Actions.DelayedStop;
+ CheckForFadeInFadeOut(playable);
+ }
+ }
+ else if (!eventIsPlaying && (requiredActions & Actions.Playback) == 0)
+ {
+ // The clip is playing but the event hasn't been triggered. We need to start the event and jump to the correct time.
+ requiredActions |= Actions.Retrigger;
+ CheckForFadeInFadeOut(playable);
+ }
+ else
+ {
+ CheckForFadeOut(playable, UnityEngine.Playables.PlayableExtensions.GetTime(playable));
+ }
+ }
+
+ private const float alph = 0.05f;
+
+ public override void OnBehaviourPlay(UnityEngine.Playables.Playable playable, UnityEngine.Playables.FrameData info)
+ {
+ base.OnBehaviourPlay(playable, info);
+
+ if (akEvent == null)
+ return;
+
+ var shouldPlay = ShouldPlay(playable);
+ if (!shouldPlay)
+ return;
+
+ requiredActions |= Actions.Playback;
+
+ if (IsScrubbing(info))
+ {
+ wasScrubbingAndRequiresRetrigger = true;
+ // If we've explicitly set the playhead, only play a small snippet.
+ requiredActions |= Actions.DelayedStop;
+ }
+ else if (GetProportionalTime(playable) > alph)
+ {
+ // we need to jump to the correct position in the case where the event is played from some non-start position.
+ requiredActions |= Actions.Seek;
+ }
+
+ CheckForFadeInFadeOut(playable);
+ }
+
+ public override void OnBehaviourPause(UnityEngine.Playables.Playable playable, UnityEngine.Playables.FrameData info)
+ {
+ wasScrubbingAndRequiresRetrigger = false;
+
+ base.OnBehaviourPause(playable, info);
+ if (eventObject != null && akEvent != null && StopEventAtClipEnd)
+ {
+ StopEvent();
+ }
+ }
+
+ public override void ProcessFrame(UnityEngine.Playables.Playable playable, UnityEngine.Playables.FrameData info, object playerData)
+ {
+ base.ProcessFrame(playable, info, playerData);
+
+ if (akEvent == null)
+ return;
+
+ var obj = playerData as UnityEngine.GameObject;
+ if (obj != null)
+ eventObject = obj;
+
+ if (eventObject == null)
+ return;
+
+ if ((requiredActions & Actions.Playback) != 0)
+ PlayEvent();
+
+ if ((requiredActions & Actions.Seek) != 0)
+ SeekToTime(playable);
+
+ if ((retriggerEvent || wasScrubbingAndRequiresRetrigger) && (requiredActions & Actions.Retrigger) != 0)
+ RetriggerEvent(playable);
+
+ if ((requiredActions & Actions.DelayedStop) != 0)
+ StopEvent(scrubPlaybackLengthMs);
+
+ if (!fadeinTriggered && (requiredActions & Actions.FadeIn) != 0)
+ TriggerFadeIn(playable);
+
+ if (!fadeoutTriggered && (requiredActions & Actions.FadeOut) != 0)
+ TriggerFadeOut(playable);
+
+ requiredActions = Actions.None;
+ }
+
+ /** Check the playable time against the Wwise event duration to see if playback should occur.
+ */
+ private bool ShouldPlay(UnityEngine.Playables.Playable playable)
+ {
+ var previousTime = UnityEngine.Playables.PlayableExtensions.GetPreviousTime(playable);
+ var currentTime = UnityEngine.Playables.PlayableExtensions.GetTime(playable);
+ if (previousTime == 0.0 && System.Math.Abs(currentTime - previousTime) > 1.0)
+ return false;
+
+ if (retriggerEvent)
+ return true;
+
+ // If max and min duration values from metadata are equal, we can assume a deterministic event.
+ if (eventDurationMax == eventDurationMin && eventDurationMin != -1f)
+ return currentTime < eventDurationMax;
+
+ currentTime -= previousEventStartTime;
+
+ var maxDuration = currentDuration == -1f ? (float)UnityEngine.Playables.PlayableExtensions.GetDuration(playable) : currentDuration;
+ return currentTime < maxDuration;
+ }
+
+ private void CheckForFadeInFadeOut(UnityEngine.Playables.Playable playable)
+ {
+ var currentClipTime = UnityEngine.Playables.PlayableExtensions.GetTime(playable);
+ if (blendInDuration > currentClipTime || easeInDuration > currentClipTime)
+ requiredActions |= Actions.FadeIn;
+
+ CheckForFadeOut(playable, currentClipTime);
+ }
+
+ private void CheckForFadeOut(UnityEngine.Playables.Playable playable, double currentClipTime)
+ {
+ var timeLeft = UnityEngine.Playables.PlayableExtensions.GetDuration(playable) - currentClipTime;
+ if (blendOutDuration >= timeLeft || easeOutDuration >= timeLeft)
+ requiredActions |= Actions.FadeOut;
+ }
+
+ private void TriggerFadeIn(UnityEngine.Playables.Playable playable)
+ {
+ var currentClipTime = UnityEngine.Playables.PlayableExtensions.GetTime(playable);
+ var fadeDuration = UnityEngine.Mathf.Max(easeInDuration, blendInDuration) - currentClipTime;
+ if (fadeDuration > 0)
+ {
+ fadeinTriggered = true;
+ akEvent.ExecuteAction(eventObject, AkActionOnEventType.AkActionOnEventType_Pause, 0, blendOutCurve);
+ akEvent.ExecuteAction(eventObject, AkActionOnEventType.AkActionOnEventType_Resume, (int)(fadeDuration * 1000), blendInCurve);
+ }
+ }
+
+ private void TriggerFadeOut(UnityEngine.Playables.Playable playable)
+ {
+ fadeoutTriggered = true;
+
+ var fadeDuration = UnityEngine.Playables.PlayableExtensions.GetDuration(playable) - UnityEngine.Playables.PlayableExtensions.GetTime(playable);
+ akEvent.ExecuteAction(eventObject, AkActionOnEventType.AkActionOnEventType_Stop, (int)(fadeDuration * 1000), blendOutCurve);
+ }
+
+ private void StopEvent(int transition = 0)
+ {
+ if (!eventIsPlaying)
+ return;
+
+ akEvent.Stop(eventObject, transition);
+
+#if UNITY_EDITOR
+ if (!UnityEditor.EditorApplication.isPlaying)
+ eventIsPlaying = false;
+#endif
+ }
+
+ private bool PostEvent()
+ {
+ fadeinTriggered = fadeoutTriggered = false;
+
+ uint playingID;
+
+#if UNITY_EDITOR
+ if (!CanPostEvents)
+ {
+ playingID = AkSoundEngine.AK_INVALID_PLAYING_ID;
+ }
+ else if (!UnityEditor.EditorApplication.isPlaying)
+ {
+ playingID = akEvent.Post(eventObject);
+ }
+ else
+#endif
+ {
+ playingID = akEvent.Post(eventObject, CallbackFlags, CallbackHandler, null);
+ }
+
+ eventIsPlaying = playingID != AkSoundEngine.AK_INVALID_PLAYING_ID;
+ return eventIsPlaying;
+ }
+
+ private void PlayEvent()
+ {
+ if (!PostEvent())
+ return;
+
+ currentDurationProportion = 1f;
+ previousEventStartTime = 0f;
+ }
+
+ private void RetriggerEvent(UnityEngine.Playables.Playable playable)
+ {
+ wasScrubbingAndRequiresRetrigger = false;
+
+ if (!PostEvent())
+ return;
+
+ currentDurationProportion = 1f - SeekToTime(playable);
+ previousEventStartTime = (float)UnityEngine.Playables.PlayableExtensions.GetTime(playable);
+ }
+
+ private float GetProportionalTime(UnityEngine.Playables.Playable playable)
+ {
+ // If max and min duration values from metadata are equal, we can assume a deterministic event.
+ if (eventDurationMax == eventDurationMin && eventDurationMin != -1f)
+ {
+ // If the timeline clip has length greater than the event duration, we want to loop.
+ return (float)UnityEngine.Playables.PlayableExtensions.GetTime(playable) % eventDurationMax / eventDurationMax;
+ }
+
+ var currentTime = (float)UnityEngine.Playables.PlayableExtensions.GetTime(playable) - previousEventStartTime;
+ var maxDuration = currentDuration == -1f ? (float)UnityEngine.Playables.PlayableExtensions.GetDuration(playable) : currentDuration;
+ // If the timeline clip has length greater than the event duration, we want to loop.
+ return currentTime % maxDuration / maxDuration;
+ }
+
+ // Seek to the current time, taking looping into account.
+ private float SeekToTime(UnityEngine.Playables.Playable playable)
+ {
+ var proportionalTime = GetProportionalTime(playable);
+ if (proportionalTime >= 1f) // Avoids Wwise "seeking beyond end of event: audio will stop" error.
+ return 1f;
+
+#if UNITY_EDITOR
+ if (!CanPostEvents)
+ return proportionalTime;
+#endif
+
+ if (eventIsPlaying)
+ AkSoundEngine.SeekOnEvent(akEvent.Id, eventObject, proportionalTime);
+
+ return proportionalTime;
+ }
+}
+
+/// @brief A playable asset containing a Wwise event that can be placed within a \ref AkTimelineEventTrack in a timeline.
+/// @details Use this class to play Wwise events from a timeline and synchronize them to the animation. Events will be emitted from the GameObject that is bound to the AkTimelineEventTrack.
+/// \sa
+/// - \ref AkTimelineEventTrack
+/// - \ref AkTimelineEventPlayableBehavior
+public class AkTimelineEventPlayable : UnityEngine.Playables.PlayableAsset, UnityEngine.Timeline.ITimelineClipAsset
+{
+ public AK.Wwise.Event akEvent = new AK.Wwise.Event();
+
+ [UnityEngine.SerializeField]
+ private AkCurveInterpolation blendInCurve = AkCurveInterpolation.AkCurveInterpolation_Linear;
+ [UnityEngine.SerializeField]
+ private AkCurveInterpolation blendOutCurve = AkCurveInterpolation.AkCurveInterpolation_Linear;
+
+ public float eventDurationMax = -1f;
+ public float eventDurationMin = -1f;
+
+ [System.NonSerialized]
+ public UnityEngine.Timeline.TimelineClip owningClip;
+
+ [UnityEngine.SerializeField]
+ private bool retriggerEvent = false;
+
+ public bool UseWwiseEventDuration = true;
+
+ [UnityEngine.SerializeField]
+ private bool StopEventAtClipEnd = true;
+
+ UnityEngine.Timeline.ClipCaps UnityEngine.Timeline.ITimelineClipAsset.clipCaps
+ {
+ get { return UnityEngine.Timeline.ClipCaps.Looping | UnityEngine.Timeline.ClipCaps.Blending; }
+ }
+
+ public override UnityEngine.Playables.Playable CreatePlayable(UnityEngine.Playables.PlayableGraph graph, UnityEngine.GameObject owner)
+ {
+ var playable = UnityEngine.Playables.ScriptPlayable.Create(graph);
+ if (akEvent == null)
+ return playable;
+
+ var b = playable.GetBehaviour();
+ b.akEvent = akEvent;
+ b.blendInCurve = blendInCurve;
+ b.blendOutCurve = blendOutCurve;
+
+ if (owningClip != null)
+ {
+ b.easeInDuration = (float)owningClip.easeInDuration;
+ b.easeOutDuration = (float)owningClip.easeOutDuration;
+ b.blendInDuration = (float)owningClip.blendInDuration;
+ b.blendOutDuration = (float)owningClip.blendOutDuration;
+ }
+ else
+ b.easeInDuration = b.easeOutDuration = b.blendInDuration = b.blendOutDuration = 0;
+
+ b.retriggerEvent = retriggerEvent;
+ b.StopEventAtClipEnd = StopEventAtClipEnd;
+ b.eventObject = owner;
+ b.eventDurationMin = eventDurationMin;
+ b.eventDurationMax = eventDurationMax;
+ return playable;
+ }
+
+#if UNITY_EDITOR
+ [UnityEditor.CustomEditor(typeof(AkTimelineEventPlayable))]
+ public class Editor : UnityEditor.Editor
+ {
+ private AkTimelineEventPlayable m_AkTimelineEventPlayable;
+ private UnityEditor.SerializedProperty akEvent;
+ private UnityEditor.SerializedProperty retriggerEvent;
+ private UnityEditor.SerializedProperty UseWwiseEventDuration;
+ private UnityEditor.SerializedProperty StopEventAtClipEnd;
+ private UnityEditor.SerializedProperty blendInCurve;
+ private UnityEditor.SerializedProperty blendOutCurve;
+
+ public void OnEnable()
+ {
+ m_AkTimelineEventPlayable = target as AkTimelineEventPlayable;
+ if (m_AkTimelineEventPlayable == null)
+ return;
+
+ akEvent = serializedObject.FindProperty("akEvent");
+ retriggerEvent = serializedObject.FindProperty("retriggerEvent");
+ UseWwiseEventDuration = serializedObject.FindProperty("UseWwiseEventDuration");
+ StopEventAtClipEnd = serializedObject.FindProperty("StopEventAtClipEnd");
+ blendInCurve = serializedObject.FindProperty("blendInCurve");
+ blendOutCurve = serializedObject.FindProperty("blendOutCurve");
+ }
+
+ public override void OnInspectorGUI()
+ {
+ serializedObject.Update();
+
+ UnityEngine.GUILayout.Space(UnityEditor.EditorGUIUtility.standardVerticalSpacing);
+
+ using (new UnityEditor.EditorGUILayout.VerticalScope("box"))
+ {
+ UnityEditor.EditorGUILayout.PropertyField(akEvent, new UnityEngine.GUIContent("Event: "));
+ UnityEditor.EditorGUILayout.PropertyField(blendInCurve);
+ UnityEditor.EditorGUILayout.PropertyField(blendOutCurve);
+ }
+
+ using (new UnityEditor.EditorGUILayout.VerticalScope("box"))
+ {
+ UnityEditor.EditorGUILayout.PropertyField(UseWwiseEventDuration, new UnityEngine.GUIContent("Use Wwise Event Duration: ", "The clip duration is set to the duration of the Wwise Event"));
+
+ if (!UpdateClipInformation(m_AkTimelineEventPlayable.owningClip, m_AkTimelineEventPlayable.akEvent, serializedObject, UseWwiseEventDuration.boolValue))
+ {
+ UnityEditor.EditorGUILayout.HelpBox(string.Format("The duration of the Wwise event \"{0}\" has not been determined. Playback for this event may be inconsistent. " +
+ "Ensure that the event is associated with a generated SoundBank!", m_AkTimelineEventPlayable.akEvent.Name), UnityEditor.MessageType.Warning);
+ }
+
+ if (!UseWwiseEventDuration.boolValue)
+ {
+ var StopEventAtClipEndValue = StopEventAtClipEnd.boolValue;
+ var retriggerEventValue = retriggerEvent.boolValue;
+
+ UnityEditor.EditorGUILayout.PropertyField(StopEventAtClipEnd, new UnityEngine.GUIContent("Stop Event At End Of Clip: "));
+ UnityEditor.EditorGUILayout.PropertyField(retriggerEvent, new UnityEngine.GUIContent("Loop: ", "When checked, an event will loop until the end of the clip."));
+
+ if (retriggerEvent.boolValue && !StopEventAtClipEnd.boolValue)
+ {
+ if (!retriggerEventValue)
+ StopEventAtClipEnd.boolValue = true;
+ else if (StopEventAtClipEndValue)
+ retriggerEvent.boolValue = false;
+ }
+ }
+ }
+
+ serializedObject.ApplyModifiedProperties();
+ }
+
+ private static void UpdateProgressBar(int index, int count)
+ {
+ float progress = (float)index / count;
+ UnityEditor.EditorUtility.DisplayProgressBar("Wwise Integration", "Fixing clip durations of AkTimelineEventPlayables...", progress);
+ }
+
+ [UnityEditor.InitializeOnLoadMethod]
+ public static void SetupSoundbankSetting()
+ {
+ AkUtilities.EnableBoolSoundbankSettingInWproj("SoundBankGenerateEstimatedDuration", AkWwiseEditorSettings.WwiseProjectAbsolutePath);
+
+ UnityEditor.EditorApplication.update += RunOnce;
+ AkWwiseXMLWatcher.Instance.XMLUpdated += UpdateAllClips;
+ }
+
+ private static void RunOnce()
+ {
+ UpdateAllClips();
+ UnityEditor.EditorApplication.update -= RunOnce;
+ }
+
+ private static void UpdateAllClips()
+ {
+ var guids = UnityEditor.AssetDatabase.FindAssets("t:AkTimelineEventPlayable", new[] { "Assets" });
+ if (guids.Length < 1)
+ return;
+
+ var processedGuids = new System.Collections.Generic.HashSet();
+
+ for (var i = 0; i < guids.Length; i++)
+ {
+ UpdateProgressBar(i, guids.Length);
+
+ var guid = guids[i];
+ if (processedGuids.Contains(guid))
+ continue;
+
+ processedGuids.Add(guid);
+
+ var path = UnityEditor.AssetDatabase.GUIDToAssetPath(guid);
+ var objects = UnityEditor.AssetDatabase.LoadAllAssetsAtPath(path);
+ var instanceIds = new System.Collections.Generic.List();
+ foreach (var obj in objects)
+ {
+ if (obj == null)
+ continue;
+
+ var id = obj.GetInstanceID();
+ if (!instanceIds.Contains(id))
+ instanceIds.Add(id);
+ }
+
+ for (; instanceIds.Count > 0; instanceIds.RemoveAt(0))
+ {
+ var id = instanceIds[0];
+ objects = UnityEditor.AssetDatabase.LoadAllAssetsAtPath(path);
+ foreach (var obj in objects)
+ {
+ if (obj && obj.GetInstanceID() == id)
+ {
+ var playable = obj as AkTimelineEventPlayable;
+ if (playable)
+ {
+ var serializedObject = new UnityEditor.SerializedObject(playable);
+ var setClipDuration = serializedObject.FindProperty("UseWwiseEventDuration").boolValue;
+ UpdateClipInformation(playable.owningClip, playable.akEvent, serializedObject, setClipDuration);
+ serializedObject.ApplyModifiedProperties();
+ }
+ break;
+ }
+ }
+ }
+ }
+
+ UnityEditor.EditorUtility.ClearProgressBar();
+ }
+
+ ///
+ /// The minimum clip duration. This value is set to 1/60 of a second which generally represents the time of 1 frame.
+ ///
+ private const double MinimumDurationInSeconds = 1.0 / 60;
+
+ ///
+ /// Updates the associated clip information and the event durations.
+ ///
+ /// Returns true if the Wwise event is found in the project data.
+ private static bool UpdateClipInformation(UnityEngine.Timeline.TimelineClip clip, AK.Wwise.Event akEvent,
+ UnityEditor.SerializedObject serializedObject, bool setClipDuration)
+ {
+ var clipDuration = MinimumDurationInSeconds;
+ var maxDuration = -1.0f;
+ var minDuration = -1.0f;
+
+ AkUtilities.GetEventDurations(akEvent.Id, ref maxDuration, ref minDuration);
+ if (maxDuration != -1.0f)
+ {
+ serializedObject.FindProperty("eventDurationMin").floatValue = minDuration;
+ serializedObject.FindProperty("eventDurationMax").floatValue = maxDuration;
+
+ if (maxDuration > clipDuration)
+ clipDuration = maxDuration;
+ }
+
+ if (clip != null)
+ {
+ clip.displayName = akEvent.Name;
+ if (setClipDuration)
+ clip.duration = clipDuration;
+ }
+
+ return maxDuration != -1.0f;
+ }
+ }
+
+#endif //#if UNITY_EDITOR
+}
+
+#endif // !AK_DISABLE_TIMELINE
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineEventPlayable.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineEventPlayable.cs.meta
new file mode 100644
index 000000000..84d8142af
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineEventPlayable.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 3223e1ae83677c04db9d173bfe79d7da
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineEventTrack.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineEventTrack.cs
new file mode 100644
index 000000000..4a281f65a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineEventTrack.cs
@@ -0,0 +1,36 @@
+#if !(UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+#if !AK_DISABLE_TIMELINE
+
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2020 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[UnityEngine.Timeline.TrackColor(0.855f, 0.8623f, 0.870f)]
+[UnityEngine.Timeline.TrackClipType(typeof(AkTimelineEventPlayable))]
+[UnityEngine.Timeline.TrackBindingType(typeof(UnityEngine.GameObject))]
+/// @brief A track within timeline that holds \ref AkTimelineEventPlayable clips.
+/// @details AkTimelineEventTracks are bound to specific GameObjects, which are the default emitters for all of the associated \ref AkTimelineEventPlayable clips.
+/// \sa
+/// - \ref AkTimelineEventPlayable
+/// - \ref AkTimelineEventPlayableBehavior
+public class AkTimelineEventTrack : UnityEngine.Timeline.TrackAsset
+{
+ public override UnityEngine.Playables.Playable CreateTrackMixer(UnityEngine.Playables.PlayableGraph graph, UnityEngine.GameObject go, int inputCount)
+ {
+ var playable = UnityEngine.Playables.ScriptPlayable.Create(graph);
+ UnityEngine.Playables.PlayableExtensions.SetInputCount(playable, inputCount);
+
+ var clips = GetClips();
+ foreach (var clip in clips)
+ {
+ var eventPlayable = clip.asset as AkTimelineEventPlayable;
+ eventPlayable.owningClip = clip;
+ }
+
+ return playable;
+ }
+}
+#endif // !AK_DISABLE_TIMELINE
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineEventTrack.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineEventTrack.cs.meta
new file mode 100644
index 000000000..9432cac25
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineEventTrack.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 8b823c1a0a235894ba3b7745110ac39a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineRtpcPlayable.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineRtpcPlayable.cs
new file mode 100644
index 000000000..88abe7c1d
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineRtpcPlayable.cs
@@ -0,0 +1,113 @@
+#if !(UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+#if !AK_DISABLE_TIMELINE
+
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2020 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[System.Serializable]
+public class AkTimelineRtpcPlayableBehaviour : UnityEngine.Playables.PlayableBehaviour
+{
+ [UnityEngine.SerializeField]
+ private float value = 0.0f;
+
+ public AK.Wwise.RTPC RTPC { set; get; }
+ public bool setGlobally { set; get; }
+ public UnityEngine.GameObject gameObject { set; get; }
+
+ public override void ProcessFrame(UnityEngine.Playables.Playable playable, UnityEngine.Playables.FrameData frameData, object playerData)
+ {
+ base.ProcessFrame(playable, frameData, playerData);
+ if (RTPC == null)
+ return;
+
+ var obj = playerData as UnityEngine.GameObject;
+ if (obj != null)
+ gameObject = obj;
+
+ if (setGlobally)
+ RTPC.SetGlobalValue(value);
+ else if (gameObject)
+ RTPC.SetValue(gameObject, value);
+ }
+}
+
+public class AkTimelineRtpcPlayable : UnityEngine.Playables.PlayableAsset, UnityEngine.Timeline.ITimelineClipAsset
+{
+ public AK.Wwise.RTPC RTPC = new AK.Wwise.RTPC();
+ public bool setGlobally = false;
+ public AkTimelineRtpcPlayableBehaviour template = new AkTimelineRtpcPlayableBehaviour();
+
+ public void SetupClipDisplay()
+ {
+#if UNITY_EDITOR
+ if (owningClip != null)
+ owningClip.displayName = RTPC.Name;
+#endif
+ }
+
+ public UnityEngine.Timeline.TimelineClip owningClip { get; set; }
+
+ UnityEngine.Timeline.ClipCaps UnityEngine.Timeline.ITimelineClipAsset.clipCaps
+ {
+ get { return UnityEngine.Timeline.ClipCaps.Looping & UnityEngine.Timeline.ClipCaps.Extrapolation & UnityEngine.Timeline.ClipCaps.Blending; }
+ }
+
+ public override UnityEngine.Playables.Playable CreatePlayable(UnityEngine.Playables.PlayableGraph graph, UnityEngine.GameObject gameObject)
+ {
+ var playable = UnityEngine.Playables.ScriptPlayable.Create(graph, template);
+ var b = playable.GetBehaviour();
+ b.RTPC = RTPC;
+ b.setGlobally = setGlobally;
+ b.gameObject = gameObject;
+ return playable;
+ }
+
+#if UNITY_EDITOR
+ [UnityEditor.CustomEditor(typeof(AkTimelineRtpcPlayable))]
+ public class Editor : UnityEditor.Editor
+ {
+ private AkTimelineRtpcPlayable playable;
+ private UnityEditor.SerializedProperty RTPC;
+ private UnityEditor.SerializedProperty setGlobally;
+ private UnityEditor.SerializedProperty Behaviour;
+
+ public void OnEnable()
+ {
+ playable = target as AkTimelineRtpcPlayable;
+ if (playable)
+ playable.SetupClipDisplay();
+
+ RTPC = serializedObject.FindProperty("RTPC");
+ setGlobally = serializedObject.FindProperty("setGlobally");
+ Behaviour = serializedObject.FindProperty("template");
+ }
+
+ public override void OnInspectorGUI()
+ {
+ serializedObject.Update();
+
+ UnityEngine.GUILayout.Space(UnityEditor.EditorGUIUtility.standardVerticalSpacing);
+
+ using (new UnityEditor.EditorGUILayout.VerticalScope("box"))
+ {
+ UnityEditor.EditorGUILayout.PropertyField(RTPC, new UnityEngine.GUIContent("RTPC: "));
+ UnityEditor.EditorGUILayout.PropertyField(setGlobally, new UnityEngine.GUIContent("Set Globally: "));
+ }
+
+ if (Behaviour != null)
+ UnityEditor.EditorGUILayout.PropertyField(Behaviour, new UnityEngine.GUIContent("Animated Value: "), true);
+
+ if (playable)
+ playable.SetupClipDisplay();
+
+ serializedObject.ApplyModifiedProperties();
+ }
+ }
+
+#endif //#if UNITY_EDITOR
+}
+#endif // !AK_DISABLE_TIMELINE
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineRtpcPlayable.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineRtpcPlayable.cs.meta
new file mode 100644
index 000000000..375c26597
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineRtpcPlayable.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b332aa80f675bbb45acc67af4b60a233
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineRtpcTrack.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineRtpcTrack.cs
new file mode 100644
index 000000000..374910bbd
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineRtpcTrack.cs
@@ -0,0 +1,34 @@
+#if !(UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+#if !AK_DISABLE_TIMELINE
+
+[UnityEngine.Timeline.TrackColor(0.32f, 0.13f, 0.13f)]
+// Specifies the type of Playable Asset this track manages
+[UnityEngine.Timeline.TrackClipType(typeof(AkTimelineRtpcPlayable))]
+// Use if the track requires a binding to a scene object or asset
+[UnityEngine.Timeline.TrackBindingType(typeof(UnityEngine.GameObject))]
+public class AkTimelineRtpcTrack : UnityEngine.Timeline.TrackAsset
+{
+ public override UnityEngine.Playables.Playable CreateTrackMixer(UnityEngine.Playables.PlayableGraph graph, UnityEngine.GameObject gameObject, int inputCount)
+ {
+ var playable = UnityEngine.Playables.ScriptPlayable.Create(graph, inputCount);
+
+ var clips = GetClips();
+ foreach (var clip in clips)
+ {
+ var rtpcPlayable = (clip.asset as AkTimelineRtpcPlayable);
+ rtpcPlayable.owningClip = clip;
+ rtpcPlayable.SetupClipDisplay();
+ }
+
+ return playable;
+ }
+
+ public void OnValidate()
+ {
+ var clips = GetClips();
+ foreach (var clip in clips)
+ (clip.asset as AkTimelineRtpcPlayable).SetupClipDisplay();
+ }
+}
+#endif // !AK_DISABLE_TIMELINE
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineRtpcTrack.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineRtpcTrack.cs.meta
new file mode 100644
index 000000000..ec41a2d11
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/Timeline/AkTimelineRtpcTrack.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 145c22505b002a34e806e5ab7406dc23
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects.meta
new file mode 100644
index 000000000..37ac2edcd
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: b468db3f75dd9e047b504ed7847c7f68
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseAcousticTextureReference.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseAcousticTextureReference.cs
new file mode 100644
index 000000000..92243330f
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseAcousticTextureReference.cs
@@ -0,0 +1,11 @@
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2018 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Represents Wwise banks as Unity assets.
+public class WwiseAcousticTextureReference : WwiseObjectReference
+{
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.AcousticTexture; } }
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseAcousticTextureReference.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseAcousticTextureReference.cs.meta
new file mode 100644
index 000000000..c10634967
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseAcousticTextureReference.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 06f5301867c001e498bacd60229f97b4
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseAuxBusReference.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseAuxBusReference.cs
new file mode 100644
index 000000000..b7728aa86
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseAuxBusReference.cs
@@ -0,0 +1,11 @@
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2018 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Represents Wwise aux buses as Unity assets.
+public class WwiseAuxBusReference : WwiseObjectReference
+{
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.AuxBus; } }
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseAuxBusReference.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseAuxBusReference.cs.meta
new file mode 100644
index 000000000..eb60d7dbc
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseAuxBusReference.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 349962f0079c3a144b1a5c347e639b60
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseBankReference.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseBankReference.cs
new file mode 100644
index 000000000..ecd288881
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseBankReference.cs
@@ -0,0 +1,11 @@
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2018 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Represents Wwise banks as Unity assets.
+public class WwiseBankReference : WwiseObjectReference
+{
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.Soundbank; } }
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseBankReference.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseBankReference.cs.meta
new file mode 100644
index 000000000..0b1d84850
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseBankReference.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: c22c2793049fddb4f9d86aff4ed3758a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseEventReference.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseEventReference.cs
new file mode 100644
index 000000000..5dc8f6c2e
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseEventReference.cs
@@ -0,0 +1,11 @@
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2018 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Represents Wwise events as Unity assets.
+public class WwiseEventReference : WwiseObjectReference
+{
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.Event; } }
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseEventReference.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseEventReference.cs.meta
new file mode 100644
index 000000000..fb51fe523
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseEventReference.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 6ef9016339588f1468b0a265018b774b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseObjectReference.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseObjectReference.cs
new file mode 100644
index 000000000..de48404f0
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseObjectReference.cs
@@ -0,0 +1,328 @@
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2018 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Represents Wwise objects as Unity assets.
+public abstract class WwiseObjectReference : UnityEngine.ScriptableObject
+{
+ #region Serialized fields
+ [AkShowOnly]
+ [UnityEngine.SerializeField]
+ private string objectName = string.Empty;
+
+ [AkShowOnly]
+ [UnityEngine.SerializeField]
+ private uint id = AkSoundEngine.AK_INVALID_UNIQUE_ID;
+
+ [AkShowOnly]
+ [UnityEngine.SerializeField]
+ private string guid = string.Empty;
+ #endregion
+
+ #region Properties
+ ///
+ /// The Wwise GUID which is represented by the ScriptableObject's asset file name.
+ ///
+ public System.Guid Guid
+ {
+ get { return string.IsNullOrEmpty(guid) ? System.Guid.Empty : new System.Guid(guid); }
+ }
+
+ ///
+ /// The name of the Wwise object.
+ ///
+ public string ObjectName { get { return objectName; } }
+
+ ///
+ /// The display name for the Wwise object.
+ ///
+ public virtual string DisplayName { get { return ObjectName; } }
+
+ ///
+ /// The Wwise ID.
+ ///
+ public uint Id { get { return id; } }
+
+ ///
+ /// The type of the Wwise object resource (for example: Event, State or Switch).
+ ///
+ public abstract WwiseObjectType WwiseObjectType { get; }
+ #endregion
+
+#if UNITY_EDITOR
+ #region Creation and File Management
+ private static readonly System.Collections.Generic.Dictionary m_WwiseObjectReferenceClasses
+ = new System.Collections.Generic.Dictionary
+ {
+ { WwiseObjectType.AcousticTexture, typeof(WwiseAcousticTextureReference) },
+ { WwiseObjectType.AuxBus, typeof(WwiseAuxBusReference) },
+ { WwiseObjectType.Soundbank, typeof(WwiseBankReference) },
+ { WwiseObjectType.Event, typeof(WwiseEventReference) },
+ { WwiseObjectType.GameParameter, typeof(WwiseRtpcReference) },
+ { WwiseObjectType.StateGroup, typeof(WwiseStateGroupReference) },
+ { WwiseObjectType.State, typeof(WwiseStateReference) },
+ { WwiseObjectType.SwitchGroup, typeof(WwiseSwitchGroupReference) },
+ { WwiseObjectType.Switch, typeof(WwiseSwitchReference) },
+ { WwiseObjectType.Trigger, typeof(WwiseTriggerReference) },
+ };
+
+ private static WwiseObjectReference Create(WwiseObjectType wwiseObjectType)
+ {
+ System.Type type = null;
+ if (m_WwiseObjectReferenceClasses.TryGetValue(wwiseObjectType, out type))
+ return (WwiseObjectReference)CreateInstance(type);
+
+ return CreateInstance();
+ }
+
+ private static WwiseObjectReference FindExistingWwiseObject(WwiseObjectType wwiseObjectType, System.Guid guid, string path)
+ {
+ var asset = UnityEditor.AssetDatabase.LoadAssetAtPath(path);
+ if (asset)
+ return asset;
+
+ System.Type type = null;
+ if (!m_WwiseObjectReferenceClasses.TryGetValue(wwiseObjectType, out type))
+ return null;
+
+ var guids = UnityEditor.AssetDatabase.FindAssets("t:" + type.Name);
+ foreach (var assetGuid in guids)
+ {
+ var assetPath = UnityEditor.AssetDatabase.GUIDToAssetPath(assetGuid);
+ asset = UnityEditor.AssetDatabase.LoadAssetAtPath(assetPath);
+ if (asset && asset.WwiseObjectType == wwiseObjectType && asset.Guid == guid)
+ return asset;
+ }
+
+ return null;
+ }
+
+ private static bool UpdateWwiseObjectData(WwiseObjectReference wwiseObjectReference, string name)
+ {
+ var id = AkUtilities.ShortIDGenerator.Compute(name);
+ if (wwiseObjectReference.objectName == name && wwiseObjectReference.id == id)
+ return false;
+
+ wwiseObjectReference.objectName = name;
+ wwiseObjectReference.id = id;
+ return true;
+ }
+
+ public static string GetParentPath(WwiseObjectType wwiseObjectType)
+ {
+ return System.IO.Path.Combine(AkWwiseEditorSettings.WwiseScriptableObjectRelativePath, wwiseObjectType.ToString());
+ }
+
+ public static string GetAssetFileName(System.Guid guid)
+ {
+ return guid.ToString().ToUpper() + ".asset";
+ }
+
+ public static WwiseObjectReference FindOrCreateWwiseObject(WwiseObjectType wwiseObjectType, string name, System.Guid guid)
+ {
+ var parentPath = GetParentPath(wwiseObjectType);
+ var path = System.IO.Path.Combine(parentPath, GetAssetFileName(guid));
+ var asset = FindExistingWwiseObject(wwiseObjectType, guid, path);
+ var assetExists = asset != null;
+ if (!assetExists)
+ {
+ AkUtilities.CreateFolder(parentPath);
+ asset = Create(wwiseObjectType);
+ asset.guid = guid.ToString().ToUpper();
+ }
+
+ var changed = UpdateWwiseObjectData(asset, name);
+ if (!assetExists)
+ UnityEditor.AssetDatabase.CreateAsset(asset, path);
+ else if (changed)
+ UnityEditor.EditorUtility.SetDirty(asset);
+
+ return asset;
+ }
+
+ public static void UpdateWwiseObject(WwiseObjectType wwiseObjectType, string name, System.Guid guid)
+ {
+ var path = System.IO.Path.Combine(GetParentPath(wwiseObjectType), GetAssetFileName(guid));
+ var asset = FindExistingWwiseObject(wwiseObjectType, guid, path);
+ if (asset && UpdateWwiseObjectData(asset, name))
+ UnityEditor.EditorUtility.SetDirty(asset);
+ }
+
+ public static void DeleteWwiseObject(WwiseObjectType wwiseObjectType, System.Guid guid)
+ {
+ var path = System.IO.Path.Combine(GetParentPath(wwiseObjectType), GetAssetFileName(guid));
+ var guidString = UnityEditor.AssetDatabase.AssetPathToGUID(path);
+ if (!string.IsNullOrEmpty(guidString))
+ UnityEditor.AssetDatabase.DeleteAsset(path);
+ }
+ #endregion
+
+ #region WwiseMigration
+ private class WwiseObjectData
+ {
+ public string objectName;
+ }
+
+ private static System.Collections.Generic.Dictionary> WwiseObjectDataMap
+ = new System.Collections.Generic.Dictionary>();
+
+ public static void ClearWwiseObjectDataMap()
+ {
+ WwiseObjectDataMap.Clear();
+ }
+
+ public static void UpdateWwiseObjectDataMap(WwiseObjectType wwiseObjectType, string name, System.Guid guid)
+ {
+ System.Collections.Generic.Dictionary map = null;
+ if (!WwiseObjectDataMap.TryGetValue(wwiseObjectType, out map))
+ {
+ map = new System.Collections.Generic.Dictionary();
+ WwiseObjectDataMap.Add(wwiseObjectType, map);
+ }
+
+ WwiseObjectData data = null;
+ if (!map.TryGetValue(guid, out data))
+ {
+ data = new WwiseObjectData();
+ map.Add(guid, data);
+ }
+
+ data.objectName = name;
+ }
+
+ public static WwiseObjectReference GetWwiseObjectForMigration(WwiseObjectType wwiseObjectType, byte[] valueGuid, int id)
+ {
+ if (valueGuid == null)
+ {
+ return null;
+ }
+
+ System.Collections.Generic.Dictionary map = null;
+ if (!WwiseObjectDataMap.TryGetValue(wwiseObjectType, out map) || map == null)
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: Cannot find WwiseObjectReferences of type .");
+ return null;
+ }
+
+ var guid = System.Guid.Empty;
+ WwiseObjectData data = null;
+
+ try
+ {
+ guid = new System.Guid(valueGuid);
+ }
+ catch
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: Invalid guid for WwiseObjectReference of type .");
+ return null;
+ }
+
+ var formattedId = (uint)id;
+ if (guid != System.Guid.Empty && !map.TryGetValue(guid, out data))
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: Cannot find guid <" + guid.ToString() + "> for WwiseObjectReference of type in Wwise Project.");
+
+ foreach (var pair in map)
+ {
+ if (AkUtilities.ShortIDGenerator.Compute(pair.Value.objectName) == formattedId)
+ {
+ guid = pair.Key;
+ data = pair.Value;
+ UnityEngine.Debug.LogWarning("WwiseUnity: Found guid <" + guid.ToString() + "> for <" + pair.Value.objectName + ">.");
+ break;
+ }
+ }
+ }
+
+ if (data == null)
+ {
+ return null;
+ }
+
+ var objectReference = FindOrCreateWwiseObject(wwiseObjectType, data.objectName, guid);
+ if (objectReference && objectReference.Id != formattedId)
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: ID mismatch for WwiseObjectReference of type . Expected <" + formattedId + ">. Found <" + objectReference.Id + ">.");
+ }
+
+ return objectReference;
+ }
+ #endregion
+#endif
+}
+
+/// @brief Represents Wwise group value objects (such as states and switches) as Unity assets.
+public abstract class WwiseGroupValueObjectReference : WwiseObjectReference
+{
+ #region Properties
+ ///
+ /// The group object reference.
+ ///
+ public abstract WwiseObjectReference GroupObjectReference { get; set; }
+
+ ///
+ /// The type of the Wwise object resource (for example: Event, State or Switch).
+ ///
+ public abstract WwiseObjectType GroupWwiseObjectType { get; }
+
+ ///
+ /// The display name for the Wwise object.
+ ///
+ public override string DisplayName
+ {
+ get
+ {
+#if AK_DISPLAY_GROUP_TYPES_WITH_SINGLE_NAME
+ return ObjectName;
+#else
+ var groupReference = GroupObjectReference;
+ if (!groupReference)
+ return ObjectName;
+
+ return groupReference.ObjectName + " / " + ObjectName;
+#endif // AK_DISPLAY_GROUP_TYPES_WITH_SINGLE_NAME
+ }
+ }
+ #endregion
+
+#if UNITY_EDITOR
+ public void SetupGroupObjectReference(string name, System.Guid guid)
+ {
+ var objectReference = FindOrCreateWwiseObject(GroupWwiseObjectType, name, guid);
+ if (objectReference != GroupObjectReference)
+ {
+ GroupObjectReference = objectReference;
+ UnityEditor.EditorUtility.SetDirty(this);
+ }
+ }
+
+ #region WwiseMigration
+ public static WwiseGroupValueObjectReference GetWwiseObjectForMigration(WwiseObjectType wwiseObjectType, byte[] valueGuid, int id, byte[] groupGuid, int groupId)
+ {
+ var objectReference = GetWwiseObjectForMigration(wwiseObjectType, valueGuid, id);
+ if (!objectReference)
+ return null;
+
+ var groupValueObjectReference = objectReference as WwiseGroupValueObjectReference;
+ if (!groupValueObjectReference)
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: Not setting WwiseObjectReference since it is not a WwiseGroupValueObjectReference.");
+ return null;
+ }
+
+ var groupObjectReference = GetWwiseObjectForMigration(groupValueObjectReference.GroupWwiseObjectType, groupGuid, groupId);
+ if (!groupObjectReference)
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: Not setting WwiseObjectReference since its GroupObjectReference cannot be determined.");
+ return null;
+ }
+
+ groupValueObjectReference.GroupObjectReference = groupObjectReference;
+ UnityEditor.EditorUtility.SetDirty(groupValueObjectReference);
+ return groupValueObjectReference;
+ }
+ #endregion
+#endif
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseObjectReference.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseObjectReference.cs.meta
new file mode 100644
index 000000000..6b2ed0b56
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseObjectReference.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 711311f5a3d011a4a9cfbd5297e0ef17
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseObjectType.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseObjectType.cs
new file mode 100644
index 000000000..da0651a5c
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseObjectType.cs
@@ -0,0 +1,28 @@
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2018 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+///
+/// Enumeration of Wwise object types that can be found in a Wwise project.
+///
+public enum WwiseObjectType
+{
+ None,
+ AuxBus,
+ Bus,
+ Event,
+ Folder,
+ PhysicalFolder,
+ Project,
+ Soundbank,
+ State,
+ StateGroup,
+ Switch,
+ SwitchGroup,
+ WorkUnit,
+ GameParameter,
+ Trigger,
+ AcousticTexture
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseObjectType.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseObjectType.cs.meta
new file mode 100644
index 000000000..92a94df84
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseObjectType.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 36da97e70be47ef40ad74c5296e76f2f
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseRtpcReference.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseRtpcReference.cs
new file mode 100644
index 000000000..2d33e8729
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseRtpcReference.cs
@@ -0,0 +1,11 @@
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2018 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Represents Wwise RTPCs as Unity assets.
+public class WwiseRtpcReference : WwiseObjectReference
+{
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.GameParameter; } }
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseRtpcReference.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseRtpcReference.cs.meta
new file mode 100644
index 000000000..e6707b135
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseRtpcReference.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b970bf2906600d142bf17beed92ebdb7
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseStateGroupReference.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseStateGroupReference.cs
new file mode 100644
index 000000000..25ac58801
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseStateGroupReference.cs
@@ -0,0 +1,11 @@
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2018 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Represents Wwise state groups as Unity assets.
+public class WwiseStateGroupReference : WwiseObjectReference
+{
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.StateGroup; } }
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseStateGroupReference.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseStateGroupReference.cs.meta
new file mode 100644
index 000000000..5e03f9871
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseStateGroupReference.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 0e72cc3e5b2e00e41bd595068b549224
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseStateReference.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseStateReference.cs
new file mode 100644
index 000000000..7cb05bf7e
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseStateReference.cs
@@ -0,0 +1,23 @@
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2018 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Represents Wwise states as Unity assets.
+public class WwiseStateReference : WwiseGroupValueObjectReference
+{
+ [AkShowOnly]
+ [UnityEngine.SerializeField]
+ private WwiseStateGroupReference WwiseStateGroupReference;
+
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.State; } }
+
+ public override WwiseObjectReference GroupObjectReference
+ {
+ get { return WwiseStateGroupReference; }
+ set { WwiseStateGroupReference = value as WwiseStateGroupReference; }
+ }
+
+ public override WwiseObjectType GroupWwiseObjectType { get { return WwiseObjectType.StateGroup; } }
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseStateReference.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseStateReference.cs.meta
new file mode 100644
index 000000000..095340d2e
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseStateReference.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: da2228710d4534f4bbbf09cae8e507e0
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseSwitchGroupReference.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseSwitchGroupReference.cs
new file mode 100644
index 000000000..c55541f9c
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseSwitchGroupReference.cs
@@ -0,0 +1,11 @@
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2018 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Represents Wwise switch groups as Unity assets.
+public class WwiseSwitchGroupReference : WwiseObjectReference
+{
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.SwitchGroup; } }
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseSwitchGroupReference.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseSwitchGroupReference.cs.meta
new file mode 100644
index 000000000..a70e4c408
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseSwitchGroupReference.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: ead763eca402fa047a3594e01b51b4f6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseSwitchReference.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseSwitchReference.cs
new file mode 100644
index 000000000..53e1b5c6a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseSwitchReference.cs
@@ -0,0 +1,23 @@
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2018 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Represents Wwise states as Unity assets.
+public class WwiseSwitchReference : WwiseGroupValueObjectReference
+{
+ [AkShowOnly]
+ [UnityEngine.SerializeField]
+ private WwiseSwitchGroupReference WwiseSwitchGroupReference;
+
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.Switch; } }
+
+ public override WwiseObjectReference GroupObjectReference
+ {
+ get { return WwiseSwitchGroupReference; }
+ set { WwiseSwitchGroupReference = value as WwiseSwitchGroupReference; }
+ }
+
+ public override WwiseObjectType GroupWwiseObjectType { get { return WwiseObjectType.SwitchGroup; } }
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseSwitchReference.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseSwitchReference.cs.meta
new file mode 100644
index 000000000..b823c4f25
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseSwitchReference.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: af5d3be874e467c4ba76e417c2fac362
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseTriggerReference.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseTriggerReference.cs
new file mode 100644
index 000000000..ee900c117
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseTriggerReference.cs
@@ -0,0 +1,11 @@
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2018 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Represents Wwise triggers as Unity assets.
+public class WwiseTriggerReference : WwiseObjectReference
+{
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.Trigger; } }
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseTriggerReference.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseTriggerReference.cs.meta
new file mode 100644
index 000000000..5ecc99f97
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseTriggerReference.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 6b1f2e8fb79fbe04a8f34e9b2da1c8aa
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes.meta
new file mode 100644
index 000000000..577642d59
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 547add351e62e2847b5dfbd11c8e8b65
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseAcousticTexture.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseAcousticTexture.cs
new file mode 100644
index 000000000..5f281e305
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseAcousticTexture.cs
@@ -0,0 +1,20 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+
+namespace AK.Wwise
+{
+ [System.Serializable]
+ ///@brief This type represents an Acoustic Texture.
+ public class AcousticTexture : BaseType
+ {
+ public WwiseAcousticTextureReference WwiseObjectReference;
+
+ public override WwiseObjectReference ObjectReference
+ {
+ get { return WwiseObjectReference; }
+ set { WwiseObjectReference = value as WwiseAcousticTextureReference; }
+ }
+
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.AcousticTexture; } }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseAcousticTexture.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseAcousticTexture.cs.meta
new file mode 100644
index 000000000..15e74a823
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseAcousticTexture.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 395afa703d795b84a8bc19a462c9a7a9
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseAuxBus.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseAuxBus.cs
new file mode 100644
index 000000000..3a334a8d8
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseAuxBus.cs
@@ -0,0 +1,20 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+
+namespace AK.Wwise
+{
+ [System.Serializable]
+ ///@brief This type represents an auxiliary send in the Master-Mixer Hierarchy.
+ public class AuxBus : BaseType
+ {
+ public WwiseAuxBusReference WwiseObjectReference;
+
+ public override WwiseObjectReference ObjectReference
+ {
+ get { return WwiseObjectReference; }
+ set { WwiseObjectReference = value as WwiseAuxBusReference; }
+ }
+
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.AuxBus; } }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseAuxBus.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseAuxBus.cs.meta
new file mode 100644
index 000000000..fa7854684
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseAuxBus.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b1240d6dce66d1645ae19fa7829d8cf6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBank.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBank.cs
new file mode 100644
index 000000000..6a28ec012
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBank.cs
@@ -0,0 +1,38 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+
+namespace AK.Wwise
+{
+ [System.Serializable]
+ ///@brief This type can be used to load/unload SoundBanks.
+ public class Bank : BaseType
+ {
+ public WwiseBankReference WwiseObjectReference;
+
+ public override WwiseObjectReference ObjectReference
+ {
+ get { return WwiseObjectReference; }
+ set { WwiseObjectReference = value as WwiseBankReference; }
+ }
+
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.Soundbank; } }
+
+ public void Load(bool decodeBank = false, bool saveDecodedBank = false)
+ {
+ if (IsValid())
+ AkBankManager.LoadBank(Name, decodeBank, saveDecodedBank);
+ }
+
+ public void LoadAsync(AkCallbackManager.BankCallback callback = null)
+ {
+ if (IsValid())
+ AkBankManager.LoadBankAsync(Name, callback);
+ }
+
+ public void Unload()
+ {
+ if (IsValid())
+ AkBankManager.UnloadBank(Name);
+ }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBank.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBank.cs.meta
new file mode 100644
index 000000000..8d7a44ecf
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBank.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 0ad33e200a1714f43b7e78c27d753840
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBaseGroupType.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBaseGroupType.cs
new file mode 100644
index 000000000..d906b207c
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBaseGroupType.cs
@@ -0,0 +1,62 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+
+namespace AK.Wwise
+{
+ [System.Serializable]
+ ///@brief This type represents the base for all Wwise Types that also require a group GUID, such as State and Switch.
+ public abstract class BaseGroupType : BaseType
+ {
+ public WwiseObjectReference GroupWwiseObjectReference
+ {
+ get
+ {
+ var reference = ObjectReference as WwiseGroupValueObjectReference;
+ return reference ? reference.GroupObjectReference : null;
+ }
+ }
+
+ public abstract WwiseObjectType WwiseObjectGroupType { get; }
+
+ public uint GroupId
+ {
+ get { return GroupWwiseObjectReference ? GroupWwiseObjectReference.Id : AkSoundEngine.AK_INVALID_UNIQUE_ID; }
+ }
+
+ public override bool IsValid()
+ {
+ return base.IsValid() && GroupWwiseObjectReference != null;
+ }
+
+ #region Obsolete
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_2)]
+ public int groupID
+ {
+ get { return (int)GroupId; }
+ }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public byte[] groupGuid
+ {
+ get
+ {
+ var objRef = ObjectReference;
+ return !objRef ? null : objRef.Guid.ToByteArray();
+ }
+ }
+ #endregion
+
+ #region WwiseMigration
+#pragma warning disable 0414 // private field assigned but not used.
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("groupID")]
+ private int groupIdInternal;
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("groupGuid")]
+ private byte[] groupGuidInternal;
+#pragma warning restore 0414 // private field assigned but not used.
+ #endregion
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBaseGroupType.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBaseGroupType.cs.meta
new file mode 100644
index 000000000..35917f3c4
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBaseGroupType.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 92f6ddcf2fb571442bf77117c467d4b6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBaseType.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBaseType.cs
new file mode 100644
index 000000000..e35bd6329
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBaseType.cs
@@ -0,0 +1,93 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+
+namespace AK.Wwise
+{
+ [System.Serializable]
+ ///@brief This type represents the base for all Wwise Types that require a GUID.
+ public abstract class BaseType
+ {
+ public abstract WwiseObjectReference ObjectReference { get; set; }
+
+ public abstract WwiseObjectType WwiseObjectType { get; }
+
+ public virtual string Name
+ {
+ get { return IsValid() ? ObjectReference.DisplayName : string.Empty; }
+ }
+
+ public uint Id
+ {
+ get { return IsValid() ? ObjectReference.Id : AkSoundEngine.AK_INVALID_UNIQUE_ID; }
+ }
+ public static uint InvalidId
+ {
+ get { return AkSoundEngine.AK_INVALID_UNIQUE_ID; }
+ }
+
+ public virtual bool IsValid()
+ {
+ return ObjectReference != null;
+ }
+
+ public bool Validate()
+ {
+ if (IsValid())
+ return true;
+
+ UnityEngine.Debug.LogWarning("Wwise ID has not been resolved. Consider picking a new " + GetType().Name + ".");
+ return false;
+ }
+
+ protected void Verify(AKRESULT result)
+ {
+#if UNITY_EDITOR
+ if (result != AKRESULT.AK_Success && AkSoundEngine.IsInitialized())
+ UnityEngine.Debug.LogWarning("Unsuccessful call made on " + GetType().Name + ".");
+#endif
+ }
+
+ public override string ToString()
+ {
+ return IsValid() ? ObjectReference.ObjectName : ("Empty " + GetType().Name);
+ }
+
+#if UNITY_EDITOR
+ public void SetupReference(string name, System.Guid guid)
+ {
+ ObjectReference = WwiseObjectReference.FindOrCreateWwiseObject(WwiseObjectType, name, guid);
+ }
+#endif
+
+ #region Obsolete
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_2)]
+ public int ID
+ {
+ get { return (int)Id; }
+ }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public byte[] valueGuid
+ {
+ get
+ {
+ var objRef = ObjectReference;
+ return !objRef ? null : objRef.Guid.ToByteArray();
+ }
+ }
+ #endregion
+
+ #region WwiseMigration
+#pragma warning disable 0414 // private field assigned but not used.
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("ID")]
+ private int idInternal;
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("valueGuid")]
+ private byte[] valueGuidInternal;
+#pragma warning restore 0414 // private field assigned but not used.
+ #endregion
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBaseType.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBaseType.cs.meta
new file mode 100644
index 000000000..718a1178e
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseBaseType.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 643b434988f66ab46b2ef0be4afb295a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseCallbackFlags.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseCallbackFlags.cs
new file mode 100644
index 000000000..71a5ae295
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseCallbackFlags.cs
@@ -0,0 +1,128 @@
+#if !(UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+
+namespace AK.Wwise
+{
+ [System.Serializable]
+ ///@brief This type represents the values of the flags used when posting an Event with a callback.
+ public class CallbackFlags
+ {
+ public uint value = 0;
+
+#if UNITY_EDITOR
+ [UnityEditor.CustomPropertyDrawer(typeof(CallbackFlags))]
+ private class CallbackFlagsDrawer : UnityEditor.PropertyDrawer
+ {
+ private static string[] m_supportedCallbackFlags;
+ private static int[] m_supportedCallbackValues;
+
+ public static string[] SupportedCallbackFlags
+ {
+ get
+ {
+ if (m_supportedCallbackFlags == null)
+ SetupSupportedCallbackValuesAndFlags();
+
+ return m_supportedCallbackFlags;
+ }
+ }
+
+ private static void SetupSupportedCallbackValuesAndFlags()
+ {
+ var callbacktypes = System.Enum.GetValues(typeof(AkCallbackType)) as AkCallbackType[];
+ var unsupportedCallbackValues = new[]
+ {
+ AkCallbackType.AK_SpeakerVolumeMatrix, AkCallbackType.AK_MusicSyncAll,
+ AkCallbackType.AK_CallbackBits, AkCallbackType.AK_Monitoring, AkCallbackType.AK_AudioSourceChange,
+ AkCallbackType.AK_Bank, AkCallbackType.AK_AudioInterruption
+ };
+
+ m_supportedCallbackFlags = new string[callbacktypes.Length - unsupportedCallbackValues.Length];
+ m_supportedCallbackValues = new int[callbacktypes.Length - unsupportedCallbackValues.Length];
+
+ var index = 0;
+ for (var i = 0; i < callbacktypes.Length; i++)
+ {
+ if (!Contains(unsupportedCallbackValues, callbacktypes[i]))
+ {
+ m_supportedCallbackFlags[index] = System.Enum.GetName(typeof(AkCallbackType), callbacktypes[i]).Substring(3);
+ m_supportedCallbackValues[index] = (int)callbacktypes[i];
+ index++;
+ }
+ }
+ }
+
+ private static int GetDisplayMask(int in_wwiseCallbackMask)
+ {
+ if (m_supportedCallbackValues == null)
+ SetupSupportedCallbackValuesAndFlags();
+
+ var displayMask = 0;
+ for (var i = 0; i < m_supportedCallbackValues.Length; i++)
+ {
+ if ((m_supportedCallbackValues[i] & in_wwiseCallbackMask) != 0)
+ displayMask |= 1 << i;
+ }
+
+ return displayMask;
+ }
+
+ private static int GetWwiseCallbackMask(int in_displayMask)
+ {
+ if (m_supportedCallbackValues == null)
+ SetupSupportedCallbackValuesAndFlags();
+
+ var wwiseCallbackMask = 0;
+ for (var i = 0; i < m_supportedCallbackValues.Length; i++)
+ {
+ if ((in_displayMask & (1 << i)) != 0)
+ wwiseCallbackMask |= m_supportedCallbackValues[i];
+ }
+
+ return wwiseCallbackMask;
+ }
+
+ private static bool Contains(T[] in_array, T in_value)
+ {
+ for (var i = 0; i < in_array.Length; i++)
+ {
+ if (in_array[i].Equals(in_value))
+ return true;
+ }
+
+ return false;
+ }
+
+ public override void OnGUI(UnityEngine.Rect position, UnityEditor.SerializedProperty property,
+ UnityEngine.GUIContent label)
+ {
+ UnityEditor.EditorGUI.BeginProperty(position, label, property);
+
+ if (label != null && !string.IsNullOrEmpty(label.text))
+ {
+ UnityEditor.EditorGUI.LabelField(position, label);
+ position.x += UnityEditor.EditorGUIUtility.labelWidth;
+ position.width -= UnityEditor.EditorGUIUtility.labelWidth;
+ }
+
+ var indent = UnityEditor.EditorGUI.indentLevel;
+ UnityEditor.EditorGUI.indentLevel = 0;
+
+ var value = property.FindPropertyRelative("value");
+
+ //Since some callback flags are unsupported, some bits are not used.
+ //But when using EditorGUILayout.MaskField, clicking the third flag will set the third bit to one even if the third flag in the AkCallbackType enum is unsupported.
+ //This is a problem because clicking the third supported flag would internally select the third flag in the AkCallbackType enum which is unsupported.
+ //To solve this problem we use a mask for display and another one for the actual callback
+ var displayMask = GetDisplayMask(value.intValue);
+ displayMask = UnityEditor.EditorGUI.MaskField(position, displayMask, SupportedCallbackFlags);
+ value.intValue = GetWwiseCallbackMask(displayMask);
+
+ UnityEditor.EditorGUI.indentLevel = indent;
+
+ UnityEditor.EditorGUI.EndProperty();
+ }
+ }
+#endif
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseCallbackFlags.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseCallbackFlags.cs.meta
new file mode 100644
index 000000000..25e7e1d3e
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseCallbackFlags.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a017ea5cca1b30b4d89e217848d37691
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseEvent.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseEvent.cs
new file mode 100644
index 000000000..b6f68fc5e
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseEvent.cs
@@ -0,0 +1,150 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+
+namespace AK.Wwise
+{
+ [System.Serializable]
+ ///@brief This type can be used to post Events to the sound engine.
+ public class Event : BaseType
+ {
+ public WwiseEventReference WwiseObjectReference;
+
+ public override WwiseObjectReference ObjectReference
+ {
+ get { return WwiseObjectReference; }
+ set { WwiseObjectReference = value as WwiseEventReference; }
+ }
+
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.Event; } }
+
+ private void VerifyPlayingID(uint playingId)
+ {
+#if UNITY_EDITOR
+ if (playingId == AkSoundEngine.AK_INVALID_PLAYING_ID && AkSoundEngine.IsInitialized())
+ {
+ UnityEngine.Debug.LogError("WwiseUnity: Could not post event (name: " + Name + ", ID: " + Id +
+ "). Please make sure to load or rebuild the appropriate SoundBank.");
+ }
+#endif
+ }
+
+ ///
+ /// Posts this Event on a GameObject.
+ ///
+ /// The GameObject
+ /// Returns the playing ID.
+ public uint Post(UnityEngine.GameObject gameObject)
+ {
+ if (!IsValid())
+ return AkSoundEngine.AK_INVALID_PLAYING_ID;
+
+ var playingId = AkSoundEngine.PostEvent(Id, gameObject);
+ VerifyPlayingID(playingId);
+ return playingId;
+ }
+
+ ///
+ /// Posts this Event on a GameObject.
+ ///
+ /// The GameObject
+ ///
+ ///
+ /// Optional cookie received by the callback
+ /// Returns the playing ID.
+ public uint Post(UnityEngine.GameObject gameObject, CallbackFlags flags, AkCallbackManager.EventCallback callback,
+ object cookie = null)
+ {
+ if (!IsValid())
+ return AkSoundEngine.AK_INVALID_PLAYING_ID;
+
+ var playingId = AkSoundEngine.PostEvent(Id, gameObject, flags.value, callback, cookie);
+ VerifyPlayingID(playingId);
+ return playingId;
+ }
+
+ ///
+ /// Posts this Event on a GameObject.
+ ///
+ /// The GameObject
+ ///
+ ///
+ /// Optional cookie received by the callback
+ /// Returns the playing ID.
+ public uint Post(UnityEngine.GameObject gameObject, uint flags, AkCallbackManager.EventCallback callback,
+ object cookie = null)
+ {
+ if (!IsValid())
+ return AkSoundEngine.AK_INVALID_PLAYING_ID;
+
+ var playingId = AkSoundEngine.PostEvent(Id, gameObject, flags, callback, cookie);
+ VerifyPlayingID(playingId);
+ return playingId;
+ }
+
+ public void Stop(UnityEngine.GameObject gameObject, int transitionDuration = 0,
+ AkCurveInterpolation curveInterpolation = AkCurveInterpolation.AkCurveInterpolation_Linear)
+ {
+ ExecuteAction(gameObject, AkActionOnEventType.AkActionOnEventType_Stop, transitionDuration, curveInterpolation);
+ }
+
+ ///
+ /// Executes various actions on this event associated with a GameObject.
+ ///
+ /// The GameObject
+ ///
+ ///
+ ///
+ public void ExecuteAction(UnityEngine.GameObject gameObject, AkActionOnEventType actionOnEventType,
+ int transitionDuration, AkCurveInterpolation curveInterpolation)
+ {
+ if (IsValid())
+ {
+ var result = AkSoundEngine.ExecuteActionOnEvent(Id, actionOnEventType, gameObject, transitionDuration,
+ curveInterpolation);
+ Verify(result);
+ }
+ }
+
+ ///
+ /// Posts MIDI Events on this Event associated with a GameObject.
+ ///
+ /// The GameObject
+ /// The array of AkMIDIPost that are posted.
+ public void PostMIDI(UnityEngine.GameObject gameObject, AkMIDIPostArray array)
+ {
+ if (IsValid())
+ array.PostOnEvent(Id, gameObject);
+ }
+
+ ///
+ /// Posts MIDI Events on this Event associated with a GameObject.
+ ///
+ /// The GameObject
+ /// The array of AkMIDIPost that are posted.
+ /// The number of elements from the array that will be posted.
+ public void PostMIDI(UnityEngine.GameObject gameObject, AkMIDIPostArray array, int count)
+ {
+ if (IsValid())
+ array.PostOnEvent(Id, gameObject, count);
+ }
+
+ ///
+ /// Stops MIDI Events on this Event associated with a GameObject.
+ ///
+ /// The GameObject
+ public void StopMIDI(UnityEngine.GameObject gameObject)
+ {
+ if (IsValid())
+ AkSoundEngine.StopMIDIOnEvent(Id, gameObject);
+ }
+
+ ///
+ /// Stops all MIDI Events on this Event.
+ ///
+ public void StopMIDI()
+ {
+ if (IsValid())
+ AkSoundEngine.StopMIDIOnEvent(Id);
+ }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseEvent.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseEvent.cs.meta
new file mode 100644
index 000000000..4ac4644b5
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseEvent.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a258b6ed6f37514419398a9343f5febf
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseRtpc.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseRtpc.cs
new file mode 100644
index 000000000..2f706a21e
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseRtpc.cs
@@ -0,0 +1,57 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+
+namespace AK.Wwise
+{
+ [System.Serializable]
+ ///@brief This type can be used to set game parameter values to the sound engine.
+ public class RTPC : BaseType
+ {
+ public WwiseRtpcReference WwiseObjectReference;
+
+ public override WwiseObjectReference ObjectReference
+ {
+ get { return WwiseObjectReference; }
+ set { WwiseObjectReference = value as WwiseRtpcReference; }
+ }
+
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.GameParameter; } }
+
+ public void SetValue(UnityEngine.GameObject gameObject, float value)
+ {
+ if (IsValid())
+ {
+ var result = AkSoundEngine.SetRTPCValue(Id, value, gameObject);
+ Verify(result);
+ }
+ }
+
+ public float GetValue(UnityEngine.GameObject gameObject)
+ {
+ float value = 0;
+ if (IsValid())
+ {
+ var akQueryValue = gameObject ? AkQueryRTPCValue.RTPCValue_GameObject : AkQueryRTPCValue.RTPCValue_Global;
+ var queryValue = (int)akQueryValue;
+ var result = AkSoundEngine.GetRTPCValue(Id, gameObject, AkSoundEngine.AK_INVALID_PLAYING_ID, out value, ref queryValue);
+ Verify(result);
+ }
+
+ return value;
+ }
+
+ public void SetGlobalValue(float value)
+ {
+ if (IsValid())
+ {
+ var result = AkSoundEngine.SetRTPCValue(Id, value);
+ Verify(result);
+ }
+ }
+
+ public float GetGlobalValue()
+ {
+ return GetValue(null);
+ }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseRtpc.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseRtpc.cs.meta
new file mode 100644
index 000000000..91da26332
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseRtpc.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 94f3c537651750e46a1385392df3a79a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseState.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseState.cs
new file mode 100644
index 000000000..969e31475
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseState.cs
@@ -0,0 +1,30 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+
+namespace AK.Wwise
+{
+ [System.Serializable]
+ ///@brief This type can be used to set Wwise States.
+ public class State : BaseGroupType
+ {
+ public WwiseStateReference WwiseObjectReference;
+
+ public override WwiseObjectReference ObjectReference
+ {
+ get { return WwiseObjectReference; }
+ set { WwiseObjectReference = value as WwiseStateReference; }
+ }
+
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.State; } }
+ public override WwiseObjectType WwiseObjectGroupType { get { return WwiseObjectType.StateGroup; } }
+
+ public void SetValue()
+ {
+ if (IsValid())
+ {
+ var result = AkSoundEngine.SetState(GroupId, Id);
+ Verify(result);
+ }
+ }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseState.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseState.cs.meta
new file mode 100644
index 000000000..26b6ab955
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseState.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 2a84427d5737e0d4688091514b3bd64b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseSwitch.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseSwitch.cs
new file mode 100644
index 000000000..40bbd0361
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseSwitch.cs
@@ -0,0 +1,30 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+
+namespace AK.Wwise
+{
+ [System.Serializable]
+ ///@brief This type can be used to set Switch values on gameobjects.
+ public class Switch : BaseGroupType
+ {
+ public WwiseSwitchReference WwiseObjectReference;
+
+ public override WwiseObjectReference ObjectReference
+ {
+ get { return WwiseObjectReference; }
+ set { WwiseObjectReference = value as WwiseSwitchReference; }
+ }
+
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.Switch; } }
+ public override WwiseObjectType WwiseObjectGroupType { get { return WwiseObjectType.SwitchGroup; } }
+
+ public void SetValue(UnityEngine.GameObject gameObject)
+ {
+ if (IsValid())
+ {
+ var result = AkSoundEngine.SetSwitch(GroupId, Id, gameObject);
+ Verify(result);
+ }
+ }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseSwitch.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseSwitch.cs.meta
new file mode 100644
index 000000000..7967ee39b
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseSwitch.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 51a2de559fc083448a045e92988c5e3d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseTrigger.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseTrigger.cs
new file mode 100644
index 000000000..9f7ea5ddf
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseTrigger.cs
@@ -0,0 +1,29 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+
+namespace AK.Wwise
+{
+ [System.Serializable]
+ ///@brief This type can be used to post triggers to the sound engine.
+ public class Trigger : BaseType
+ {
+ public WwiseTriggerReference WwiseObjectReference;
+
+ public override WwiseObjectReference ObjectReference
+ {
+ get { return WwiseObjectReference; }
+ set { WwiseObjectReference = value as WwiseTriggerReference; }
+ }
+
+ public override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.Trigger; } }
+
+ public void Post(UnityEngine.GameObject gameObject)
+ {
+ if (IsValid())
+ {
+ var result = AkSoundEngine.PostTrigger(Id, gameObject);
+ Verify(result);
+ }
+ }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseTrigger.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseTrigger.cs.meta
new file mode 100644
index 000000000..5d429574d
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseTrigger.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: ea87af3f61f93d04d8693e431b3bab74
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseTypeMigration.cs b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseTypeMigration.cs
new file mode 100644
index 000000000..0840b48d5
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseTypeMigration.cs
@@ -0,0 +1,213 @@
+#if !(UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+#if UNITY_EDITOR
+
+namespace AK.Wwise
+{
+ public interface IMigratable
+ {
+ // return true if changes have been made to the serializedObject
+ bool Migrate(UnityEditor.SerializedObject serializedObject);
+ }
+
+ public static class TypeMigration
+ {
+ private static byte[] GetByteArray(UnityEditor.SerializedProperty property)
+ {
+ if (property == null || !property.isArray)
+ return null;
+
+ if (property.arraySize != 16)
+ return null;
+
+ var byteArray = new byte[16];
+ for (var i = 0; i < 16; ++i)
+ byteArray[i] = (byte)property.GetArrayElementAtIndex(i).intValue;
+
+ return byteArray;
+ }
+
+ private static int GetId(UnityEditor.SerializedProperty property)
+ {
+ if (property == null)
+ return (int)AkSoundEngine.AK_INVALID_UNIQUE_ID;
+
+ switch (property.propertyType)
+ {
+ case UnityEditor.SerializedPropertyType.Integer:
+ return property.intValue;
+
+ case UnityEditor.SerializedPropertyType.String:
+ return (int)AkUtilities.ShortIDGenerator.Compute(property.stringValue);
+
+ default:
+ return (int)AkSoundEngine.AK_INVALID_UNIQUE_ID;
+ }
+ }
+
+ private static WwiseObjectType GetWwiseObjectType(UnityEditor.SerializedProperty property)
+ {
+ var name = property.type;
+ if (name == typeof(AuxBus).Name)
+ return WwiseObjectType.AuxBus;
+ if (name == typeof(Event).Name)
+ return WwiseObjectType.Event;
+ if (name == typeof(Bank).Name)
+ return WwiseObjectType.Soundbank;
+ if (name == typeof(State).Name)
+ return WwiseObjectType.State;
+ if (name == typeof(Switch).Name)
+ return WwiseObjectType.Switch;
+ if (name == typeof(RTPC).Name)
+ return WwiseObjectType.GameParameter;
+ if (name == typeof(Trigger).Name)
+ return WwiseObjectType.Trigger;
+ if (name == typeof(AcousticTexture).Name)
+ return WwiseObjectType.AcousticTexture;
+
+ return WwiseObjectType.None;
+ }
+
+ private static bool SetWwiseObjectReferenceProperty(UnityEditor.SerializedProperty wwiseObjRefProperty, WwiseObjectReference objRef)
+ {
+ var previousObjectReference = wwiseObjRefProperty.objectReferenceValue as WwiseObjectReference;
+ if (previousObjectReference == objRef)
+ {
+ if (objRef)
+ {
+ UnityEngine.Debug.Log("WwiseUnity: WwiseObjectReference already set to <" + objRef.DisplayName + "> on <" + wwiseObjRefProperty.serializedObject.targetObject + "> for type <" + objRef.WwiseObjectType + ">.");
+ }
+ else
+ {
+ UnityEngine.Debug.Log("WwiseUnity: WwiseObjectReference already set to on <" + wwiseObjRefProperty.serializedObject.targetObject + ">.");
+ }
+ return false;
+ }
+
+ if (previousObjectReference)
+ {
+ if (objRef)
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: Overwriting WwiseObjectReference on <" + wwiseObjRefProperty.serializedObject.targetObject + "> for type <" + objRef.WwiseObjectType + "> from <" + previousObjectReference.DisplayName + "> to <" + objRef.DisplayName + ">.");
+ }
+ else
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: Overwriting WwiseObjectReference on <" + wwiseObjRefProperty.serializedObject.targetObject + "> from <" + previousObjectReference.DisplayName + "> to .");
+ }
+ }
+ else if (objRef)
+ {
+ UnityEngine.Debug.Log("WwiseUnity: Setting WwiseObjectReference on <" + wwiseObjRefProperty.serializedObject.targetObject + "> for type <" + objRef.WwiseObjectType + "> to <" + objRef.DisplayName + ">.");
+ }
+ else
+ {
+ UnityEngine.Debug.Log("WwiseUnity: Setting WwiseObjectReference on <" + wwiseObjRefProperty.serializedObject.targetObject + "> to .");
+ }
+
+ wwiseObjRefProperty.objectReferenceValue = objRef;
+ return true;
+ }
+
+ public static bool SearchAndProcessWwiseTypes(UnityEditor.SerializedProperty property)
+ {
+ var anyChange = false;
+ var recurse = false;
+ for (var loop = property != null; loop; loop = property.Next(recurse))
+ {
+ recurse = false;
+
+ if (property.isArray)
+ {
+ if (property.arraySize == 0)
+ continue;
+
+ recurse = property.GetArrayElementAtIndex(0).propertyType == UnityEditor.SerializedPropertyType.Generic;
+ }
+ else if (property.propertyType == UnityEditor.SerializedPropertyType.Generic)
+ {
+ recurse = true;
+
+ var wwiseObjectType = GetWwiseObjectType(property);
+ if (wwiseObjectType == WwiseObjectType.None)
+ continue;
+
+ // At this point, we know that the property's type's name is the same as one of our WwiseTypes.
+ var valueGuidProperty = property.FindPropertyRelative("valueGuidInternal");
+ var wwiseObjectReferenceProperty = property.FindPropertyRelative("WwiseObjectReference");
+ if (valueGuidProperty == null || wwiseObjectReferenceProperty == null)
+ continue;
+
+ // At this point, we can be **pretty** sure that we are dealing with a WwiseType.
+ // The uncertainty lies with the fact that the property.type is the non-qualified name of the property's type.
+ recurse = false;
+
+ var idProperty = property.FindPropertyRelative("idInternal");
+ var hasChanged = false;
+ if (wwiseObjectType == WwiseObjectType.State || wwiseObjectType == WwiseObjectType.Switch)
+ {
+ var groupGuidProperty = property.FindPropertyRelative("groupGuidInternal");
+ if (groupGuidProperty == null)
+ continue;
+
+ var groupIdProperty = property.FindPropertyRelative("groupIdInternal");
+ hasChanged = ProcessDoubleGuidType(wwiseObjectReferenceProperty, wwiseObjectType, valueGuidProperty, idProperty, groupGuidProperty, groupIdProperty);
+ }
+ else
+ {
+ hasChanged = ProcessSingleGuidType(wwiseObjectReferenceProperty, wwiseObjectType, valueGuidProperty, idProperty);
+ }
+
+ anyChange = anyChange || hasChanged;
+ }
+ }
+
+ return anyChange;
+ }
+
+ public static bool ProcessSingleGuidType(UnityEditor.SerializedProperty wwiseObjectReferenceProperty, WwiseObjectType wwiseObjectType,
+ UnityEditor.SerializedProperty valueGuidProperty, UnityEditor.SerializedProperty idProperty)
+ {
+ if (wwiseObjectReferenceProperty == null)
+ {
+ UnityEngine.Debug.LogError("WwiseUnity: This migration step is no longer necessary.");
+ return false;
+ }
+
+ var valueGuid = GetByteArray(valueGuidProperty);
+ if (valueGuid == null)
+ {
+ var serializedObject = wwiseObjectReferenceProperty.serializedObject;
+ UnityEngine.Debug.Log("WwiseUnity: No data to migrate <" + wwiseObjectType + "> on <" + serializedObject.targetObject.GetType() + ">.");
+ return false;
+ }
+
+ var objectReference = WwiseObjectReference.GetWwiseObjectForMigration(wwiseObjectType, valueGuid, GetId(idProperty));
+ return SetWwiseObjectReferenceProperty(wwiseObjectReferenceProperty, objectReference);
+ }
+
+ public static bool ProcessDoubleGuidType(UnityEditor.SerializedProperty wwiseObjectReferenceProperty, WwiseObjectType wwiseObjectType,
+ UnityEditor.SerializedProperty valueGuidProperty, UnityEditor.SerializedProperty idProperty,
+ UnityEditor.SerializedProperty groupGuidProperty, UnityEditor.SerializedProperty groupIdProperty)
+ {
+ if (wwiseObjectReferenceProperty == null)
+ {
+ UnityEngine.Debug.LogError("WwiseUnity: This migration step is no longer necessary.");
+ return false;
+ }
+
+ var valueGuid = GetByteArray(valueGuidProperty);
+ var groupGuid = GetByteArray(groupGuidProperty);
+ if (valueGuid == null || groupGuid == null)
+ {
+ var serializedObject = wwiseObjectReferenceProperty.serializedObject;
+ UnityEngine.Debug.Log("WwiseUnity: No data to migrate <" + wwiseObjectType + "> on <" + serializedObject.targetObject.GetType() + ">.");
+ return false;
+ }
+
+ var objectReference = WwiseGroupValueObjectReference.GetWwiseObjectForMigration(wwiseObjectType, valueGuid, GetId(idProperty), groupGuid, GetId(groupIdProperty));
+ return SetWwiseObjectReferenceProperty(wwiseObjectReferenceProperty, objectReference);
+ }
+ }
+}
+
+#endif // UNITY_EDITOR
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseTypeMigration.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseTypeMigration.cs.meta
new file mode 100644
index 000000000..f13b8b2ac
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Common/WwiseTypes/AkWwiseTypeMigration.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a3329eb0f40932842856101c06827d08
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Mac.meta b/Assets/Wwise/Deployment/API/Handwritten/Mac.meta
new file mode 100644
index 000000000..fec8397ee
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Mac.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: abd4e24bb3307994e8b018ee89d94c57
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Mac/AkMacBasePathGetter.cs b/Assets/Wwise/Deployment/API/Handwritten/Mac/AkMacBasePathGetter.cs
new file mode 100644
index 000000000..7c69343bb
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Mac/AkMacBasePathGetter.cs
@@ -0,0 +1,6 @@
+#if UNITY_EDITOR_OSX || (UNITY_STANDALONE_OSX && !UNITY_EDITOR)
+public partial class AkBasePathGetter
+{
+ static string DefaultPlatformName = "Mac";
+}
+#endif
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Mac/AkMacBasePathGetter.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Mac/AkMacBasePathGetter.cs.meta
new file mode 100644
index 000000000..b3aab9e1e
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Mac/AkMacBasePathGetter.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: ec12c54a24b9f5f4fb47ca2b339aad2e
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Mac/AkMacSettings.cs b/Assets/Wwise/Deployment/API/Handwritten/Mac/AkMacSettings.cs
new file mode 100644
index 000000000..80998ac4f
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Mac/AkMacSettings.cs
@@ -0,0 +1,20 @@
+#if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
+public partial class AkCommonUserSettings
+{
+ partial void SetSampleRate(AkPlatformInitSettings settings)
+ {
+ settings.uSampleRate = m_SampleRate;
+ }
+}
+#endif
+
+public class AkMacSettings : AkWwiseInitializationSettings.CommonPlatformSettings
+{
+#if UNITY_EDITOR
+ [UnityEditor.InitializeOnLoadMethod]
+ private static void AutomaticPlatformRegistration()
+ {
+ RegisterPlatformSettingsClass("Mac");
+ }
+#endif // UNITY_EDITOR
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Mac/AkMacSettings.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Mac/AkMacSettings.cs.meta
new file mode 100644
index 000000000..c6d2ebe90
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Mac/AkMacSettings.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 0581c9fda561dcd408104009e818826d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Mac/AkSoundEngine.cs b/Assets/Wwise/Deployment/API/Handwritten/Mac/AkSoundEngine.cs
new file mode 100644
index 000000000..91ff46476
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Mac/AkSoundEngine.cs
@@ -0,0 +1,14 @@
+public partial class AkSoundEngine
+{
+#if UNITY_EDITOR_OSX || (UNITY_STANDALONE_OSX && !UNITY_EDITOR)
+ ///
+ /// Converts "AkOSChar*" C-strings to C# strings.
+ ///
+ /// "AkOSChar*" memory pointer passed to C# as an IntPtr.
+ /// Converted string.
+ public static string StringFromIntPtrOSString(System.IntPtr ptr)
+ {
+ return StringFromIntPtrString(ptr);
+ }
+#endif
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Mac/AkSoundEngine.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Mac/AkSoundEngine.cs.meta
new file mode 100644
index 000000000..fa79f2b34
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Mac/AkSoundEngine.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 0373982e17b33ee44997dfa37a3f5e89
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/WAAPI.meta b/Assets/Wwise/Deployment/API/Handwritten/WAAPI.meta
new file mode 100644
index 000000000..5b6270008
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/WAAPI.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 4f848f069e58245468bdfc086a6f49cf
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/WAAPI/AkWaapiClient.cs b/Assets/Wwise/Deployment/API/Handwritten/WAAPI/AkWaapiClient.cs
new file mode 100644
index 000000000..e87d8e7a5
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/WAAPI/AkWaapiClient.cs
@@ -0,0 +1,290 @@
+#if UNITY_EDITOR
+
+[UnityEditor.InitializeOnLoad]
+///@brief The full Wwise Authoring API is exposed to Unity as a native plugin for the Windows and macOS platforms. All features, including subscriptions, are supported through the \c AkWAAPIClient class.
+public class AkWaapiClient
+{
+ #region WAAPI Client Interface
+ ///
+ /// Connects to a Wwise Authoring application
+ ///
+ /// IP to connect to
+ /// Port to connect to
+ /// Connection success
+ public static bool Connect(string Uri, uint Port)
+ {
+ try
+ {
+ if (AkWaapiClient_PINVOKE.IsConnected())
+ return true;
+
+ return AkWaapiClient_PINVOKE.Connect(Uri, Port);
+ }
+ catch
+ {
+ return false;
+ }
+ }
+
+ ///
+ /// Is the client connected
+ ///
+ public static bool IsConnected
+ {
+ get
+ {
+ try
+ {
+ return AkWaapiClient_PINVOKE.IsConnected();
+ }
+ catch
+ {
+ return false;
+ }
+ }
+ }
+
+ ///
+ /// Disconnects from the connected Wwise Authoring application
+ ///
+ public static void Disconnect()
+ {
+ foreach (var Callback in WaapiEventCallbacks)
+ {
+ string Result;
+ UnsubscribeInternal(Callback.Key, -1, out Result);
+ }
+
+ WaapiEventCallbacks.Clear();
+ try
+ {
+ AkWaapiClient_PINVOKE.Disconnect();
+ }
+ catch {}
+ }
+
+ ///
+ /// Subscribes to a topic. See Subscribing to Topics in the Wwise Authoring API for more information.
+ ///
+ /// Topic to subscribe to
+ /// Elements of the Wwise objects to return
+ /// C# delegate to execute when subscription is triggered
+ /// Unique ID representing the subscription
+ /// Result of the subscription attempt
+ /// Subscription success
+ public static bool Subscribe(string Uri, string Options, WaapiEventCallback Callback, out ulong SubscriptionID, out string Result)
+ {
+ try
+ {
+ int ResultLength;
+ bool res = AkWaapiClient_PINVOKE.Subscribe(Uri, Options, out SubscriptionID, out ResultLength);
+ if (res)
+ {
+ WaapiEventCallbacks.Add(SubscriptionID, Callback);
+ }
+ res &= GetLastString(ResultLength, out Result);
+ return res;
+ }
+ catch
+ {
+ SubscriptionID = 0;
+ Result = string.Empty;
+ return false;
+ }
+ }
+
+ ///
+ /// Subscribes to a topic. See Subscribing to Topics in the Wwise Authoring API for more information.
+ ///
+ /// Topic to subscribe to
+ /// Elements of the Wwise objects to return
+ /// C# delegate to execute when subscription is triggered
+ /// Timeout in milliseconds to wait on the Wwise Authoring application to respond
+ /// Unique ID representing the subscription
+ /// Result of the subscription attempt
+ /// Subscription success
+ public static bool Subscribe(string Uri, string Options, WaapiEventCallback Callback, int TimeoutMs, out ulong SubscriptionID, out string Result)
+ {
+ try
+ {
+ int ResultLength;
+ bool res = AkWaapiClient_PINVOKE.Subscribe(Uri, Options, out SubscriptionID, TimeoutMs, out ResultLength);
+ if (res)
+ {
+ WaapiEventCallbacks.Add(SubscriptionID, Callback);
+ }
+ res &= GetLastString(ResultLength, out Result);
+ return res;
+ }
+ catch
+ {
+ SubscriptionID = 0;
+ Result = string.Empty;
+ return false;
+ }
+ }
+
+ private static bool UnsubscribeInternal(ulong SubscriptionID, int TimeoutMs, out string Result)
+ {
+ try
+ {
+ int ResultLength;
+ bool res = AkWaapiClient_PINVOKE.Unsubscribe(SubscriptionID, TimeoutMs, out ResultLength);
+ res &= GetLastString(ResultLength, out Result);
+ return res;
+ }
+ catch
+ {
+ Result = string.Empty;
+ return false;
+ }
+ }
+
+ ///
+ /// Unsubscribes from a topic.
+ ///
+ /// Unique ID representing the subscription
+ /// Result of the unsubscription attempt
+ /// Unsubscription success
+ public static bool Unsubscribe(ulong SubscriptionID, out string Result)
+ {
+ bool res = UnsubscribeInternal(SubscriptionID, -1, out Result);
+ if (res)
+ {
+ WaapiEventCallbacks.Remove(SubscriptionID);
+ }
+ return res;
+ }
+
+ ///
+ /// Unsubscribes from a topic.
+ ///
+ /// Unique ID representing the subscription
+ /// Timeout in milliseconds to wait on the Wwise Authoring application to respond
+ /// Result of the unsubscription attempt
+ /// Unsubscription success
+ public static bool Unsubscribe(ulong SubscriptionID, int TimeoutMs, out string Result)
+ {
+ bool res = UnsubscribeInternal(SubscriptionID, TimeoutMs, out Result);
+ if (res)
+ {
+ WaapiEventCallbacks.Remove(SubscriptionID);
+ }
+ return res;
+ }
+
+ ///
+ /// Perform a call to the Wwise Authoring. See Querying the Wwise Project for more information.
+ ///
+ /// Function to call
+ /// Arguments required by the function
+ /// Elements of the Wwise objects to return
+ /// Result of the subscription attempt
+ /// Call success
+ public static bool Call(string Uri, string Args, string Options, out string Result)
+ {
+ try
+ {
+ int ResultLength;
+ bool res = AkWaapiClient_PINVOKE.Call(Uri, Args, Options, out ResultLength);
+ res &= GetLastString(ResultLength, out Result);
+ return res;
+ }
+ catch
+ {
+ Result = string.Empty;
+ return false;
+ }
+ }
+
+ ///
+ /// Perform a call to the Wwise Authoring. See Querying the Wwise Project for more information.
+ ///
+ /// Function to call
+ /// Arguments required by the function
+ /// Elements of the Wwise objects to return
+ /// Timeout in milliseconds to wait on the Wwise Authoring application to respond
+ /// Result of the subscription attempt
+ /// Call success
+ public static bool Call(string Uri, string Args, string Options, int TimeoutMs, out string Result)
+ {
+ try
+ {
+ int ResultLength;
+ bool res = AkWaapiClient_PINVOKE.Call(Uri, Args, Options, TimeoutMs, out ResultLength);
+ res &= GetLastString(ResultLength, out Result);
+ return res;
+ }
+ catch
+ {
+ Result = string.Empty;
+ return false;
+ }
+ }
+ #endregion
+
+ #region Callback Management
+
+ ///
+ /// Delegate ran when a subscription is triggered
+ ///
+ /// Unique ID representing the subscription
+ /// Information requested in the subscription
+ [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]
+ public delegate void WaapiEventCallback(ulong SubscriptionID, string Contents);
+
+ private static void ProcessCallbacks()
+ {
+ if (UnityEditor.EditorApplication.isCompiling)
+ {
+ UnityEditor.EditorApplication.update -= ProcessCallbacks;
+ }
+ else if (IsConnected)
+ {
+ AkWaapiClient_PINVOKE.ProcessCallbacks();
+ }
+ }
+
+ [AOT.MonoPInvokeCallback(typeof(WaapiEventCallback))]
+ private static void InternalWampEventCallback(ulong SubscriptionID, string Contents)
+ {
+ if (WaapiEventCallbacks.ContainsKey(SubscriptionID))
+ {
+ WaapiEventCallbacks[SubscriptionID](SubscriptionID, Contents);
+ }
+ else
+ {
+ string Result;
+ UnityEngine.Debug.Log("SubscriptionID " + SubscriptionID + " not found");
+ UnsubscribeInternal(SubscriptionID, -1, out Result);
+ }
+ }
+
+ private static System.Collections.Generic.Dictionary WaapiEventCallbacks
+ = new System.Collections.Generic.Dictionary();
+ #endregion
+
+ static AkWaapiClient()
+ {
+ try
+ {
+ AkWaapiClient_PINVOKE.SetWampEventCallback(InternalWampEventCallback);
+ UnityEditor.EditorApplication.update += ProcessCallbacks;
+ }
+ catch { }
+ }
+
+ ~AkWaapiClient()
+ {
+ UnityEditor.EditorApplication.update -= ProcessCallbacks;
+ }
+
+ private static bool GetLastString(int StringLength, out string Result)
+ {
+ var ResultBuilder = new System.Text.StringBuilder(StringLength);
+ bool res = AkWaapiClient_PINVOKE.GetLastString(ResultBuilder, ResultBuilder.Capacity);
+ Result = ResultBuilder.ToString();
+ return res;
+ }
+}
+#endif
diff --git a/Assets/Wwise/Deployment/API/Handwritten/WAAPI/AkWaapiClient.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/WAAPI/AkWaapiClient.cs.meta
new file mode 100644
index 000000000..038261a44
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/WAAPI/AkWaapiClient.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 82d9e7c8755c4f54eb2814bafcb546d5
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/WAAPI/AkWaapiClient_PINVOKE.cs b/Assets/Wwise/Deployment/API/Handwritten/WAAPI/AkWaapiClient_PINVOKE.cs
new file mode 100644
index 000000000..0e51ee24a
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/WAAPI/AkWaapiClient_PINVOKE.cs
@@ -0,0 +1,80 @@
+#if UNITY_EDITOR
+
+public class AkWaapiClient_PINVOKE {
+
+ static AkWaapiClient_PINVOKE() {}
+
+
+ [global::System.Runtime.InteropServices.DllImport("AkWaapiClient", EntryPoint = "SetWampEventCallback")]
+ public static extern bool SetWampEventCallback(AkWaapiClient.WaapiEventCallback Callback);
+
+ [global::System.Runtime.InteropServices.DllImport("AkWaapiClient", EntryPoint="Connect")]
+ public static extern bool Connect(
+ [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string in_uri,
+ uint in_port
+ );
+
+ [global::System.Runtime.InteropServices.DllImport("AkWaapiClient", EntryPoint = "IsConnected")]
+ public static extern bool IsConnected();
+
+ [global::System.Runtime.InteropServices.DllImport("AkWaapiClient", EntryPoint = "Disconnect")]
+ public static extern void Disconnect();
+
+ [global::System.Runtime.InteropServices.DllImport("AkWaapiClient", EntryPoint = "Subscribe")]
+ public static extern bool Subscribe(
+ [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string in_uri,
+ [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string in_options,
+ out ulong SubscriptionID,
+ out int resultLength
+ );
+
+ [global::System.Runtime.InteropServices.DllImport("AkWaapiClient", EntryPoint = "SubscribeWithTimeout")]
+ public static extern bool Subscribe(
+ [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string in_uri,
+ [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string in_options,
+ out ulong SubscriptionID,
+ int TimeoutMs,
+ out int resultLength
+ );
+
+ [global::System.Runtime.InteropServices.DllImport("AkWaapiClient", EntryPoint = "Unsubscribe")]
+ public static extern bool Unsubscribe(
+ ulong SubscriptionID,
+ out int resultLength
+ );
+
+ [global::System.Runtime.InteropServices.DllImport("AkWaapiClient", EntryPoint = "UnsubscribeWithTimeout")]
+ public static extern bool Unsubscribe(
+ ulong SubscriptionID,
+ int TimeoutMs,
+ out int resultLength
+ );
+
+ [global::System.Runtime.InteropServices.DllImport("AkWaapiClient", EntryPoint = "Call")]
+ public static extern bool Call(
+ [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string in_uri,
+ [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string in_args,
+ [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string in_options,
+ out int resultLength
+ );
+
+ [global::System.Runtime.InteropServices.DllImport("AkWaapiClient", EntryPoint = "CallWithTimeout")]
+ public static extern bool Call(
+ [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string in_uri,
+ [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string in_args,
+ [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr)]string in_options,
+ int TimeoutMs,
+ out int resultLength
+ );
+
+ [global::System.Runtime.InteropServices.DllImport("AkWaapiClient", EntryPoint = "GetLastString")]
+ public static extern bool GetLastString(
+ System.Text.StringBuilder out_result,
+ int resultLength
+ );
+
+ [global::System.Runtime.InteropServices.DllImport("AkWaapiClient", EntryPoint = "ProcessCallbacks")]
+ public static extern void ProcessCallbacks();
+}
+
+#endif
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/WAAPI/AkWaapiClient_PINVOKE.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/WAAPI/AkWaapiClient_PINVOKE.cs.meta
new file mode 100644
index 000000000..698eb29ff
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/WAAPI/AkWaapiClient_PINVOKE.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9c7463136c268114ca31d1f880c8893d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Windows.meta b/Assets/Wwise/Deployment/API/Handwritten/Windows.meta
new file mode 100644
index 000000000..d28d63589
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Windows.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 99ba66c9d2119714b8a1e94599195312
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Windows/AkSoundEngine.cs b/Assets/Wwise/Deployment/API/Handwritten/Windows/AkSoundEngine.cs
new file mode 100644
index 000000000..9455c21d1
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Windows/AkSoundEngine.cs
@@ -0,0 +1,14 @@
+public partial class AkSoundEngine
+{
+#if UNITY_EDITOR_WIN || (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_WSA
+ ///
+ /// Converts "AkOSChar*" C-strings to C# strings.
+ ///
+ /// "AkOSChar*" memory pointer passed to C# as an IntPtr.
+ /// Converted string.
+ public static string StringFromIntPtrOSString(System.IntPtr ptr)
+ {
+ return StringFromIntPtrWString(ptr);
+ }
+#endif
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Windows/AkSoundEngine.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Windows/AkSoundEngine.cs.meta
new file mode 100644
index 000000000..fbe47b6df
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Windows/AkSoundEngine.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b05269b6c1babda43af19241293cb966
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Windows/AkWindowsBasePathGetter.cs b/Assets/Wwise/Deployment/API/Handwritten/Windows/AkWindowsBasePathGetter.cs
new file mode 100644
index 000000000..30c98f427
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Windows/AkWindowsBasePathGetter.cs
@@ -0,0 +1,6 @@
+#if UNITY_EDITOR_WIN || (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_WSA
+public partial class AkBasePathGetter
+{
+ static string DefaultPlatformName = "Windows";
+}
+#endif
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Windows/AkWindowsBasePathGetter.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Windows/AkWindowsBasePathGetter.cs.meta
new file mode 100644
index 000000000..d50307050
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Windows/AkWindowsBasePathGetter.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 45bdbb076d1d6d94590323f2fc583a8b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Windows/AkWindowsSettings.cs b/Assets/Wwise/Deployment/API/Handwritten/Windows/AkWindowsSettings.cs
new file mode 100644
index 000000000..b00716090
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Windows/AkWindowsSettings.cs
@@ -0,0 +1,72 @@
+#if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
+public partial class AkCommonUserSettings
+{
+ partial void SetSampleRate(AkPlatformInitSettings settings)
+ {
+ settings.uSampleRate = m_SampleRate;
+ }
+}
+#endif
+
+public class AkWindowsSettings : AkWwiseInitializationSettings.PlatformSettings
+{
+#if UNITY_EDITOR
+ [UnityEditor.InitializeOnLoadMethod]
+ private static void AutomaticPlatformRegistration()
+ {
+ RegisterPlatformSettingsClass("Windows");
+ }
+#endif // UNITY_EDITOR
+
+ protected override AkCommonUserSettings GetUserSettings()
+ {
+ return UserSettings;
+ }
+
+ protected override AkCommonAdvancedSettings GetAdvancedSettings()
+ {
+ return AdvancedSettings;
+ }
+
+ protected override AkCommonCommSettings GetCommsSettings()
+ {
+ return CommsSettings;
+ }
+
+ [System.Serializable]
+ public class PlatformAdvancedSettings : AkCommonAdvancedSettings
+ {
+ public enum AudioAPI
+ {
+ None = 0,
+ Wasapi = 1 << 0,
+ XAudio2 = 1 << 1,
+ DirectSound = 1 << 2,
+ Default = ~0,
+ }
+
+ [UnityEngine.Tooltip("Main audio API to use. Leave set to \"Default\" for the default audio sink. This value will be ignored if a valid \"AudioDeviceShareset\" is provided.")]
+ [AkEnumFlag(typeof(AudioAPI))]
+ public AudioAPI m_AudioAPI = AudioAPI.Default;
+
+ [UnityEngine.Tooltip("Only used when \"AudioAPI\" is \"DirectSound\", sounds will be muted if set to false when the game loses the focus.")]
+ public bool m_GlobalFocus = true;
+
+ public override void CopyTo(AkPlatformInitSettings settings)
+ {
+#if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN || UNITY_WSA
+ settings.eAudioAPI = (AkAudioAPI)m_AudioAPI;
+ settings.bGlobalFocus = m_GlobalFocus;
+#endif
+ }
+ }
+
+ [UnityEngine.HideInInspector]
+ public AkCommonUserSettings UserSettings;
+
+ [UnityEngine.HideInInspector]
+ public PlatformAdvancedSettings AdvancedSettings;
+
+ [UnityEngine.HideInInspector]
+ public AkCommonCommSettings CommsSettings;
+}
diff --git a/Assets/Wwise/Deployment/API/Handwritten/Windows/AkWindowsSettings.cs.meta b/Assets/Wwise/Deployment/API/Handwritten/Windows/AkWindowsSettings.cs.meta
new file mode 100644
index 000000000..579c62270
--- /dev/null
+++ b/Assets/Wwise/Deployment/API/Handwritten/Windows/AkWindowsSettings.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 8267fe3409141cf4a98053b8bd1a9c11
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/AkWwiseSDKVersion.h b/Assets/Wwise/Deployment/AkWwiseSDKVersion.h
new file mode 100644
index 000000000..85f7df0ca
--- /dev/null
+++ b/Assets/Wwise/Deployment/AkWwiseSDKVersion.h
@@ -0,0 +1,103 @@
+/*******************************************************************************
+The content of this file includes portions of the AUDIOKINETIC Wwise Technology
+released in source code form as part of the SDK installer package.
+
+Commercial License Usage
+
+Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
+may use this file in accordance with the end user license agreement provided
+with the software or, alternatively, in accordance with the terms contained in a
+written agreement between you and Audiokinetic Inc.
+
+Apache License Usage
+
+Alternatively, this file may be used under the Apache License, Version 2.0 (the
+"Apache License"); you may not use this file except in compliance with the
+Apache License. You may obtain a copy of the Apache License at
+http://www.apache.org/licenses/LICENSE-2.0.
+
+Unless required by applicable law or agreed to in writing, software distributed
+under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
+OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
+the specific language governing permissions and limitations under the License.
+
+ Version: v2019.2.9 Build: 7459
+ Copyright (c) 2006-2021 Audiokinetic Inc.
+*******************************************************************************/
+
+#ifndef _AKWWISESDKVERSION_H_
+#define _AKWWISESDKVERSION_H_
+
+/// \file
+/// Audiokinetic Wwise SDK version, build number and copyright defines. These
+/// are used by sample projects to display the version and to include it in DLL or
+/// EXE resources. They can also be used by games or tools to display the current
+/// version and build number of the Wwise Sound Engine.
+
+/// @name Wwise SDK Version - Numeric values
+//@{
+
+/// Wwise SDK major version
+#define AK_WWISESDK_VERSION_MAJOR 2019
+
+/// Wwise SDK minor version
+#define AK_WWISESDK_VERSION_MINOR 2
+
+/// Wwise SDK sub-minor version
+#define AK_WWISESDK_VERSION_SUBMINOR 9
+
+/// Wwise SDK build number
+#define AK_WWISESDK_VERSION_BUILD 7459
+
+/// Wwise SDK build date (year)
+#define AK_WWISESDK_BUILD_YEAR 2021
+
+/// Wwise SDK build date (month)
+#define AK_WWISESDK_BUILD_MONTH 1
+
+/// Wwise SDK build date (day)
+#define AK_WWISESDK_BUILD_DAY 27
+
+//@}
+
+/// @name Wwise SDK Version - String values
+//@{
+
+/// Macro helper that "converts" a numeric define to a string
+#define _AK_WWISESDK_NUM2STRING( n ) #n
+
+/// Macro that "converts" a numeric define to a string
+#define AK_WWISESDK_NUM2STRING( n ) _AK_WWISESDK_NUM2STRING( n )
+
+/// Macro to determine if there's a nickname to add to the full version name
+#if defined( AK_WWISESDK_VERSION_NICKNAME )
+ #define AK_WWISESDK_VERSION_NICKNAME_POSTFIX "_" AK_WWISESDK_VERSION_NICKNAME
+#else
+ #define AK_WWISESDK_VERSION_NICKNAME_POSTFIX
+#endif
+
+/// String representing the Wwise SDK version without the nickname postfix
+#define AK_WWISESDK_VERSIONNAME_SHORT "v" AK_WWISESDK_NUM2STRING( AK_WWISESDK_VERSION_MAJOR ) \
+ "." AK_WWISESDK_NUM2STRING( AK_WWISESDK_VERSION_MINOR ) \
+ "." AK_WWISESDK_NUM2STRING( AK_WWISESDK_VERSION_SUBMINOR )
+
+/// String representing the Wwise SDK version
+#define AK_WWISESDK_VERSIONNAME AK_WWISESDK_VERSIONNAME_SHORT \
+ AK_WWISESDK_VERSION_NICKNAME_POSTFIX
+
+/// Wwise SDK branch
+#define AK_WWISESDK_BRANCH "wwise_v2019.2"
+
+/// @name Wwise SDK Copyright Notice
+
+//@{
+ /// Wwise SDK copyright notice
+ #define AK_WWISESDK_COPYRIGHT "(C) 2006-2021. Audiokinetic Inc. All rights reserved."
+ /// Wwise SDK copyright notice
+ #define AK_WWISESDK_COPYRIGHT_CONSOLE "(C) 2006-2021. Audiokinetic Inc. All rights reserved."
+//@}
+
+#define AK_WWISESDK_VERSION_COMBINED ((AK_WWISESDK_VERSION_MAJOR<<8) | AK_WWISESDK_VERSION_MINOR)
+
+#endif // _AKWWISESDKVERSION_H_
+
diff --git a/Assets/Wwise/Deployment/AkWwiseSDKVersion.h.meta b/Assets/Wwise/Deployment/AkWwiseSDKVersion.h.meta
new file mode 100644
index 000000000..e1036a80e
--- /dev/null
+++ b/Assets/Wwise/Deployment/AkWwiseSDKVersion.h.meta
@@ -0,0 +1,27 @@
+fileFormatVersion: 2
+guid: 9a96c75f8f12f2a4aa0bdd71a05fd862
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 0
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components.meta b/Assets/Wwise/Deployment/Components.meta
new file mode 100644
index 000000000..ff9338c9c
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: a48e2e24963859942be505d79d2d86d7
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkAmbient.cs b/Assets/Wwise/Deployment/Components/AkAmbient.cs
new file mode 100644
index 000000000..7ed3215f2
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkAmbient.cs
@@ -0,0 +1,270 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public enum MultiPositionTypeLabel
+{
+ Simple_Mode,
+ Large_Mode,
+ MultiPosition_Mode
+}
+
+public class AkMultiPosEvent
+{
+ public bool eventIsPlaying;
+ public System.Collections.Generic.List list = new System.Collections.Generic.List();
+
+ public void FinishedPlaying(object in_cookie, AkCallbackType in_type, object in_info)
+ {
+ eventIsPlaying = false;
+ }
+}
+
+[UnityEngine.AddComponentMenu("Wwise/AkAmbient")]
+/// @brief Use this component to attach a Wwise Event to any object in a scene.
+/// The sound can be started at various moments, dependent on the selected Unity trigger. This component is more useful for ambient sounds (sounds related to scene-bound objects) but could also be used for other purposes.
+/// Since AkAmbient has AkEvent as its base class, it features the play/stop, play multiple, stop multiple and stop all buttons for previewing the associated Wwise event.
+/// \sa
+/// - \ref unity_use_AkEvent_AkAmbient
+/// - \ref AkGameObj
+/// - \ref AkEvent
+/// - Integration Details - Events (Note: This is described in the Wwise SDK documentation.)
+public class AkAmbient : AkEvent
+{
+ public static System.Collections.Generic.Dictionary multiPosEventTree =
+ new System.Collections.Generic.Dictionary();
+
+ public AkMultiPositionType MultiPositionType = AkMultiPositionType.MultiPositionType_MultiSources;
+ public MultiPositionTypeLabel multiPositionTypeLabel = MultiPositionTypeLabel.Simple_Mode;
+
+ public AkAmbientLargeModePositioner[] LargeModePositions;
+
+ private void OnEnable()
+ {
+ if (multiPositionTypeLabel == MultiPositionTypeLabel.MultiPosition_Mode)
+ {
+ var gameObj = gameObject.GetComponents();
+ for (var i = 0; i < gameObj.Length; i++)
+ gameObj[i].enabled = false;
+
+ AkMultiPosEvent eventPosList;
+
+ if (multiPosEventTree.TryGetValue(data.Id, out eventPosList))
+ {
+ if (!eventPosList.list.Contains(this))
+ eventPosList.list.Add(this);
+ }
+ else
+ {
+ eventPosList = new AkMultiPosEvent();
+ eventPosList.list.Add(this);
+ multiPosEventTree.Add(data.Id, eventPosList);
+ }
+
+ var positionArray = BuildMultiDirectionArray(eventPosList);
+
+ //Set multiple positions
+ AkSoundEngine.SetMultiplePositions(eventPosList.list[0].gameObject, positionArray, (ushort) positionArray.Count,
+ MultiPositionType);
+ }
+ }
+
+ protected override void Start()
+ {
+ base.Start();
+
+ if (multiPositionTypeLabel == MultiPositionTypeLabel.Simple_Mode)
+ {
+ var gameObj = gameObject.GetComponents();
+ for (var i = 0; i < gameObj.Length; i++)
+ gameObj[i].enabled = true;
+ }
+ else if (multiPositionTypeLabel == MultiPositionTypeLabel.Large_Mode)
+ {
+#if UNITY_EDITOR
+ if (!UnityEditor.EditorApplication.isPlaying)
+ {
+ return;
+ }
+#endif
+ var gameObj = gameObject.GetComponents();
+ for (var i = 0; i < gameObj.Length; i++)
+ gameObj[i].enabled = false;
+
+ var positionArray = BuildAkPositionArray();
+ AkSoundEngine.SetMultiplePositions(gameObject, positionArray, (ushort)positionArray.Count, MultiPositionType);
+ }
+ }
+
+ private void OnDisable()
+ {
+ if (multiPositionTypeLabel == MultiPositionTypeLabel.MultiPosition_Mode)
+ {
+ var eventPosList = multiPosEventTree[data.Id];
+
+ if (eventPosList.list.Count == 1)
+ multiPosEventTree.Remove(data.Id);
+ else
+ {
+ eventPosList.list.Remove(this);
+
+ var positionArray = BuildMultiDirectionArray(eventPosList);
+ AkSoundEngine.SetMultiplePositions(eventPosList.list[0].gameObject, positionArray, (ushort) positionArray.Count,
+ MultiPositionType);
+ }
+ }
+ }
+
+ public override void HandleEvent(UnityEngine.GameObject in_gameObject)
+ {
+ if (multiPositionTypeLabel != MultiPositionTypeLabel.MultiPosition_Mode)
+ {
+ base.HandleEvent(in_gameObject);
+ }
+ else
+ {
+ var multiPositionSoundEmitter = multiPosEventTree[data.Id];
+ if (multiPositionSoundEmitter.eventIsPlaying)
+ return;
+
+ multiPositionSoundEmitter.eventIsPlaying = true;
+
+ soundEmitterObject = multiPositionSoundEmitter.list[0].gameObject;
+
+ if (enableActionOnEvent)
+ data.ExecuteAction(soundEmitterObject, actionOnEventType, (int)transitionDuration * 1000, curveInterpolation);
+ else
+ playingId = data.Post(soundEmitterObject, (uint)AkCallbackType.AK_EndOfEvent, multiPositionSoundEmitter.FinishedPlaying);
+ }
+ }
+
+ public void OnDrawGizmosSelected()
+ {
+ UnityEngine.Gizmos.DrawIcon(transform.position, "WwiseAudioSpeaker.png", false);
+
+#if UNITY_EDITOR
+ if (multiPositionTypeLabel == MultiPositionTypeLabel.Large_Mode)
+ {
+ foreach (var entry in LargeModePositions)
+ {
+ if (entry != null)
+ {
+ UnityEngine.Gizmos.color = UnityEngine.Color.green;
+ UnityEngine.Gizmos.DrawSphere(entry.transform.position, 0.1f);
+
+ UnityEditor.Handles.Label(entry.transform.position, entry.name);
+ }
+ }
+ }
+#endif
+ }
+
+ public AkPositionArray BuildMultiDirectionArray(AkMultiPosEvent eventPosList)
+ {
+ var positionArray = new AkPositionArray((uint) eventPosList.list.Count);
+ for (var i = 0; i < eventPosList.list.Count; i++)
+ {
+ positionArray.Add(eventPosList.list[i].transform.position, eventPosList.list[i].transform.forward,
+ eventPosList.list[i].transform.up);
+ }
+
+ return positionArray;
+ }
+
+ private AkPositionArray BuildAkPositionArray()
+ {
+ var validPositionList = new System.Collections.Generic.List();
+
+ for( int i= 0; i < LargeModePositions.Length; ++i)
+ {
+ if (LargeModePositions[i] != null)
+ {
+ if (!validPositionList.Contains(LargeModePositions[i]))
+ {
+ validPositionList.Add(LargeModePositions[i]);
+ }
+ }
+ }
+
+ var positionArray = new AkPositionArray((uint)validPositionList.Count);
+ for (int i = 0; i < validPositionList.Count; ++i)
+ {
+ positionArray.Add(validPositionList[i].Position, validPositionList[i].Forward, validPositionList[i].Up);
+ }
+
+ return positionArray;
+ }
+
+ #region WwiseMigration
+#pragma warning disable 0414 // private field assigned but not used.
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ public System.Collections.Generic.List multiPositionArray = null;
+#pragma warning restore 0414 // private field assigned but not used.
+
+#if UNITY_EDITOR
+ public override bool Migrate(UnityEditor.SerializedObject obj)
+ {
+ var hasMigrated = base.Migrate(obj);
+
+ if (!AkUtilities.IsMigrationRequired(AkUtilities.MigrationStep.AkAmbient_v2019_1_0))
+ {
+ return hasMigrated;
+ }
+
+ var multiPositionTypeLabelProperty = obj.FindProperty("multiPositionTypeLabel");
+ if (multiPositionTypeLabelProperty == null)
+ {
+ return hasMigrated;
+ }
+
+ if (multiPositionTypeLabelProperty.intValue != (int)MultiPositionTypeLabel.Large_Mode)
+ {
+ return hasMigrated;
+ }
+
+ var multiPositionArrayProperty = obj.FindProperty("multiPositionArray");
+ if (multiPositionArrayProperty == null)
+ {
+ return hasMigrated;
+ }
+
+ if (multiPositionArrayProperty.arraySize == 0)
+ {
+ return hasMigrated;
+ }
+
+ var largeModePositionsProperty = obj.FindProperty("LargeModePositions");
+ if (largeModePositionsProperty == null)
+ {
+ return hasMigrated;
+ }
+
+ largeModePositionsProperty.arraySize = multiPositionArrayProperty.arraySize;
+
+ for (int point = 0; point < multiPositionArrayProperty.arraySize; ++point)
+ {
+ var elementProperty = multiPositionArrayProperty.GetArrayElementAtIndex(point);
+
+ var largeModePositionElementProperty = largeModePositionsProperty.GetArrayElementAtIndex(point);
+ if (largeModePositionElementProperty != null)
+ {
+ var newPoint = new UnityEngine.GameObject("AkAmbientPoint" + point.ToString());
+ newPoint.AddComponent();
+ newPoint.transform.SetParent(transform);
+ newPoint.transform.position = transform.TransformPoint(elementProperty.vector3Value);
+
+ largeModePositionElementProperty.objectReferenceValue = newPoint.GetComponent();
+ }
+ }
+
+ multiPositionArrayProperty.arraySize = 0;
+ return true;
+ }
+#endif
+ #endregion
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkAmbient.cs.meta b/Assets/Wwise/Deployment/Components/AkAmbient.cs.meta
new file mode 100644
index 000000000..4e0895e16
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkAmbient.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e6a98c45007fbec48b47b122c40889c3
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkAmbientLargeModePositioner.cs b/Assets/Wwise/Deployment/Components/AkAmbientLargeModePositioner.cs
new file mode 100644
index 000000000..024021c9d
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkAmbientLargeModePositioner.cs
@@ -0,0 +1,43 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+
+/// @brief Use this component to add a Large Mode position to any AkAmbient in a Scene.
+/// \sa
+/// - \ref unity_use_AkEvent_AkAmbient
+/// - \ref AkAmbient
+public class AkAmbientLargeModePositioner : UnityEngine.MonoBehaviour
+{
+ public UnityEngine.Vector3 Position
+ {
+ get
+ {
+ return transform.position;
+ }
+ }
+
+ public UnityEngine.Vector3 Forward
+ {
+ get
+ {
+ return transform.forward;
+ }
+ }
+
+ public UnityEngine.Vector3 Up
+ {
+ get
+ {
+ return transform.up;
+ }
+ }
+
+#if UNITY_EDITOR
+ void OnDrawGizmosSelected()
+ {
+ UnityEngine.Gizmos.color = UnityEngine.Color.green;
+ UnityEngine.Gizmos.DrawSphere(transform.position, 0.1f);
+
+ UnityEditor.Handles.Label(transform.position, name);
+ }
+#endif
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkAmbientLargeModePositioner.cs.meta b/Assets/Wwise/Deployment/Components/AkAmbientLargeModePositioner.cs.meta
new file mode 100644
index 000000000..2f74cd0e8
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkAmbientLargeModePositioner.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: da37d49e036a3cf4bb6a17e6f506ccc3
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkAudioListener.cs b/Assets/Wwise/Deployment/Components/AkAudioListener.cs
new file mode 100644
index 000000000..c2bc43a6e
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkAudioListener.cs
@@ -0,0 +1,188 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2017 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[UnityEngine.AddComponentMenu("Wwise/AkAudioListener")]
+[UnityEngine.RequireComponent(typeof(AkGameObj))]
+[UnityEngine.DisallowMultipleComponent]
+[UnityEngine.DefaultExecutionOrder(-50)]
+///@brief Add this script on the game object that represent a listener. This is normally added to the Camera object or the Player object, but can be added to any game object when implementing 3D busses. \c isDefaultListener determines whether the game object will be considered a default listener - a listener that automatically listens to all game objects that do not have listeners attached to their AkGameObjListenerList's.
+/// \sa
+/// - Integrating Listeners (Note: This is described in the Wwise SDK documentation.)
+public class AkAudioListener : UnityEngine.MonoBehaviour
+{
+ private static readonly DefaultListenerList defaultListeners = new DefaultListenerList();
+ private ulong akGameObjectID = AkSoundEngine.AK_INVALID_GAME_OBJECT;
+ private System.Collections.Generic.List EmittersToStartListeningTo =
+ new System.Collections.Generic.List();
+ private System.Collections.Generic.List EmittersToStopListeningTo =
+ new System.Collections.Generic.List();
+
+ public bool isDefaultListener = true;
+
+ public static DefaultListenerList DefaultListeners
+ {
+ get { return defaultListeners; }
+ }
+
+ public void StartListeningToEmitter(AkGameObj emitter)
+ {
+ EmittersToStartListeningTo.Add(emitter);
+ EmittersToStopListeningTo.Remove(emitter);
+ }
+
+ public void StopListeningToEmitter(AkGameObj emitter)
+ {
+ EmittersToStartListeningTo.Remove(emitter);
+ EmittersToStopListeningTo.Add(emitter);
+ }
+
+ public void SetIsDefaultListener(bool isDefault)
+ {
+ if (isDefaultListener != isDefault)
+ {
+ isDefaultListener = isDefault;
+
+ if (isDefault)
+ DefaultListeners.Add(this);
+ else
+ DefaultListeners.Remove(this);
+ }
+ }
+
+ private void Awake()
+ {
+ var akGameObj = GetComponent();
+ UnityEngine.Debug.Assert(akGameObj != null);
+ if (akGameObj)
+ akGameObj.Register();
+
+ akGameObjectID = AkSoundEngine.GetAkGameObjectID(gameObject);
+ }
+
+ private void OnEnable()
+ {
+ if (isDefaultListener)
+ DefaultListeners.Add(this);
+ }
+
+ private void OnDisable()
+ {
+ if (isDefaultListener)
+ DefaultListeners.Remove(this);
+ }
+
+ private void Update()
+ {
+ for (var i = 0; i < EmittersToStartListeningTo.Count; ++i)
+ EmittersToStartListeningTo[i].AddListener(this);
+ EmittersToStartListeningTo.Clear();
+
+ for (var i = 0; i < EmittersToStopListeningTo.Count; ++i)
+ EmittersToStopListeningTo[i].RemoveListener(this);
+ EmittersToStopListeningTo.Clear();
+ }
+
+ public ulong GetAkGameObjectID()
+ {
+ return akGameObjectID;
+ }
+
+ public class BaseListenerList
+ {
+ // @todo: Use HashSet and CopyTo() with a private ulong[]
+ private readonly System.Collections.Generic.List listenerIdList = new System.Collections.Generic.List();
+
+ private readonly System.Collections.Generic.List listenerList =
+ new System.Collections.Generic.List();
+
+ public System.Collections.Generic.List ListenerList
+ {
+ get { return listenerList; }
+ }
+
+ ///
+ /// Uniquely adds listeners to the list
+ ///
+ ///
+ ///
+ public virtual bool Add(AkAudioListener listener)
+ {
+ if (listener == null)
+ return false;
+
+ var gameObjectId = listener.GetAkGameObjectID();
+ if (listenerIdList.Contains(gameObjectId))
+ return false;
+
+ listenerIdList.Add(gameObjectId);
+ listenerList.Add(listener);
+ return true;
+ }
+
+ ///
+ /// Removes listeners from the list
+ ///
+ ///
+ ///
+ public virtual bool Remove(AkAudioListener listener)
+ {
+ if (listener == null)
+ return false;
+
+ var gameObjectId = listener.GetAkGameObjectID();
+ if (!listenerIdList.Remove(gameObjectId))
+ return false;
+
+ listenerList.Remove(listener);
+ return true;
+ }
+
+ public ulong[] GetListenerIds()
+ {
+ return listenerIdList.ToArray();
+ }
+ }
+
+ public class DefaultListenerList : BaseListenerList
+ {
+ public override bool Add(AkAudioListener listener)
+ {
+ var ret = base.Add(listener);
+ if (ret && AkSoundEngine.IsInitialized())
+ AkSoundEngine.AddDefaultListener(listener.gameObject);
+ return ret;
+ }
+
+ public override bool Remove(AkAudioListener listener)
+ {
+ var ret = base.Remove(listener);
+ if (ret && AkSoundEngine.IsInitialized())
+ AkSoundEngine.RemoveDefaultListener(listener.gameObject);
+ return ret;
+ }
+ }
+
+ #region WwiseMigration
+
+#pragma warning disable 0414 // private field assigned but not used.
+
+ [UnityEngine.SerializeField]
+ // Wwise v2016.2 and below supported up to 8 listeners[0-7].
+ public int listenerId = 0;
+
+#pragma warning restore 0414 // private field assigned but not used.
+
+ public void Migrate14()
+ {
+ var wasDefaultListener = listenerId == 0;
+ UnityEngine.Debug.Log("WwiseUnity: AkAudioListener.Migrate14 for " + gameObject.name);
+ isDefaultListener = wasDefaultListener;
+ }
+
+ #endregion
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkAudioListener.cs.meta b/Assets/Wwise/Deployment/Components/AkAudioListener.cs.meta
new file mode 100644
index 000000000..838db5200
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkAudioListener.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4ae335524e949404bb57f1612ec4b9b5
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkBank.cs b/Assets/Wwise/Deployment/Components/AkBank.cs
new file mode 100644
index 000000000..9f158d03f
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkBank.cs
@@ -0,0 +1,134 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[UnityEngine.AddComponentMenu("Wwise/AkBank")]
+[UnityEngine.ExecuteInEditMode]
+[UnityEngine.DefaultExecutionOrder(-75)]
+/// @brief Loads and unloads a SoundBank at a specified moment. Vorbis sounds can be decompressed at a specified moment using the decode compressed data option. In that case, the SoundBank will be prepared.
+public class AkBank : AkTriggerHandler
+#if UNITY_EDITOR
+ , AK.Wwise.IMigratable
+#endif
+{
+ public AK.Wwise.Bank data = new AK.Wwise.Bank();
+
+ /// Decode this SoundBank upon load
+ public bool decodeBank = false;
+
+ /// Check this to load the SoundBank in the background. Be careful, if Events are triggered and the SoundBank hasn't finished loading, you'll have "Event not found" errors.
+ public bool loadAsynchronous = false;
+
+ /// Save the decoded SoundBank to disk for faster loads in the future
+ public bool saveDecodedBank = false;
+
+ /// Reserved.
+ public System.Collections.Generic.List unloadTriggerList =
+ new System.Collections.Generic.List { DESTROY_TRIGGER_ID };
+
+ protected override void Awake()
+ {
+#if UNITY_EDITOR
+ if (UnityEditor.BuildPipeline.isBuildingPlayer || AkUtilities.IsMigrating)
+ return;
+
+ var reference = AkUtilities.DragAndDropObjectReference;
+ if (reference)
+ {
+ UnityEngine.GUIUtility.hotControl = 0;
+ data.ObjectReference = reference;
+ }
+#endif
+
+ base.Awake();
+
+ RegisterTriggers(unloadTriggerList, UnloadBank);
+ }
+
+ protected override void Start()
+ {
+#if UNITY_EDITOR
+ if (UnityEditor.BuildPipeline.isBuildingPlayer || AkUtilities.IsMigrating)
+ return;
+#endif
+
+ base.Start();
+
+ //Call the UnloadBank function if registered to the Start Trigger
+ if (unloadTriggerList.Contains(START_TRIGGER_ID))
+ UnloadBank(null);
+ }
+
+ /// Loads the SoundBank
+ public override void HandleEvent(UnityEngine.GameObject in_gameObject)
+ {
+ if (!loadAsynchronous)
+ data.Load(decodeBank, saveDecodedBank);
+ else
+ data.LoadAsync();
+ }
+
+ /// Unloads a SoundBank
+ public void UnloadBank(UnityEngine.GameObject in_gameObject)
+ {
+ data.Unload();
+ }
+
+ protected override void OnDestroy()
+ {
+#if UNITY_EDITOR
+ if (UnityEditor.BuildPipeline.isBuildingPlayer || AkUtilities.IsMigrating)
+ return;
+#endif
+
+ base.OnDestroy();
+
+ UnregisterTriggers(unloadTriggerList, UnloadBank);
+ }
+
+ #region Obsolete
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public string bankName { get { return data == null ? string.Empty : data.Name; } }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public byte[] valueGuid
+ {
+ get
+ {
+ if (data == null)
+ return null;
+
+ var objRef = data.ObjectReference;
+ return !objRef ? null : objRef.Guid.ToByteArray();
+ }
+ }
+ #endregion
+
+ #region WwiseMigration
+#pragma warning disable 0414 // private field assigned but not used.
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("bankName")]
+ private string bankNameInternal;
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("valueGuid")]
+ private byte[] valueGuidInternal;
+#pragma warning restore 0414 // private field assigned but not used.
+
+#if UNITY_EDITOR
+ bool AK.Wwise.IMigratable.Migrate(UnityEditor.SerializedObject obj)
+ {
+ if (!AkUtilities.IsMigrationRequired(AkUtilities.MigrationStep.WwiseTypes_v2018_1_6))
+ return false;
+
+ return AK.Wwise.TypeMigration.ProcessSingleGuidType(obj.FindProperty("data.WwiseObjectReference"), WwiseObjectType.Soundbank,
+ obj.FindProperty("valueGuidInternal"), obj.FindProperty("bankNameInternal"));
+ }
+#endif
+ #endregion
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkBank.cs.meta b/Assets/Wwise/Deployment/Components/AkBank.cs.meta
new file mode 100644
index 000000000..f488fbfb3
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkBank.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: d1f1a89fa3598c644a67edc70006ab8b
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkEarlyReflections.cs b/Assets/Wwise/Deployment/Components/AkEarlyReflections.cs
new file mode 100644
index 000000000..dd60f1dda
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEarlyReflections.cs
@@ -0,0 +1,40 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+[UnityEngine.AddComponentMenu("Wwise/AkEarlyReflections")]
+[UnityEngine.RequireComponent(typeof(AkGameObj))]
+[UnityEngine.DisallowMultipleComponent]
+///@brief Set an early reflections auxiliary bus and send volume for a particular game object.
+public class AkEarlyReflections : UnityEngine.MonoBehaviour
+{
+ [UnityEngine.Tooltip("The early reflections auxiliary bus for all sounds playing on this particular game object. The early reflection auxiliary bus specified in the authoring tool has precedence.")]
+ /// The early reflections auxiliary bus for this particular game object.
+ /// Geometrical reflection calculation inside spatial audio is enabled for a game object if any sound playing on the game object has a valid early reflections aux bus specified in the authoring tool,
+ /// or if an aux bus is specified via this parameter. The early reflection auxiliary bus specified in the authoring tool has precedence.
+ /// Users may apply this function to avoid duplicating sounds in the actor-mixer hierarchy solely for the sake of specifying a unique early reflection bus, or in any situation where the same
+ /// sound should be played on different game objects with different early reflection aux buses (the early reflection bus must be left blank in the authoring tool if the user intends to specify it through the API).
+ public AK.Wwise.AuxBus reflectionsAuxBus = new AK.Wwise.AuxBus();
+
+ [UnityEngine.Range(0, 1)]
+ [UnityEngine.Tooltip("The early reflections send volume for all sounds playing on this particular game object. It is combined with the early reflections volume specified in the authoring tool.")]
+ /// The early reflections send volume for this particular game object.
+ /// This parameter is used to control the volume of the early reflections send. It is combined with the early reflections volume specified in the authoring tool, and is applied to all sounds playing on the game object.
+ /// Setting to 0.f will disable all reflection processing for this game object. Valid range 0.f-1.f.
+ public float reflectionsVolume = 1;
+
+ private void OnEnable()
+ {
+ if (reflectionsAuxBus != null)
+ AkSoundEngine.SetEarlyReflectionsAuxSend(gameObject, reflectionsAuxBus.Id);
+
+ AkSoundEngine.SetEarlyReflectionsVolume(gameObject, reflectionsVolume);
+ }
+
+ public void SetEarlyReflectionsVolume(float volume)
+ {
+ if (reflectionsVolume != volume)
+ {
+ AkSoundEngine.SetEarlyReflectionsVolume(gameObject, volume);
+ reflectionsVolume = volume;
+ }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkEarlyReflections.cs.meta b/Assets/Wwise/Deployment/Components/AkEarlyReflections.cs.meta
new file mode 100644
index 000000000..068d5dbf7
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEarlyReflections.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: d47632552aa0da4428ba10a9f6e1cfc5
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkEmitterObstructionOcclusion.cs b/Assets/Wwise/Deployment/Components/AkEmitterObstructionOcclusion.cs
new file mode 100644
index 000000000..ab76c051e
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEmitterObstructionOcclusion.cs
@@ -0,0 +1,43 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[UnityEngine.AddComponentMenu("Wwise/AkEmitterObstructionOcclusion")]
+[UnityEngine.RequireComponent(typeof(AkGameObj))]
+/// @brief Completely obstructs/occludes the emitter of the current game object from its listeners if at least one object is between them.
+public class AkEmitterObstructionOcclusion : AkObstructionOcclusion
+{
+ private AkGameObj m_gameObj;
+
+ private void Awake()
+ {
+ InitIntervalsAndFadeRates();
+ m_gameObj = GetComponent();
+ }
+
+ protected override void UpdateCurrentListenerList()
+ {
+ if (AkSpatialAudioListener.TheSpatialAudioListener != null && AkRoom.RoomCount > 0)
+ {
+ currentListenerList.Add(AkSpatialAudioListener.TheSpatialAudioListener);
+ return;
+ }
+
+ if (m_gameObj.IsUsingDefaultListeners)
+ currentListenerList.AddRange(AkAudioListener.DefaultListeners.ListenerList);
+ currentListenerList.AddRange(m_gameObj.ListenerList);
+ }
+
+ protected override void SetObstructionOcclusion(
+ System.Collections.Generic.KeyValuePair ObsOccPair)
+ {
+ if (AkSpatialAudioListener.TheSpatialAudioListener != null && AkRoom.RoomCount > 0)
+ AkSoundEngine.SetObjectObstructionAndOcclusion(gameObject, ObsOccPair.Key.gameObject, ObsOccPair.Value.currentValue, 0.0f);
+ else
+ AkSoundEngine.SetObjectObstructionAndOcclusion(gameObject, ObsOccPair.Key.gameObject, 0.0f, ObsOccPair.Value.currentValue);
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkEmitterObstructionOcclusion.cs.meta b/Assets/Wwise/Deployment/Components/AkEmitterObstructionOcclusion.cs.meta
new file mode 100644
index 000000000..957dd6338
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEmitterObstructionOcclusion.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 696b0e79afa8c8f488bc5457df688a7d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkEnvironment.cs b/Assets/Wwise/Deployment/Components/AkEnvironment.cs
new file mode 100644
index 000000000..147c40103
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEnvironment.cs
@@ -0,0 +1,146 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[UnityEngine.AddComponentMenu("Wwise/AkEnvironment")]
+[UnityEngine.RequireComponent(typeof(UnityEngine.Collider))]
+[UnityEngine.ExecuteInEditMode]
+/// @brief Use this component to define a reverb zone. This needs to be added to a collider object to work properly. See \ref unity_use_AkEnvironment_AknEvironmentPortal.
+/// @details This component can be attached to any collider. You can specify a roll-off to fade-in/out of the reverb.
+/// The reverb parameters will be defined in the Wwise project, by the sound designer. All AkGameObj that are
+/// "environment"-aware will receive a send value when entering the attached collider.
+/// \sa
+/// - \ref unity_use_AkEnvironment_AkEnvironmentPortal
+/// - Integrating Environments and Game-defined Auxiliary Sends (Note: This is described in the Wwise SDK documentation.)
+/// - AK::SoundEngine::SetGameObjectAuxSendValues (Note: This is described in the Wwise SDK documentation.)
+public class AkEnvironment : UnityEngine.MonoBehaviour
+#if UNITY_EDITOR
+ , AK.Wwise.IMigratable
+#endif
+{
+ public const int MAX_NB_ENVIRONMENTS = 4;
+
+ public static AkEnvironment_CompareByPriority s_compareByPriority = new AkEnvironment_CompareByPriority();
+
+ public static AkEnvironment_CompareBySelectionAlgorithm s_compareBySelectionAlgorithm =
+ new AkEnvironment_CompareBySelectionAlgorithm();
+
+ //if excludeOthers, then only the environment with the excludeOthers flag set to true and with the highest priority will be active
+ public bool excludeOthers = false;
+
+ //if isDefault, then this environment will be bumped out if any other is present
+ public bool isDefault = false;
+
+ public AK.Wwise.AuxBus data = new AK.Wwise.AuxBus();
+
+ //Cache of the colliders for this environment, to avoid calls to GetComponent.
+ public UnityEngine.Collider Collider { get; private set; }
+
+ //smaller number has a higher priority
+ public int priority = 0;
+
+ public void Awake()
+ {
+#if UNITY_EDITOR
+ var reference = AkUtilities.DragAndDropObjectReference;
+ if (reference)
+ {
+ UnityEngine.GUIUtility.hotControl = 0;
+ data.ObjectReference = reference;
+ }
+#endif
+
+ Collider = GetComponent();
+ }
+
+ /// @brief Sorts AkEnvironments based on their priorities.
+ public class AkEnvironment_CompareByPriority : System.Collections.Generic.IComparer
+ {
+ public virtual int Compare(AkEnvironment a, AkEnvironment b)
+ {
+ var result = a.priority.CompareTo(b.priority);
+ return result == 0 && a != b ? 1 : result;
+ }
+ }
+
+ /// @brief Sorts AkEnvironments based on the selection algorithm.
+ /// The selection algorithm is as follows:
+ /// -# Environments have priorities.
+ /// -# Environments have a "Default" flag. This flag effectively says that this environment will be bumped out if any other is present.
+ /// -# Environments have an "Exclude Other" flag. This flag will tell that this env is not overlappable with others. So, only one (the highest priority) should be selected.
+ public class AkEnvironment_CompareBySelectionAlgorithm : AkEnvironment_CompareByPriority
+ {
+ public override int Compare(AkEnvironment a, AkEnvironment b)
+ {
+ if (a.isDefault)
+ return b.isDefault ? base.Compare(a, b) : 1;
+
+ if (b.isDefault)
+ return -1;
+
+ if (a.excludeOthers)
+ return b.excludeOthers ? base.Compare(a, b) : -1;
+
+ return b.excludeOthers ? 1 : base.Compare(a, b);
+ }
+ }
+
+ #region Obsolete
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_2)]
+ public int m_auxBusID { get { return (int)(data == null ? AkSoundEngine.AK_INVALID_UNIQUE_ID : data.Id); } }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public byte[] valueGuid
+ {
+ get
+ {
+ if (data == null)
+ return null;
+
+ var objRef = data.ObjectReference;
+ return !objRef ? null : objRef.Guid.ToByteArray();
+ }
+ }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_2)]
+ public uint GetAuxBusID()
+ {
+ return data.Id;
+ }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public UnityEngine.Collider GetCollider()
+ {
+ return Collider;
+ }
+ #endregion
+
+ #region WwiseMigration
+#pragma warning disable 0414 // private field assigned but not used.
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("m_auxBusID")]
+ private int auxBusIdInternal = (int)AkSoundEngine.AK_INVALID_UNIQUE_ID;
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("valueGuid")]
+ private byte[] valueGuidInternal;
+#pragma warning restore 0414 // private field assigned but not used.
+
+#if UNITY_EDITOR
+ bool AK.Wwise.IMigratable.Migrate(UnityEditor.SerializedObject obj)
+ {
+ if (!AkUtilities.IsMigrationRequired(AkUtilities.MigrationStep.WwiseTypes_v2018_1_6))
+ return false;
+
+ return AK.Wwise.TypeMigration.ProcessSingleGuidType(obj.FindProperty("data.WwiseObjectReference"), WwiseObjectType.AuxBus,
+ obj.FindProperty("valueGuidInternal"), obj.FindProperty("auxBusIdInternal"));
+ }
+#endif
+
+ #endregion
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkEnvironment.cs.meta b/Assets/Wwise/Deployment/Components/AkEnvironment.cs.meta
new file mode 100644
index 000000000..405aae337
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEnvironment.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 692e16fdf21b6ae468a8a3cd39348200
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkEnvironmentPortal.cs b/Assets/Wwise/Deployment/Components/AkEnvironmentPortal.cs
new file mode 100644
index 000000000..423661191
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEnvironmentPortal.cs
@@ -0,0 +1,93 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Use this component to define an area that straddles two different AkEnvironment's zones and allow mixing between both zones. \ref unity_use_AkEvironment_AkEvironmentPortal
+[UnityEngine.AddComponentMenu("Wwise/AkEnvironmentPortal")]
+[UnityEngine.RequireComponent(typeof(UnityEngine.BoxCollider))]
+[UnityEngine.ExecuteInEditMode]
+public class AkEnvironmentPortal : UnityEngine.MonoBehaviour
+{
+ public const int MAX_ENVIRONMENTS_PER_PORTAL = 2;
+
+ ///The axis used to find the contribution of each environment
+ public UnityEngine.Vector3 axis = UnityEngine.Vector3.right;
+
+ ///The array is already sorted by position.
+ ///The first environment is on the negative side of the portal(opposite to the direction of the chosen axis)
+ ///The second environment is on the positive side of the portal
+ public AkEnvironment[] environments = new AkEnvironment[MAX_ENVIRONMENTS_PER_PORTAL];
+
+ private UnityEngine.BoxCollider m_BoxCollider;
+ private UnityEngine.BoxCollider BoxCollider
+ {
+ get
+ {
+ if (!m_BoxCollider)
+ m_BoxCollider = GetComponent();
+
+ return m_BoxCollider;
+ }
+ }
+
+ public bool EnvironmentsShareAuxBus
+ {
+ get
+ {
+ if (environments[0] == null)
+ return environments[1] == null;
+
+ if (environments[1] == null)
+ return false;
+
+ if (environments[0].data == null)
+ return environments[1].data == null;
+
+ if (environments[1].data == null)
+ return false;
+
+ return environments[0].data.Id == environments[1].data.Id;
+ }
+ }
+
+ public float GetAuxSendValueForPosition(UnityEngine.Vector3 in_position, int index)
+ {
+ //total length of the portal in the direction of axis
+ var portalLength = UnityEngine.Vector3.Dot(UnityEngine.Vector3.Scale(BoxCollider.size, transform.lossyScale), axis);
+
+ //transform axis to world coordinates
+ var axisWorld = UnityEngine.Vector3.Normalize(transform.rotation * axis);
+
+ //Get distance form left side of the portal(opposite to the direction of axis) to the game object in the direction of axisWorld
+ var dist = UnityEngine.Vector3.Dot(in_position - (transform.position - portalLength * 0.5f * axisWorld), axisWorld);
+ dist = UnityEngine.Mathf.Clamp(dist, 0, portalLength);
+
+ //calculate value of the environment referred by index
+ if (index == 0)
+ return (portalLength - dist) * (portalLength - dist) / (portalLength * portalLength);
+
+ return dist * dist / (portalLength * portalLength);
+ }
+
+
+#if UNITY_EDITOR
+ /// This enables us to detect intersections between portals and environments in the editor
+ [System.Serializable]
+ public class EnvListWrapper
+ {
+ public System.Collections.Generic.List list = new System.Collections.Generic.List();
+ }
+
+ /// Unity can't serialize an array of list so we wrap the list in a serializable class
+ public EnvListWrapper[] envList =
+ {
+ new EnvListWrapper(), //All environments on the negative side of each portal(opposite to the direction of the chosen axis)
+ new EnvListWrapper() //All environments on the positive side of each portal(same direction as the chosen axis)
+ };
+#endif
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkEnvironmentPortal.cs.meta b/Assets/Wwise/Deployment/Components/AkEnvironmentPortal.cs.meta
new file mode 100644
index 000000000..8d138a6c9
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEnvironmentPortal.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: f6f4eb19bf6e9624c8c0668af83d0b59
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkEvent.cs b/Assets/Wwise/Deployment/Components/AkEvent.cs
new file mode 100644
index 000000000..fd6b6d14a
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEvent.cs
@@ -0,0 +1,218 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+///
+/// Event callback information.
+/// Event callback functions can receive this structure as a parameter
+///
+public class AkEventCallbackMsg
+{
+ ///For more information about the event callback, see the classes derived from AkCallbackInfo.
+ public AkCallbackInfo info;
+
+ /// GameObject from whom the callback function was called
+ public UnityEngine.GameObject sender;
+
+ ///AkSoundEngine.PostEvent callback flags. See the AkCallbackType enumeration for a list of all callbacks
+ public AkCallbackType type;
+}
+
+[UnityEngine.AddComponentMenu("Wwise/AkEvent")]
+[UnityEngine.RequireComponent(typeof(AkGameObj))]
+/// @brief Helper class that knows a Wwise Event and when to trigger it in Unity. As of 2017.2.0, the AkEvent inspector has buttons for play/stop, play multiple, stop multiple, and stop all.
+/// Play/Stop will play or stop the event such that it can be previewed both in edit mode and play mode. When multiple objects are selected, Play Multiple and Stop Multiple will play or stop the associated AkEvent for each object.
+/// \sa
+/// - \ref sect_edit_mode
+/// - \ref unity_use_AkEvent_AkAmbient
+/// - Integration Details - Events (Note: This is described in the Wwise SDK documentation.)
+public class AkEvent : AkDragDropTriggerHandler
+#if UNITY_EDITOR
+ , AK.Wwise.IMigratable
+#endif
+{
+ /// Replacement action. See AK::SoundEngine::ExecuteEventOnAction()
+ public AkActionOnEventType actionOnEventType = AkActionOnEventType.AkActionOnEventType_Stop;
+
+ /// Fade curve to use with the new Action. See AK::SoundEngine::ExecuteEventOnAction()
+ public AkCurveInterpolation curveInterpolation = AkCurveInterpolation.AkCurveInterpolation_Linear;
+
+ /// Enables additional options to reuse existing events. Use it to transform a Play event into a Stop event without having to define one in the Wwise Project.
+ public bool enableActionOnEvent = false;
+
+ public AK.Wwise.Event data = new AK.Wwise.Event();
+ protected override AK.Wwise.BaseType WwiseType { get { return data; } }
+
+ [System.Serializable]
+ public class CallbackData
+ {
+ public AK.Wwise.CallbackFlags Flags;
+ public string FunctionName;
+ public UnityEngine.GameObject GameObject;
+
+ public void CallFunction(AkEventCallbackMsg eventCallbackMsg)
+ {
+ if (((uint)eventCallbackMsg.type & Flags.value) != 0 && GameObject)
+ GameObject.SendMessage(FunctionName, eventCallbackMsg);
+ }
+ }
+
+ public bool useCallbacks = false;
+ public System.Collections.Generic.List Callbacks = new System.Collections.Generic.List();
+
+ public uint playingId = AkSoundEngine.AK_INVALID_PLAYING_ID;
+
+ /// Game object onto which the Event will be posted. By default, when empty, it is posted on the same object on which the component was added.
+ public UnityEngine.GameObject soundEmitterObject;
+
+ /// Duration of the fade. See AK::SoundEngine::ExecuteEventOnAction()
+ public float transitionDuration = 0.0f;
+
+ private AkEventCallbackMsg EventCallbackMsg = null;
+
+ protected override void Start()
+ {
+#if UNITY_EDITOR
+ if (UnityEditor.BuildPipeline.isBuildingPlayer || AkUtilities.IsMigrating || !UnityEditor.EditorApplication.isPlaying)
+ return;
+#endif
+
+ if (useCallbacks)
+ EventCallbackMsg = new AkEventCallbackMsg { sender = gameObject };
+
+ base.Start();
+ }
+
+ private void Callback(object in_cookie, AkCallbackType in_type, AkCallbackInfo in_info)
+ {
+ EventCallbackMsg.type = in_type;
+ EventCallbackMsg.info = in_info;
+
+ for (var i = 0; i < Callbacks.Count; ++i)
+ Callbacks[i].CallFunction(EventCallbackMsg);
+ }
+
+ public override void HandleEvent(UnityEngine.GameObject in_gameObject)
+ {
+ var gameObj = useOtherObject && in_gameObject != null ? in_gameObject : gameObject;
+ soundEmitterObject = gameObj;
+
+ if (enableActionOnEvent)
+ {
+ data.ExecuteAction(gameObj, actionOnEventType, (int)transitionDuration * 1000, curveInterpolation);
+ return;
+ }
+
+ if (useCallbacks)
+ {
+ uint flags = 0;
+ for (var i = 0; i < Callbacks.Count; ++i)
+ {
+ if (Callbacks[i].GameObject && !string.IsNullOrEmpty(Callbacks[i].FunctionName))
+ flags |= Callbacks[i].Flags.value;
+ }
+
+ if (flags != 0)
+ {
+ playingId = data.Post(gameObj, flags, Callback);
+ return;
+ }
+ }
+
+ playingId = data.Post(gameObj);
+ }
+
+ public void Stop(int _transitionDuration)
+ {
+ Stop(_transitionDuration, AkCurveInterpolation.AkCurveInterpolation_Linear);
+ }
+
+ public void Stop(int _transitionDuration, AkCurveInterpolation _curveInterpolation)
+ {
+ data.Stop(soundEmitterObject, _transitionDuration, _curveInterpolation);
+ }
+
+ #region Obsolete
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_2)]
+ public int eventID { get { return (int)(data == null ? AkSoundEngine.AK_INVALID_UNIQUE_ID : data.Id); } }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public byte[] valueGuid
+ {
+ get
+ {
+ if (data == null)
+ return null;
+
+ var objRef = data.ObjectReference;
+ return !objRef ? null : objRef.Guid.ToByteArray();
+ }
+ }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public AkEventCallbackData m_callbackData { get { return m_callbackDataInternal; } }
+ #endregion
+
+ #region WwiseMigration
+#pragma warning disable 0414 // private field assigned but not used.
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("eventID")]
+ private int eventIdInternal = (int)AkSoundEngine.AK_INVALID_UNIQUE_ID;
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("valueGuid")]
+ private byte[] valueGuidInternal;
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("m_callbackData")]
+ private AkEventCallbackData m_callbackDataInternal = null;
+#pragma warning restore 0414 // private field assigned but not used.
+
+#if UNITY_EDITOR
+ public virtual bool Migrate(UnityEditor.SerializedObject obj)
+ {
+ var hasMigrated = false;
+ if (AkUtilities.IsMigrationRequired(AkUtilities.MigrationStep.WwiseTypes_v2018_1_6))
+ {
+ hasMigrated = AK.Wwise.TypeMigration.ProcessSingleGuidType(obj.FindProperty("data.WwiseObjectReference"), WwiseObjectType.Event,
+ obj.FindProperty("valueGuidInternal"), obj.FindProperty("eventIdInternal"));
+ }
+
+ if (!AkUtilities.IsMigrationRequired(AkUtilities.MigrationStep.AkEventCallback_v2018_1_6))
+ return hasMigrated;
+
+ var oldCallbackDataProperty = obj.FindProperty("m_callbackDataInternal");
+ var oldCallbackData = oldCallbackDataProperty.objectReferenceValue as AkEventCallbackData;
+ if (!oldCallbackData)
+ return hasMigrated;
+
+ var count = oldCallbackData.callbackFlags.Count;
+ if (count != oldCallbackData.callbackFunc.Count || count != oldCallbackData.callbackGameObj.Count)
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: Inconsistent callback data!");
+ return hasMigrated;
+ }
+
+ var newCallbackData = obj.FindProperty("Callbacks");
+ newCallbackData.arraySize = count;
+ obj.FindProperty("useCallbacks").boolValue = true;
+
+ for (var i = 0; i < count; ++i)
+ {
+ var data = newCallbackData.GetArrayElementAtIndex(i);
+ data.FindPropertyRelative("GameObject").objectReferenceValue = oldCallbackData.callbackGameObj[i];
+ data.FindPropertyRelative("FunctionName").stringValue = oldCallbackData.callbackFunc[i];
+ data.FindPropertyRelative("Flags.value").intValue = oldCallbackData.callbackFlags[i];
+ UnityEngine.Debug.Log("WwiseUnity: Migrated Callback for function \"" + oldCallbackData.callbackFunc[i] + "\" on <" + oldCallbackData.callbackGameObj[i] + "> with flags <" + (AkCallbackType)oldCallbackData.callbackFlags[i] + ">.");
+ }
+
+ return true;
+ }
+#endif
+ #endregion
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkEvent.cs.meta b/Assets/Wwise/Deployment/Components/AkEvent.cs.meta
new file mode 100644
index 000000000..787cb50d7
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEvent.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: db32bda40fdd612469c878cf01da5105
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkEventCallbackData.cs b/Assets/Wwise/Deployment/Components/AkEventCallbackData.cs
new file mode 100644
index 000000000..63cdf0525
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEventCallbackData.cs
@@ -0,0 +1,24 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkEventCallbackData : UnityEngine.ScriptableObject
+{
+ ////AkSoundEngine.PostEvent callback flags. See the AkCallbackType enumeration for a list of all callbacks
+ public System.Collections.Generic.List callbackFlags = new System.Collections.Generic.List();
+
+ ////Names of the callback functions.
+ public System.Collections.Generic.List callbackFunc = new System.Collections.Generic.List();
+
+ ////GameObject that will receive the callback
+ public System.Collections.Generic.List callbackGameObj =
+ new System.Collections.Generic.List();
+
+ ////The sum of the flags of all game objects. This is the flag that will be passed to AkSoundEngine.PostEvent
+ public int uFlags = 0;
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkEventCallbackData.cs.meta b/Assets/Wwise/Deployment/Components/AkEventCallbackData.cs.meta
new file mode 100644
index 000000000..144c3309c
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEventCallbackData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 8022e50aa139bfb4e86bd242328af5d1
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkEventPlayable.cs b/Assets/Wwise/Deployment/Components/AkEventPlayable.cs
new file mode 100644
index 000000000..7a71f872c
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEventPlayable.cs
@@ -0,0 +1,83 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+#if !AK_DISABLE_TIMELINE
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2017 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief A playable asset containing a Wwise event that can be placed within a \ref AkEventTrack in a timeline.
+/// @details Use this class to play Wwise events from a timeline and synchronise them to the animation. Events will be emitted from the GameObject that is bound to the AkEventTrack. Use the overrideTrackEmitterObject option to choose a different GameObject from which to emit the Wwise event.
+/// \sa
+/// - \ref AkEventTrack
+/// - \ref AkEventPlayableBehavior
+[System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+public class AkEventPlayable : UnityEngine.Playables.PlayableAsset, UnityEngine.Timeline.ITimelineClipAsset
+{
+ public AK.Wwise.Event akEvent = new AK.Wwise.Event();
+
+ [UnityEngine.SerializeField]
+ private AkCurveInterpolation blendInCurve = AkCurveInterpolation.AkCurveInterpolation_Linear;
+ [UnityEngine.SerializeField]
+ private AkCurveInterpolation blendOutCurve = AkCurveInterpolation.AkCurveInterpolation_Linear;
+
+ [UnityEngine.SerializeField]
+ private UnityEngine.ExposedReference emitterObjectRef;
+
+ public float eventDurationMax = -1f;
+ public float eventDurationMin = -1f;
+
+ [System.NonSerialized]
+ public UnityEngine.Timeline.TimelineClip owningClip;
+
+ [UnityEngine.SerializeField]
+ private bool retriggerEvent = false;
+
+ public bool UseWwiseEventDuration = true;
+
+ [UnityEngine.SerializeField]
+ private bool StopEventAtClipEnd = true;
+
+ UnityEngine.Timeline.ClipCaps UnityEngine.Timeline.ITimelineClipAsset.clipCaps
+ {
+ get { return UnityEngine.Timeline.ClipCaps.Looping | UnityEngine.Timeline.ClipCaps.Blending; }
+ }
+
+ public override UnityEngine.Playables.Playable CreatePlayable(UnityEngine.Playables.PlayableGraph graph, UnityEngine.GameObject owner)
+ {
+ var playable = UnityEngine.Playables.ScriptPlayable.Create(graph);
+
+ var eventObject = emitterObjectRef.Resolve(graph.GetResolver());
+ if (eventObject == null)
+ eventObject = owner;
+
+ if (eventObject == null || akEvent == null)
+ return playable;
+
+ var b = playable.GetBehaviour();
+ b.akEvent = akEvent;
+ b.blendInCurve = blendInCurve;
+ b.blendOutCurve = blendOutCurve;
+
+ if (owningClip != null)
+ {
+ b.easeInDuration = (float)owningClip.easeInDuration;
+ b.easeOutDuration = (float)owningClip.easeOutDuration;
+ b.blendInDuration = (float)owningClip.blendInDuration;
+ b.blendOutDuration = (float)owningClip.blendOutDuration;
+ }
+ else
+ b.easeInDuration = b.easeOutDuration = b.blendInDuration = b.blendOutDuration = 0;
+
+ b.retriggerEvent = retriggerEvent;
+ b.StopEventAtClipEnd = StopEventAtClipEnd;
+ b.eventObject = eventObject;
+ b.overrideTrackEmitterObject = eventObject != null;
+ b.eventDurationMin = eventDurationMin;
+ b.eventDurationMax = eventDurationMax;
+ return playable;
+ }
+}
+
+#endif // !AK_DISABLE_TIMELINE
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkEventPlayable.cs.meta b/Assets/Wwise/Deployment/Components/AkEventPlayable.cs.meta
new file mode 100644
index 000000000..7e2909d98
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEventPlayable.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a9de598acfbc7a54c85091c89428811d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkEventPlayableBehavior.cs b/Assets/Wwise/Deployment/Components/AkEventPlayableBehavior.cs
new file mode 100644
index 000000000..83ebfc031
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEventPlayableBehavior.cs
@@ -0,0 +1,367 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2017 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Defines the behavior of a \ref AkEventPlayable within a \ref AkEventTrack.
+/// \sa
+/// - \ref AkEventTrack
+/// - \ref AkEventPlayable
+[System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+public class AkEventPlayableBehavior : UnityEngine.Playables.PlayableBehaviour
+{
+ private float currentDuration = -1f;
+ private float currentDurationProportion = 1f;
+ private bool eventIsPlaying;
+ private bool fadeinTriggered;
+ private bool fadeoutTriggered;
+ private float previousEventStartTime;
+
+ private const uint CallbackFlags = (uint)(AkCallbackType.AK_EndOfEvent | AkCallbackType.AK_Duration);
+
+ private void CallbackHandler(object in_cookie, AkCallbackType in_type, AkCallbackInfo in_info)
+ {
+ if (in_type == AkCallbackType.AK_EndOfEvent)
+ {
+ eventIsPlaying = fadeinTriggered = fadeoutTriggered = false;
+ }
+ else if (in_type == AkCallbackType.AK_Duration)
+ {
+ var estimatedDuration = (in_info as AkDurationCallbackInfo).fEstimatedDuration;
+ currentDuration = estimatedDuration * currentDurationProportion / 1000f;
+ }
+ }
+
+#if UNITY_EDITOR
+ private static bool CanPostEvents
+ {
+ get { return UnityEditor.SessionState.GetBool("AkEventPlayableBehavior.CanPostEvents", true); }
+ set { UnityEditor.SessionState.SetBool("AkEventPlayableBehavior.CanPostEvents", value); }
+ }
+
+ [UnityEditor.InitializeOnLoadMethod]
+ private static void DetermineCanPostEvents()
+ {
+ UnityEditor.Compilation.CompilationPipeline.assemblyCompilationFinished += (string text, UnityEditor.Compilation.CompilerMessage[] messages) =>
+ {
+ if (!UnityEditor.EditorApplication.isPlaying)
+ CanPostEvents = false;
+ };
+
+ UnityEditor.EditorApplication.playModeStateChanged += (UnityEditor.PlayModeStateChange playMode) =>
+ {
+ if (playMode == UnityEditor.PlayModeStateChange.ExitingEditMode)
+ CanPostEvents = true;
+ };
+ }
+#endif
+
+ [System.Flags]
+ private enum Actions
+ {
+ None = 0,
+ Playback = 1 << 0,
+ Retrigger = 1 << 1,
+ DelayedStop = 1 << 2,
+ Seek = 1 << 3,
+ FadeIn = 1 << 4,
+ FadeOut = 1 << 5
+ }
+ private Actions requiredActions;
+
+ private const int scrubPlaybackLengthMs = 100;
+
+ public AK.Wwise.Event akEvent;
+
+ public float eventDurationMax;
+ public float eventDurationMin;
+
+ public float blendInDuration;
+ public float blendOutDuration;
+ public float easeInDuration;
+ public float easeOutDuration;
+
+ public AkCurveInterpolation blendInCurve;
+ public AkCurveInterpolation blendOutCurve;
+
+ public UnityEngine.GameObject eventObject;
+
+ public bool retriggerEvent;
+ private bool wasScrubbingAndRequiresRetrigger;
+ public bool StopEventAtClipEnd;
+
+ public bool overrideTrackEmitterObject;
+
+ private bool IsScrubbing(UnityEngine.Playables.FrameData info)
+ {
+#if !UNITY_2018_2_OR_NEWER
+ // We disable scrubbing in edit mode, due to an issue with how FrameData.EvaluationType is handled in edit mode.
+ // This is a known issue and Unity are aware of it: https://fogbugz.unity3d.com/default.asp?953109_kitf7pso0vmjm0m0
+ if (!UnityEngine.Application.isPlaying)
+ return false;
+#endif
+ return info.evaluationType == UnityEngine.Playables.FrameData.EvaluationType.Evaluate;
+ }
+
+ public override void PrepareFrame(UnityEngine.Playables.Playable playable, UnityEngine.Playables.FrameData info)
+ {
+ base.PrepareFrame(playable, info);
+
+ if (akEvent == null)
+ return;
+
+ var shouldPlay = ShouldPlay(playable);
+ if (IsScrubbing(info) && shouldPlay)
+ {
+ requiredActions |= Actions.Seek;
+
+ if (!eventIsPlaying)
+ {
+ requiredActions |= Actions.Playback | Actions.DelayedStop;
+ CheckForFadeInFadeOut(playable);
+ }
+ }
+ else if (!eventIsPlaying && (requiredActions & Actions.Playback) == 0)
+ {
+ // The clip is playing but the event hasn't been triggered. We need to start the event and jump to the correct time.
+ requiredActions |= Actions.Retrigger;
+ CheckForFadeInFadeOut(playable);
+ }
+ else
+ {
+ CheckForFadeOut(playable, UnityEngine.Playables.PlayableExtensions.GetTime(playable));
+ }
+ }
+
+ private const float alph = 0.05f;
+
+ public override void OnBehaviourPlay(UnityEngine.Playables.Playable playable, UnityEngine.Playables.FrameData info)
+ {
+ base.OnBehaviourPlay(playable, info);
+
+ if (akEvent == null)
+ return;
+
+ var shouldPlay = ShouldPlay(playable);
+ if (!shouldPlay)
+ return;
+
+ requiredActions |= Actions.Playback;
+
+ if (IsScrubbing(info))
+ {
+ wasScrubbingAndRequiresRetrigger = true;
+ // If we've explicitly set the playhead, only play a small snippet.
+ requiredActions |= Actions.DelayedStop;
+ }
+ else if (GetProportionalTime(playable) > alph)
+ {
+ // we need to jump to the correct position in the case where the event is played from some non-start position.
+ requiredActions |= Actions.Seek;
+ }
+
+ CheckForFadeInFadeOut(playable);
+ }
+
+ public override void OnBehaviourPause(UnityEngine.Playables.Playable playable, UnityEngine.Playables.FrameData info)
+ {
+ wasScrubbingAndRequiresRetrigger = false;
+
+ base.OnBehaviourPause(playable, info);
+ if (eventObject != null && akEvent != null && StopEventAtClipEnd)
+ {
+ StopEvent();
+ }
+ }
+
+ public override void ProcessFrame(UnityEngine.Playables.Playable playable, UnityEngine.Playables.FrameData info, object playerData)
+ {
+ base.ProcessFrame(playable, info, playerData);
+
+ if (akEvent == null)
+ return;
+
+ if (!overrideTrackEmitterObject)
+ {
+ var obj = playerData as UnityEngine.GameObject;
+ if (obj != null)
+ eventObject = obj;
+ }
+
+ if (eventObject == null)
+ return;
+
+ if ((requiredActions & Actions.Playback) != 0)
+ PlayEvent();
+
+ if ((requiredActions & Actions.Seek) != 0)
+ SeekToTime(playable);
+
+ if ((retriggerEvent || wasScrubbingAndRequiresRetrigger) && (requiredActions & Actions.Retrigger) != 0)
+ RetriggerEvent(playable);
+
+ if ((requiredActions & Actions.DelayedStop) != 0)
+ StopEvent(scrubPlaybackLengthMs);
+
+ if (!fadeinTriggered && (requiredActions & Actions.FadeIn) != 0)
+ TriggerFadeIn(playable);
+
+ if (!fadeoutTriggered && (requiredActions & Actions.FadeOut) != 0)
+ TriggerFadeOut(playable);
+
+ requiredActions = Actions.None;
+ }
+
+ /** Check the playable time against the Wwise event duration to see if playback should occur.
+ */
+ private bool ShouldPlay(UnityEngine.Playables.Playable playable)
+ {
+ var previousTime = UnityEngine.Playables.PlayableExtensions.GetPreviousTime(playable);
+ var currentTime = UnityEngine.Playables.PlayableExtensions.GetTime(playable);
+ if (previousTime == 0.0 && System.Math.Abs(currentTime - previousTime) > 1.0)
+ return false;
+
+ if (retriggerEvent)
+ return true;
+
+ // If max and min duration values from metadata are equal, we can assume a deterministic event.
+ if (eventDurationMax == eventDurationMin && eventDurationMin != -1f)
+ return currentTime < eventDurationMax;
+
+ currentTime -= previousEventStartTime;
+
+ var maxDuration = currentDuration == -1f ? (float)UnityEngine.Playables.PlayableExtensions.GetDuration(playable) : currentDuration;
+ return currentTime < maxDuration;
+ }
+
+ private void CheckForFadeInFadeOut(UnityEngine.Playables.Playable playable)
+ {
+ var currentClipTime = UnityEngine.Playables.PlayableExtensions.GetTime(playable);
+ if (blendInDuration > currentClipTime || easeInDuration > currentClipTime)
+ requiredActions |= Actions.FadeIn;
+
+ CheckForFadeOut(playable, currentClipTime);
+ }
+
+ private void CheckForFadeOut(UnityEngine.Playables.Playable playable, double currentClipTime)
+ {
+ var timeLeft = UnityEngine.Playables.PlayableExtensions.GetDuration(playable) - currentClipTime;
+ if (blendOutDuration >= timeLeft || easeOutDuration >= timeLeft)
+ requiredActions |= Actions.FadeOut;
+ }
+
+ private void TriggerFadeIn(UnityEngine.Playables.Playable playable)
+ {
+ var currentClipTime = UnityEngine.Playables.PlayableExtensions.GetTime(playable);
+ var fadeDuration = UnityEngine.Mathf.Max(easeInDuration, blendInDuration) - currentClipTime;
+ if (fadeDuration > 0)
+ {
+ fadeinTriggered = true;
+ akEvent.ExecuteAction(eventObject, AkActionOnEventType.AkActionOnEventType_Pause, 0, blendOutCurve);
+ akEvent.ExecuteAction(eventObject, AkActionOnEventType.AkActionOnEventType_Resume, (int)(fadeDuration * 1000), blendInCurve);
+ }
+ }
+
+ private void TriggerFadeOut(UnityEngine.Playables.Playable playable)
+ {
+ fadeoutTriggered = true;
+
+ var fadeDuration = UnityEngine.Playables.PlayableExtensions.GetDuration(playable) - UnityEngine.Playables.PlayableExtensions.GetTime(playable);
+ akEvent.ExecuteAction(eventObject, AkActionOnEventType.AkActionOnEventType_Stop, (int)(fadeDuration * 1000), blendOutCurve);
+ }
+
+ private void StopEvent(int transition = 0)
+ {
+ if (!eventIsPlaying)
+ return;
+
+ akEvent.Stop(eventObject, transition);
+
+#if UNITY_EDITOR
+ if (!UnityEditor.EditorApplication.isPlaying)
+ eventIsPlaying = false;
+#endif
+ }
+
+ private bool PostEvent()
+ {
+ fadeinTriggered = fadeoutTriggered = false;
+
+ uint playingID;
+
+#if UNITY_EDITOR
+ if (!CanPostEvents)
+ {
+ playingID = AkSoundEngine.AK_INVALID_PLAYING_ID;
+ }
+ else if (!UnityEditor.EditorApplication.isPlaying)
+ {
+ playingID = akEvent.Post(eventObject);
+ }
+ else
+#endif
+ {
+ playingID = akEvent.Post(eventObject, CallbackFlags, CallbackHandler, null);
+ }
+
+ eventIsPlaying = playingID != AkSoundEngine.AK_INVALID_PLAYING_ID;
+ return eventIsPlaying;
+ }
+
+ private void PlayEvent()
+ {
+ if (!PostEvent())
+ return;
+
+ currentDurationProportion = 1f;
+ previousEventStartTime = 0f;
+ }
+
+ private void RetriggerEvent(UnityEngine.Playables.Playable playable)
+ {
+ wasScrubbingAndRequiresRetrigger = false;
+
+ if (!PostEvent())
+ return;
+
+ currentDurationProportion = 1f - SeekToTime(playable);
+ previousEventStartTime = (float)UnityEngine.Playables.PlayableExtensions.GetTime(playable);
+ }
+
+ private float GetProportionalTime(UnityEngine.Playables.Playable playable)
+ {
+ // If max and min duration values from metadata are equal, we can assume a deterministic event.
+ if (eventDurationMax == eventDurationMin && eventDurationMin != -1f)
+ {
+ // If the timeline clip has length greater than the event duration, we want to loop.
+ return (float)UnityEngine.Playables.PlayableExtensions.GetTime(playable) % eventDurationMax / eventDurationMax;
+ }
+
+ var currentTime = (float)UnityEngine.Playables.PlayableExtensions.GetTime(playable) - previousEventStartTime;
+ var maxDuration = currentDuration == -1f ? (float)UnityEngine.Playables.PlayableExtensions.GetDuration(playable) : currentDuration;
+ // If the timeline clip has length greater than the event duration, we want to loop.
+ return currentTime % maxDuration / maxDuration;
+ }
+
+ // Seek to the current time, taking looping into account.
+ private float SeekToTime(UnityEngine.Playables.Playable playable)
+ {
+ var proportionalTime = GetProportionalTime(playable);
+ if (proportionalTime >= 1f) // Avoids Wwise "seeking beyond end of event: audio will stop" error.
+ return 1f;
+
+
+#if UNITY_EDITOR
+ if (!CanPostEvents)
+ return proportionalTime;
+#endif
+
+ if (eventIsPlaying)
+ AkSoundEngine.SeekOnEvent(akEvent.Id, eventObject, proportionalTime);
+
+ return proportionalTime;
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkEventPlayableBehavior.cs.meta b/Assets/Wwise/Deployment/Components/AkEventPlayableBehavior.cs.meta
new file mode 100644
index 000000000..cf9e068e7
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEventPlayableBehavior.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 113bb9ce9e3ffd5439e59243cad7e522
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkEventTrack.cs b/Assets/Wwise/Deployment/Components/AkEventTrack.cs
new file mode 100644
index 000000000..bdd7f2168
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEventTrack.cs
@@ -0,0 +1,37 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+#if !AK_DISABLE_TIMELINE
+
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2017 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[UnityEngine.Timeline.TrackColor(0.855f, 0.8623f, 0.870f)]
+[UnityEngine.Timeline.TrackClipType(typeof(AkEventPlayable))]
+[UnityEngine.Timeline.TrackBindingType(typeof(UnityEngine.GameObject))]
+[System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+/// @brief A track within timeline that holds \ref AkEventPlayable clips.
+/// @details AkEventTracks are bound to a specific GameObject, which is the default emitter for all of the \ref AkEventPlayable clips. There is an option to override this in /ref AkEventPlayable.
+/// \sa
+/// - \ref AkEventPlayable
+/// - \ref AkEventPlayableBehavior
+public class AkEventTrack : UnityEngine.Timeline.TrackAsset
+{
+ public override UnityEngine.Playables.Playable CreateTrackMixer(UnityEngine.Playables.PlayableGraph graph, UnityEngine.GameObject go, int inputCount)
+ {
+ var playable = UnityEngine.Playables.ScriptPlayable.Create(graph);
+ UnityEngine.Playables.PlayableExtensions.SetInputCount(playable, inputCount);
+
+ var clips = GetClips();
+ foreach (var clip in clips)
+ {
+ var akEventPlayable = clip.asset as AkEventPlayable;
+ akEventPlayable.owningClip = clip;
+ }
+
+ return playable;
+ }
+}
+#endif // !AK_DISABLE_TIMELINE
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkEventTrack.cs.meta b/Assets/Wwise/Deployment/Components/AkEventTrack.cs.meta
new file mode 100644
index 000000000..910d53ffe
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkEventTrack.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: ba455072133a0544aad15c27f57514ef
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkGameObj.cs b/Assets/Wwise/Deployment/Components/AkGameObj.cs
new file mode 100644
index 000000000..3e5a9577d
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkGameObj.cs
@@ -0,0 +1,410 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[UnityEngine.AddComponentMenu("Wwise/AkGameObj")]
+[UnityEngine.DisallowMultipleComponent]
+[UnityEngine.ExecuteInEditMode] //ExecuteInEditMode necessary to maintain proper state of isStaticObject.
+[UnityEngine.DefaultExecutionOrder(-25)]
+///@brief This component represents a sound object in your scene tracking its position and other game syncs such as Switches, RTPC and environment values. You can add this to any object that will emit sound, and it will be added to any object that an AkAudioListener is attached to. Note that if it is not present, Wwise will add it automatically, with the default values, to any Unity Game Object that is passed to Wwise.
+/// \sa
+/// - Integration Details - Game Objects (Note: This is described in the Wwise SDK documentation.)
+/// - Integration Details - Events (Note: This is described in the Wwise SDK documentation.)
+/// - Integrating Listeners (Note: This is described in the Wwise SDK documentation.)
+/// - Integration Details - Switches (Note: This is described in the Wwise SDK documentation.)
+/// - Integration Details - States (Note: This is described in the Wwise SDK documentation.)
+/// - Integration Details - Environments and Game-defined Auxiliary Sends (Note: This is described in the Wwise SDK documentation.)
+public class AkGameObj : UnityEngine.MonoBehaviour
+{
+ [UnityEngine.SerializeField] private AkGameObjListenerList m_listeners = new AkGameObjListenerList();
+
+ /// Is this object affected by Environment changes? Set to false if not affected in order to save some useless calls. Default is true.
+ public bool isEnvironmentAware = true;
+
+ /// Maintains and persists the Static setting of the gameobject, which is available only in the editor.
+ [UnityEngine.SerializeField] private bool isStaticObject = false;
+
+ /// Cache the bounds to avoid calls to GetComponent()
+ private UnityEngine.Collider m_Collider;
+
+ private AkGameObjEnvironmentData m_envData;
+
+ private AkGameObjPositionData m_posData;
+
+ /// When not set to null, the position will be offset relative to the Game Object position by the Position Offset
+ public AkGameObjPositionOffsetData m_positionOffsetData;
+
+ public bool IsUsingDefaultListeners
+ {
+ get { return m_listeners.useDefaultListeners; }
+ }
+
+ public System.Collections.Generic.List ListenerList
+ {
+ get { return m_listeners.ListenerList; }
+ }
+
+ private bool isRegistered = false;
+
+ internal void AddListener(AkAudioListener listener)
+ {
+ m_listeners.Add(listener);
+ }
+
+ internal void RemoveListener(AkAudioListener listener)
+ {
+ m_listeners.Remove(listener);
+ }
+
+ public AKRESULT Register()
+ {
+ if (isRegistered)
+ return AKRESULT.AK_Success;
+
+ isRegistered = true;
+ return AkSoundEngine.RegisterGameObj(gameObject, gameObject.name);
+ }
+
+ private void SetPosition()
+ {
+ var position = GetPosition();
+ var forward = GetForward();
+ var up = GetUpward();
+
+ if (m_posData != null)
+ {
+ if (m_posData.position == position && m_posData.forward == forward && m_posData.up == up)
+ return;
+
+ m_posData.position = position;
+ m_posData.forward = forward;
+ m_posData.up = up;
+ }
+
+ AkSoundEngine.SetObjectPosition(gameObject, position, forward, up);
+ }
+
+ private void Awake()
+ {
+#if UNITY_EDITOR
+ if (!AkSoundEngineController.Instance.IsSoundEngineLoaded || AkUtilities.IsMigrating)
+ return;
+
+ if (!UnityEditor.EditorApplication.isPlaying)
+ UnityEditor.EditorApplication.update += CheckStaticStatus;
+#endif
+
+ // If the object was marked as static, don't update its position to save cycles.
+ if (!isStaticObject)
+ m_posData = new AkGameObjPositionData();
+
+ // Cache the bounds to avoid calls to GetComponent()
+ m_Collider = GetComponent();
+
+ //Register a Game Object in the sound engine, with its name.
+ if (Register() == AKRESULT.AK_Success)
+ {
+ SetPosition();
+
+ if (isEnvironmentAware)
+ {
+ m_envData = new AkGameObjEnvironmentData();
+
+ if (m_Collider)
+ m_envData.AddAkEnvironment(m_Collider, m_Collider);
+
+ m_envData.UpdateAuxSend(gameObject, transform.position);
+ }
+
+ m_listeners.Init(this);
+ }
+ }
+
+ private void CheckStaticStatus()
+ {
+#if UNITY_EDITOR
+ if (AkUtilities.IsMigrating)
+ return;
+
+ try
+ {
+ if (gameObject != null && isStaticObject != gameObject.isStatic)
+ {
+ isStaticObject = gameObject.isStatic;
+ UnityEditor.EditorUtility.SetDirty(this);
+ }
+ }
+ catch
+ {
+ UnityEditor.EditorApplication.update -= CheckStaticStatus;
+ }
+#endif
+ }
+
+ private void OnEnable()
+ {
+#if UNITY_EDITOR
+ if (AkUtilities.IsMigrating)
+ return;
+#endif
+
+ //if enabled is set to false, then the update function wont be called
+ enabled = !isStaticObject;
+ }
+
+#if UNITY_EDITOR
+ private void OnDisable()
+ {
+ if (!UnityEditor.EditorApplication.isPlaying &&AkSoundEngine.IsInitialized())
+ AkSoundEngine.UnregisterGameObj(gameObject);
+ }
+#endif
+
+ private void OnDestroy()
+ {
+#if UNITY_EDITOR
+ if (!AkSoundEngineController.Instance.IsSoundEngineLoaded || AkUtilities.IsMigrating)
+ return;
+
+ if (!UnityEditor.EditorApplication.isPlaying)
+ UnityEditor.EditorApplication.update -= CheckStaticStatus;
+#endif
+
+ // We can't do the code in OnDestroy if the gameObj is unregistered, so do it now.
+ var eventHandlers = gameObject.GetComponents();
+ foreach (var handler in eventHandlers)
+ {
+ if (handler.triggerList.Contains(AkTriggerHandler.DESTROY_TRIGGER_ID))
+ handler.DoDestroy();
+ }
+
+#if UNITY_EDITOR
+ if (!UnityEditor.EditorApplication.isPlaying)
+ return;
+#endif
+
+ if (AkSoundEngine.IsInitialized())
+ AkSoundEngine.UnregisterGameObj(gameObject);
+ }
+
+ private void Update()
+ {
+#if UNITY_EDITOR
+ if (!AkSoundEngineController.Instance.IsSoundEngineLoaded || AkUtilities.IsMigrating ||
+ !UnityEditor.EditorApplication.isPlaying)
+ return;
+#endif
+
+ if (m_envData != null)
+ m_envData.UpdateAuxSend(gameObject, transform.position);
+
+ if (!isStaticObject)
+ SetPosition();
+ }
+
+ /// Gets the position including the position offset, if applyPositionOffset is enabled. User can also override this method to calculate an arbitrary position.
+ /// \return The position.
+ public virtual UnityEngine.Vector3 GetPosition()
+ {
+ if (m_positionOffsetData == null)
+ return transform.position;
+
+ var worldOffset = transform.rotation * m_positionOffsetData.positionOffset;
+ return transform.position + worldOffset;
+ }
+
+ /// Gets the orientation forward vector. User can also override this method to calculate an arbitrary vector.
+ /// \return The forward vector of orientation.
+ public virtual UnityEngine.Vector3 GetForward()
+ {
+ return transform.forward;
+ }
+
+ /// Gets the orientation upward vector. User can also override this method to calculate an arbitrary vector.
+ /// \return The upward vector of orientation.
+ public virtual UnityEngine.Vector3 GetUpward()
+ {
+ return transform.up;
+ }
+
+ private void OnTriggerEnter(UnityEngine.Collider other)
+ {
+#if UNITY_EDITOR
+ if (AkUtilities.IsMigrating || !UnityEditor.EditorApplication.isPlaying)
+ return;
+#endif
+
+ if (isEnvironmentAware && m_envData != null)
+ m_envData.AddAkEnvironment(other, m_Collider);
+ }
+
+ private void OnTriggerExit(UnityEngine.Collider other)
+ {
+#if UNITY_EDITOR
+ if (AkUtilities.IsMigrating || !UnityEditor.EditorApplication.isPlaying)
+ return;
+#endif
+
+ if (isEnvironmentAware && m_envData != null)
+ m_envData.RemoveAkEnvironment(other, m_Collider);
+ }
+
+#if UNITY_EDITOR
+ public void OnDrawGizmosSelected()
+ {
+ if (AkUtilities.IsMigrating)
+ return;
+
+ var position = GetPosition();
+ UnityEngine.Gizmos.DrawIcon(position, "WwiseAudioSpeaker.png", false);
+ }
+#endif
+
+ #region WwiseMigration
+
+#pragma warning disable 0414 // private field assigned but not used.
+
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ private AkGameObjPosOffsetData m_posOffsetData;
+
+ // Wwise v2016.2 and below supported up to 8 listeners[0-7].
+ private const int AK_NUM_LISTENERS = 8;
+
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ /// Listener 0 by default.
+ private int listenerMask = 1;
+
+#pragma warning restore 0414 // private field assigned but not used.
+
+#if UNITY_EDITOR
+ public void Migrate9()
+ {
+ UnityEngine.Debug.Log("WwiseUnity: AkGameObj.Migrate9 for " + gameObject.name);
+
+ const int ALL_LISTENER_MASK = (1 << AK_NUM_LISTENERS) - 1;
+ if ((listenerMask & ALL_LISTENER_MASK) == ALL_LISTENER_MASK)
+ listenerMask = 1;
+ }
+
+ public void Migrate10()
+ {
+ UnityEngine.Debug.Log("WwiseUnity: AkGameObj.Migrate10 for " + gameObject.name);
+
+ if (m_posOffsetData != null)
+ {
+ m_positionOffsetData = new AkGameObjPositionOffsetData(true);
+ m_positionOffsetData.positionOffset = m_posOffsetData.positionOffset;
+ m_posOffsetData = null;
+ }
+ }
+
+ private class Migration14Data
+ {
+ private readonly System.Collections.Generic.List[] listeners =
+ new System.Collections.Generic.List[AK_NUM_LISTENERS];
+
+ public Migration14Data()
+ {
+ var fullSceneListenerMask = 0;
+
+ // Get all AkAudioListeners in the scene.
+ var listenerObjects = FindObjectsOfType();
+ foreach (var listener in listenerObjects)
+ {
+ // Add AkGameObj to AkAudioListeners
+ if (listener.GetComponent() == null)
+ {
+ var akGameObj = listener.gameObject.AddComponent();
+ if (akGameObj)
+ {
+ akGameObj.isEnvironmentAware = false;
+ UnityEngine.Debug.Log("WwiseUnity: Added AkGameObj to <" + listener.gameObject.name + ">.");
+ }
+ else
+ UnityEngine.Debug.LogError("WwiseUnity: Failed to add AkGameObj to <" + listener.gameObject.name + ">.");
+ }
+
+ var listenerId = listener.listenerId;
+ if (listenerId >= 0 && listenerId < AK_NUM_LISTENERS)
+ {
+ if (listeners[listenerId] == null)
+ listeners[listenerId] = new System.Collections.Generic.List();
+
+ listeners[listenerId].Add(listener);
+ fullSceneListenerMask |= 1 << listenerId;
+ }
+ else
+ UnityEngine.Debug.LogError("WwiseUnity: Invalid listenerId <" + listenerId + "> found during migration.");
+ }
+
+ if (fullSceneListenerMask == 0)
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: Listeners were not added via components within this Scene.");
+ listeners = null;
+ }
+ else
+ {
+ for (var ii = 0; ii < AK_NUM_LISTENERS; ++ii)
+ {
+ if (listeners[ii] != null && listeners[ii].Count > 1)
+ {
+ UnityEngine.Debug.LogWarning("WwiseUnity: Multiple listeners <" + listeners[ii].Count +
+ "> with same listenerId <" + ii + "> found during migration.");
+ }
+ }
+
+ if (fullSceneListenerMask == 1)
+ {
+ UnityEngine.Debug.Log("WwiseUnity: Default listeners will be used for this Scene.");
+ listeners = null;
+ }
+ }
+ }
+
+ public void Migrate(AkGameObj akGameObj)
+ {
+ if (listeners != null)
+ {
+ for (var ii = 0; ii < AK_NUM_LISTENERS; ++ii)
+ {
+ var idMask = 1 << ii;
+ if ((akGameObj.listenerMask & idMask) != 0 && listeners[ii] != null)
+ {
+ foreach (var listener in listeners[ii])
+ akGameObj.m_listeners.AddToInitialListenerList(listener);
+ }
+ }
+ }
+ }
+ }
+
+ private static Migration14Data migration14data;
+
+ public static void PreMigration14()
+ {
+ migration14data = new Migration14Data();
+ }
+
+ public void Migrate14()
+ {
+ UnityEngine.Debug.Log("WwiseUnity: AkGameObj.Migrate14 for " + gameObject.name);
+
+ if (migration14data != null)
+ migration14data.Migrate(this);
+ }
+
+ public static void PostMigration14()
+ {
+ migration14data = null;
+ }
+
+#endif
+
+ #endregion
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkGameObj.cs.meta b/Assets/Wwise/Deployment/Components/AkGameObj.cs.meta
new file mode 100644
index 000000000..2f7521bba
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkGameObj.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: f27db6b94e477054e96392f94dc50c9d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkGameObjEnvironmentData.cs b/Assets/Wwise/Deployment/Components/AkGameObjEnvironmentData.cs
new file mode 100644
index 000000000..7e7b6ac22
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkGameObjEnvironmentData.cs
@@ -0,0 +1,192 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkGameObjEnvironmentData
+{
+ /// Contains all active environments sorted by default, excludeOthers and priority, even those inside a portal.
+ private readonly System.Collections.Generic.List activeEnvironments =
+ new System.Collections.Generic.List();
+
+ /// Contains all active environments sorted by priority, even those inside a portal.
+ private readonly System.Collections.Generic.List activeEnvironmentsFromPortals =
+ new System.Collections.Generic.List();
+
+ /// Contains all active portals.
+ private readonly System.Collections.Generic.List activePortals =
+ new System.Collections.Generic.List();
+
+ private readonly AkAuxSendArray auxSendValues = new AkAuxSendArray();
+ private UnityEngine.Vector3 lastPosition = UnityEngine.Vector3.zero;
+ private bool hasEnvironmentListChanged = true;
+ private bool hasActivePortalListChanged = true;
+ private bool hasSentZero = false;
+
+ private void AddHighestPriorityEnvironmentsFromPortals(UnityEngine.Vector3 position)
+ {
+ for (var i = 0; i < activePortals.Count; i++)
+ {
+ var portal = activePortals[i];
+ if (portal.EnvironmentsShareAuxBus)
+ {
+ var env = portal.environments[0];
+ if (env == null)
+ continue;
+
+ var index = activeEnvironmentsFromPortals.BinarySearch(env, AkEnvironment.s_compareByPriority);
+ if (index < 0 || index >= AkEnvironment.MAX_NB_ENVIRONMENTS)
+ continue;
+
+ var auxBusID = env.data.Id;
+ if (!auxSendValues.Contains(auxBusID))
+ {
+ auxSendValues.Add(auxBusID, 1.0f);
+ if (auxSendValues.isFull)
+ return;
+ }
+ continue;
+ }
+
+ for (var j = 0; j < AkEnvironmentPortal.MAX_ENVIRONMENTS_PER_PORTAL; j++)
+ {
+ var env = portal.environments[j];
+ if (env == null)
+ continue;
+
+ var index = activeEnvironmentsFromPortals.BinarySearch(env, AkEnvironment.s_compareByPriority);
+ if (index < 0 || index >= AkEnvironment.MAX_NB_ENVIRONMENTS)
+ continue;
+
+ var auxBusID = env.data.Id;
+ if (!auxSendValues.Contains(auxBusID))
+ {
+ auxSendValues.Add(auxBusID, portal.GetAuxSendValueForPosition(position, j));
+ if (auxSendValues.isFull)
+ return;
+ }
+ }
+ }
+ }
+
+ private void AddHighestPriorityEnvironments(UnityEngine.Vector3 position)
+ {
+ if (!auxSendValues.isFull && auxSendValues.Count() < activeEnvironments.Count)
+ {
+ for (var i = 0; i < activeEnvironments.Count; i++)
+ {
+ var env = activeEnvironments[i];
+ var auxBusID = env.data.Id;
+
+ if ((!env.isDefault || i == 0) && !auxSendValues.Contains(auxBusID))
+ {
+ auxSendValues.Add(auxBusID, 1.0f);
+
+ //No other environment can be added after an environment with the excludeOthers flag set to true
+ if (env.excludeOthers || auxSendValues.isFull)
+ break;
+ }
+ }
+ }
+ }
+
+ public void UpdateAuxSend(UnityEngine.GameObject gameObject, UnityEngine.Vector3 position)
+ {
+ if (!hasEnvironmentListChanged && !hasActivePortalListChanged && lastPosition == position)
+ return;
+
+ auxSendValues.Reset();
+ AddHighestPriorityEnvironmentsFromPortals(position);
+ AddHighestPriorityEnvironments(position);
+
+ bool isSendingZero = auxSendValues.Count() == 0;
+ if (!hasSentZero || !isSendingZero)
+ auxSendValues.SetValues(gameObject);
+
+ hasSentZero = isSendingZero;
+ lastPosition = position;
+ hasActivePortalListChanged = false;
+ hasEnvironmentListChanged = false;
+ }
+
+ private void TryAddEnvironment(AkEnvironment env)
+ {
+ if (env == null)
+ return;
+
+ var index = activeEnvironmentsFromPortals.BinarySearch(env, AkEnvironment.s_compareByPriority);
+ if (index >= 0)
+ return;
+
+ activeEnvironmentsFromPortals.Insert(~index, env);
+
+ index = activeEnvironments.BinarySearch(env, AkEnvironment.s_compareBySelectionAlgorithm);
+ if (index < 0)
+ activeEnvironments.Insert(~index, env);
+
+ hasEnvironmentListChanged = true;
+ }
+
+ private void RemoveEnvironment(AkEnvironment env)
+ {
+ activeEnvironmentsFromPortals.Remove(env);
+ activeEnvironments.Remove(env);
+ hasEnvironmentListChanged = true;
+ }
+
+ public void AddAkEnvironment(UnityEngine.Collider environmentCollider, UnityEngine.Collider gameObjectCollider)
+ {
+ var portal = environmentCollider.GetComponent();
+ if (portal == null)
+ {
+ var env = environmentCollider.GetComponent();
+ TryAddEnvironment(env);
+ return;
+ }
+
+ activePortals.Add(portal);
+ hasActivePortalListChanged = true;
+
+ for (var i = 0; i < AkEnvironmentPortal.MAX_ENVIRONMENTS_PER_PORTAL; i++)
+ TryAddEnvironment(portal.environments[i]);
+ }
+
+ private bool AkEnvironmentBelongsToActivePortals(AkEnvironment env)
+ {
+ for (var i = 0; i < activePortals.Count; i++)
+ for (var j = 0; j < AkEnvironmentPortal.MAX_ENVIRONMENTS_PER_PORTAL; j++)
+ {
+ if (env == activePortals[i].environments[j])
+ return true;
+ }
+
+ return false;
+ }
+
+ public void RemoveAkEnvironment(UnityEngine.Collider environmentCollider, UnityEngine.Collider gameObjectCollider)
+ {
+ var portal = environmentCollider.GetComponent();
+ if (portal != null)
+ {
+ for (var i = 0; i < AkEnvironmentPortal.MAX_ENVIRONMENTS_PER_PORTAL; i++)
+ {
+ var env = portal.environments[i];
+ if (env != null && !gameObjectCollider.bounds.Intersects(env.Collider.bounds))
+ RemoveEnvironment(env);
+ }
+
+ activePortals.Remove(portal);
+ hasActivePortalListChanged = true;
+ }
+ else
+ {
+ var env = environmentCollider.GetComponent();
+ if (env != null && !AkEnvironmentBelongsToActivePortals(env))
+ RemoveEnvironment(env);
+ }
+ }
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkGameObjEnvironmentData.cs.meta b/Assets/Wwise/Deployment/Components/AkGameObjEnvironmentData.cs.meta
new file mode 100644
index 000000000..18d849a1a
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkGameObjEnvironmentData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: adcfa58950ada274581dcaadc423c852
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkGameObjListenerList.cs b/Assets/Wwise/Deployment/Components/AkGameObjListenerList.cs
new file mode 100644
index 000000000..4bdbe3c99
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkGameObjListenerList.cs
@@ -0,0 +1,80 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2017 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[System.Serializable]
+public class AkGameObjListenerList : AkAudioListener.BaseListenerList
+{
+ [System.NonSerialized] private AkGameObj akGameObj;
+
+ [UnityEngine.SerializeField]
+ public System.Collections.Generic.List initialListenerList =
+ new System.Collections.Generic.List();
+
+ [UnityEngine.SerializeField] public bool useDefaultListeners = true;
+
+ public void SetUseDefaultListeners(bool useDefault)
+ {
+ if (useDefaultListeners != useDefault)
+ {
+ useDefaultListeners = useDefault;
+
+ if (useDefault)
+ {
+ AkSoundEngine.ResetListenersToDefault(akGameObj.gameObject);
+ for (var i = 0; i < ListenerList.Count; ++i)
+ AkSoundEngine.AddListener(akGameObj.gameObject, ListenerList[i].gameObject);
+ }
+ else
+ {
+ var Ids = GetListenerIds();
+ AkSoundEngine.SetListeners(akGameObj.gameObject, Ids, Ids == null ? 0 : (uint) Ids.Length);
+ }
+ }
+ }
+
+ public void Init(AkGameObj akGameObj)
+ {
+ this.akGameObj = akGameObj;
+
+ if (!useDefaultListeners)
+ AkSoundEngine.SetListeners(akGameObj.gameObject, null, 0);
+
+ for (var ii = 0; ii < initialListenerList.Count; ++ii)
+ initialListenerList[ii].StartListeningToEmitter(akGameObj);
+ }
+
+ public override bool Add(AkAudioListener listener)
+ {
+ var ret = base.Add(listener);
+ if (ret && AkSoundEngine.IsInitialized())
+ AkSoundEngine.AddListener(akGameObj.gameObject, listener.gameObject);
+ return ret;
+ }
+
+ public override bool Remove(AkAudioListener listener)
+ {
+ var ret = base.Remove(listener);
+ if (ret && AkSoundEngine.IsInitialized())
+ AkSoundEngine.RemoveListener(akGameObj.gameObject, listener.gameObject);
+ return ret;
+ }
+
+#if UNITY_EDITOR
+ public void AddToInitialListenerList(AkAudioListener listener)
+ {
+ if (!initialListenerList.Contains(listener))
+ initialListenerList.Add(listener);
+ }
+
+ public void RemoveFromInitialListenerList(AkAudioListener listener)
+ {
+ initialListenerList.Remove(listener);
+ }
+#endif
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkGameObjListenerList.cs.meta b/Assets/Wwise/Deployment/Components/AkGameObjListenerList.cs.meta
new file mode 100644
index 000000000..5db3826ca
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkGameObjListenerList.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 66382d6c68a15ef4fadf9154d33bb8e9
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkGameObjPosOffsetData.cs b/Assets/Wwise/Deployment/Components/AkGameObjPosOffsetData.cs
new file mode 100644
index 000000000..b07e3b3e0
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkGameObjPosOffsetData.cs
@@ -0,0 +1,17 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+// *** THIS FILE IS KEPT FOR THE MIGRATION SYSTEM, DO NOT USE THIS CLASS !!! ***
+
+
+// DEPRECATED
+public class AkGameObjPosOffsetData : UnityEngine.ScriptableObject
+{
+ public UnityEngine.Vector3 positionOffset;
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkGameObjPosOffsetData.cs.meta b/Assets/Wwise/Deployment/Components/AkGameObjPosOffsetData.cs.meta
new file mode 100644
index 000000000..0e9f98423
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkGameObjPosOffsetData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9d9cbd2cf98d7844ba120ac0a6a50ed0
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkGameObjPositionData.cs b/Assets/Wwise/Deployment/Components/AkGameObjPositionData.cs
new file mode 100644
index 000000000..17a74d63c
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkGameObjPositionData.cs
@@ -0,0 +1,15 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkGameObjPositionData
+{
+ public UnityEngine.Vector3 forward;
+ public UnityEngine.Vector3 position;
+ public UnityEngine.Vector3 up;
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkGameObjPositionData.cs.meta b/Assets/Wwise/Deployment/Components/AkGameObjPositionData.cs.meta
new file mode 100644
index 000000000..27d9027ec
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkGameObjPositionData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 84c659295ef41a144b35166fb09680b7
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkGameObjPositionOffsetData.cs b/Assets/Wwise/Deployment/Components/AkGameObjPositionOffsetData.cs
new file mode 100644
index 000000000..f14f654ea
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkGameObjPositionOffsetData.cs
@@ -0,0 +1,22 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[System.Serializable]
+public class AkGameObjPositionOffsetData
+{
+ public bool KeepMe;
+ public UnityEngine.Vector3 positionOffset;
+
+ // Unity tries to construct a AkGameObjPositionOffsetData all the time. Need this ugly workaround
+ // to prevent it from doing this.
+ public AkGameObjPositionOffsetData(bool IReallyWantToBeConstructed = false)
+ {
+ KeepMe = IReallyWantToBeConstructed;
+ }
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkGameObjPositionOffsetData.cs.meta b/Assets/Wwise/Deployment/Components/AkGameObjPositionOffsetData.cs.meta
new file mode 100644
index 000000000..1937fa61c
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkGameObjPositionOffsetData.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e02507456ba3ebb4b8633735008da5d0
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkInitializer.cs b/Assets/Wwise/Deployment/Components/AkInitializer.cs
new file mode 100644
index 000000000..c82ac06c2
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkInitializer.cs
@@ -0,0 +1,170 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2012 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[UnityEngine.AddComponentMenu("Wwise/AkInitializer")]
+[UnityEngine.DisallowMultipleComponent]
+[UnityEngine.ExecuteInEditMode]
+[UnityEngine.DefaultExecutionOrder(-100)]
+/// @brief This script deals with initialization, and frame updates of the Wwise audio engine.
+/// It is marked as \c DontDestroyOnLoad so it stays active for the life of the game,
+/// not only one scene. Double-click the Initialization Settings entry, AkWwiseInitializationSettings,
+/// to review and edit Wwise initialization settings.
+/// \sa
+/// - Initialize the Different Modules of the Sound Engine (Note: This is described in the Wwise SDK documentation.)
+/// - AK::SoundEngine::Init() (Note: This is described in the Wwise SDK documentation.)
+/// - AK::SoundEngine::Term() (Note: This is described in the Wwise SDK documentation.)
+/// - AkCallbackManager
+public class AkInitializer : UnityEngine.MonoBehaviour
+{
+ private static AkInitializer ms_Instance;
+
+ public AkWwiseInitializationSettings InitializationSettings;
+
+ private void Awake()
+ {
+ if (ms_Instance)
+ {
+ DestroyImmediate(this);
+ return;
+ }
+
+ ms_Instance = this;
+
+#if UNITY_EDITOR
+ if (!UnityEditor.EditorApplication.isPlaying)
+ return;
+#endif
+
+ DontDestroyOnLoad(this);
+ }
+
+ private void OnEnable()
+ {
+ InitializationSettings = AkWwiseInitializationSettings.Instance;
+
+ if (ms_Instance == this)
+ AkSoundEngineController.Instance.Init(this);
+ }
+
+ private void OnDisable()
+ {
+ if (ms_Instance == this)
+ AkSoundEngineController.Instance.OnDisable();
+ }
+
+ private void OnDestroy()
+ {
+ if (ms_Instance == this)
+ ms_Instance = null;
+ }
+
+ private void OnApplicationPause(bool pauseStatus)
+ {
+ if (ms_Instance == this)
+ AkSoundEngineController.Instance.OnApplicationPause(pauseStatus);
+ }
+
+ private void OnApplicationFocus(bool focus)
+ {
+ if (ms_Instance == this)
+ AkSoundEngineController.Instance.OnApplicationFocus(focus);
+ }
+
+ private void OnApplicationQuit()
+ {
+ if (ms_Instance == this)
+ AkSoundEngineController.Instance.Terminate();
+ }
+
+ //Use LateUpdate instead of Update() to ensure all gameobjects positions, listener positions, environements, RTPC, etc are set before finishing the audio frame.
+ private void LateUpdate()
+ {
+ if (ms_Instance == this)
+ AkSoundEngineController.Instance.LateUpdate();
+ }
+
+ #region WwiseMigration
+#if UNITY_EDITOR
+#pragma warning disable 0414 // private field assigned but not used.
+
+ // previously serialized data that will be consumed by migration
+ [UnityEngine.HideInInspector][UnityEngine.SerializeField] private string basePath = string.Empty;
+ [UnityEngine.HideInInspector][UnityEngine.SerializeField] private string language = string.Empty;
+ [UnityEngine.HideInInspector][UnityEngine.SerializeField] private int defaultPoolSize = 0;
+ [UnityEngine.HideInInspector][UnityEngine.SerializeField] private int lowerPoolSize = 0;
+ [UnityEngine.HideInInspector][UnityEngine.SerializeField] private int streamingPoolSize = 0;
+ [UnityEngine.HideInInspector][UnityEngine.SerializeField] private float memoryCutoffThreshold = 0f;
+ [UnityEngine.HideInInspector][UnityEngine.SerializeField] private int monitorPoolSize = 0;
+ [UnityEngine.HideInInspector][UnityEngine.SerializeField] private int monitorQueuePoolSize = 0;
+ [UnityEngine.HideInInspector][UnityEngine.SerializeField] private int callbackManagerBufferSize = 0;
+ [UnityEngine.HideInInspector][UnityEngine.SerializeField] private int spatialAudioPoolSize = 0;
+ [UnityEngine.HideInInspector][UnityEngine.SerializeField] private uint maxSoundPropagationDepth = 0;
+ [UnityEngine.HideInInspector][UnityEngine.SerializeField] private AkDiffractionFlags diffractionFlags = AkDiffractionFlags.DefaultDiffractionFlags;
+ [UnityEngine.HideInInspector][UnityEngine.SerializeField] private bool engineLogging = false;
+
+#pragma warning restore 0414 // private field assigned but not used.
+
+ private class Migration15Data
+ {
+ bool hasMigrated = false;
+
+ public void Migrate(AkInitializer akInitializer)
+ {
+ if (hasMigrated)
+ return;
+
+ var initializationSettings = akInitializer.InitializationSettings;
+ if (!initializationSettings)
+ {
+ initializationSettings = AkWwiseInitializationSettings.Instance;
+ if (!initializationSettings)
+ return;
+ }
+
+ initializationSettings.UserSettings.m_BasePath = akInitializer.basePath;
+ initializationSettings.UserSettings.m_StartupLanguage = akInitializer.language;
+
+ initializationSettings.AdvancedSettings.m_MonitorQueuePoolSize = (uint)akInitializer.monitorQueuePoolSize * 1024;
+
+ initializationSettings.CallbackManagerInitializationSettings.BufferSize = akInitializer.callbackManagerBufferSize * 1024;
+
+ initializationSettings.UserSettings.m_SpatialAudioSettings.m_MaxSoundPropagationDepth = akInitializer.maxSoundPropagationDepth;
+ initializationSettings.UserSettings.m_SpatialAudioSettings.m_DiffractionFlags = (AkCommonUserSettings.SpatialAudioSettings.DiffractionFlags)akInitializer.diffractionFlags;
+
+ initializationSettings.CallbackManagerInitializationSettings.IsLoggingEnabled = akInitializer.engineLogging;
+
+ UnityEditor.EditorUtility.SetDirty(initializationSettings);
+ UnityEditor.AssetDatabase.SaveAssets();
+
+ UnityEngine.Debug.Log("WwiseUnity: Converted from AkInitializer to AkWwiseInitializationSettings.");
+ hasMigrated = true;
+ }
+ }
+
+ private static Migration15Data migration15data;
+
+ public static void PreMigration15()
+ {
+ migration15data = new Migration15Data();
+ }
+
+ public void Migrate15()
+ {
+ UnityEngine.Debug.Log("WwiseUnity: AkInitializer.Migrate15 for " + gameObject.name);
+
+ if (migration15data != null)
+ migration15data.Migrate(this);
+ }
+
+ public static void PostMigration15()
+ {
+ migration15data = null;
+ }
+#endif
+ #endregion
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkInitializer.cs.meta b/Assets/Wwise/Deployment/Components/AkInitializer.cs.meta
new file mode 100644
index 000000000..9a6e47dd8
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkInitializer.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a4eab75687879a445a2a2397d86a2172
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkMemBankLoader.cs b/Assets/Wwise/Deployment/Components/AkMemBankLoader.cs
new file mode 100644
index 000000000..299992f93
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkMemBankLoader.cs
@@ -0,0 +1,137 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2012 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief This class is an example of how to load banks in Wwise, if the bank data was preloaded in memory.
+/// This would be useful for situations where you use the WWW class
+public class AkMemBankLoader : UnityEngine.MonoBehaviour
+{
+ private const int WaitMs = 50;
+ private const long AK_BANK_PLATFORM_DATA_ALIGNMENT = AkSoundEngine.AK_BANK_PLATFORM_DATA_ALIGNMENT;
+ private const long AK_BANK_PLATFORM_DATA_ALIGNMENT_MASK = AK_BANK_PLATFORM_DATA_ALIGNMENT - 1;
+
+ /// Name of the bank to load
+ public string bankName = "";
+
+ /// Is the bank localized (situated in the language-specific folders)
+ public bool isLocalizedBank = false;
+
+ private string m_bankPath;
+
+ [UnityEngine.HideInInspector] public uint ms_bankID = AkSoundEngine.AK_INVALID_BANK_ID;
+
+ private System.IntPtr ms_pInMemoryBankPtr = System.IntPtr.Zero;
+ private System.Runtime.InteropServices.GCHandle ms_pinnedArray;
+
+#if UNITY_2018_3_OR_NEWER
+ private UnityEngine.Networking.UnityWebRequest ms_www;
+#else
+ private UnityEngine.WWW ms_www;
+#endif
+
+ private void Start()
+ {
+
+ if (isLocalizedBank)
+ LoadLocalizedBank(bankName);
+ else
+ LoadNonLocalizedBank(bankName);
+ }
+
+ /// Load a SoundBank from WWW object
+ public void LoadNonLocalizedBank(string in_bankFilename)
+ {
+ var bankPath = "file://" + System.IO.Path.Combine(AkBasePathGetter.SoundBankBasePath, in_bankFilename);
+ DoLoadBank(bankPath);
+ }
+
+ /// Load a language-specific bank from WWW object
+ public void LoadLocalizedBank(string in_bankFilename)
+ {
+ var bankPath = "file://" + System.IO.Path.Combine(
+ System.IO.Path.Combine(AkBasePathGetter.SoundBankBasePath, AkSoundEngine.GetCurrentLanguage()),
+ in_bankFilename);
+ DoLoadBank(bankPath);
+ }
+
+ private uint AllocateAlignedBuffer(byte[] data)
+ {
+ uint uInMemoryBankSize = 0;
+
+ // Allocate an aligned buffer
+ try
+ {
+ ms_pinnedArray =
+ System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
+ ms_pInMemoryBankPtr = ms_pinnedArray.AddrOfPinnedObject();
+ uInMemoryBankSize = (uint)data.Length;
+
+ // Array inside the WWW object is not aligned. Allocate a new array for which we can guarantee the alignment.
+ if ((ms_pInMemoryBankPtr.ToInt64() & AK_BANK_PLATFORM_DATA_ALIGNMENT_MASK) != 0)
+ {
+ var alignedBytes = new byte[data.Length + AK_BANK_PLATFORM_DATA_ALIGNMENT];
+ var new_pinnedArray =
+ System.Runtime.InteropServices.GCHandle.Alloc(alignedBytes, System.Runtime.InteropServices.GCHandleType.Pinned);
+ var new_pInMemoryBankPtr = new_pinnedArray.AddrOfPinnedObject();
+ var alignedOffset = 0;
+
+ // New array is not aligned, so we will need to use an offset inside it to align our data.
+ if ((new_pInMemoryBankPtr.ToInt64() & AK_BANK_PLATFORM_DATA_ALIGNMENT_MASK) != 0)
+ {
+ var alignedPtr = (new_pInMemoryBankPtr.ToInt64() + AK_BANK_PLATFORM_DATA_ALIGNMENT_MASK) &
+ ~AK_BANK_PLATFORM_DATA_ALIGNMENT_MASK;
+ alignedOffset = (int)(alignedPtr - new_pInMemoryBankPtr.ToInt64());
+ new_pInMemoryBankPtr = new System.IntPtr(alignedPtr);
+ }
+
+ // Copy the bank's bytes in our new array, at the correct aligned offset.
+ System.Array.Copy(data, 0, alignedBytes, alignedOffset, data.Length);
+
+ ms_pInMemoryBankPtr = new_pInMemoryBankPtr;
+ ms_pinnedArray.Free();
+ ms_pinnedArray = new_pinnedArray;
+ }
+ }
+ catch
+ {
+ }
+ return uInMemoryBankSize;
+ }
+
+ private System.Collections.IEnumerator LoadFile()
+ {
+#if UNITY_2018_3_OR_NEWER
+ ms_www = UnityEngine.Networking.UnityWebRequest.Get(m_bankPath);
+ yield return ms_www.SendWebRequest();
+ uint uInMemoryBankSize = AllocateAlignedBuffer(ms_www.downloadHandler.data);
+#else
+ ms_www = new UnityEngine.WWW(m_bankPath);
+ yield return ms_www;
+ uint uInMemoryBankSize = AllocateAlignedBuffer(ms_www.bytes);
+#endif
+
+ var result = AkSoundEngine.LoadBankMemoryView(ms_pInMemoryBankPtr, uInMemoryBankSize, out ms_bankID);
+ if (result != AKRESULT.AK_Success)
+ UnityEngine.Debug.LogError("WwiseUnity: AkMemBankLoader: bank loading failed with result " + result);
+ }
+
+ private void DoLoadBank(string in_bankPath)
+ {
+ m_bankPath = in_bankPath;
+ StartCoroutine(LoadFile());
+ }
+
+ private void OnDestroy()
+ {
+ if (ms_pInMemoryBankPtr != System.IntPtr.Zero)
+ {
+ var result = AkSoundEngine.UnloadBank(ms_bankID, ms_pInMemoryBankPtr);
+ if (result == AKRESULT.AK_Success)
+ ms_pinnedArray.Free();
+ }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkMemBankLoader.cs.meta b/Assets/Wwise/Deployment/Components/AkMemBankLoader.cs.meta
new file mode 100644
index 000000000..a529a5a3f
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkMemBankLoader.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4f9aca49f53350d43ad236969cf19bdf
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkObstructionOcclusion.cs b/Assets/Wwise/Deployment/Components/AkObstructionOcclusion.cs
new file mode 100644
index 000000000..de5b1b2ae
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkObstructionOcclusion.cs
@@ -0,0 +1,129 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public abstract class AkObstructionOcclusion : UnityEngine.MonoBehaviour
+{
+ private readonly System.Collections.Generic.List listenersToRemove =
+ new System.Collections.Generic.List();
+
+ protected readonly System.Collections.Generic.List currentListenerList = new System.Collections.Generic.List();
+
+ private readonly System.Collections.Generic.Dictionary
+ ObstructionOcclusionValues = new System.Collections.Generic.Dictionary();
+
+ protected float fadeRate;
+
+ [UnityEngine.Tooltip("Fade time in seconds")]
+ /// The number of seconds for fade ins and fade outs.
+ public float fadeTime = 0.5f;
+
+ [UnityEngine.Tooltip("Layers of obstructers/occluders")]
+ /// Indicates which layers act as obstructers/occluders.
+ public UnityEngine.LayerMask LayerMask = -1;
+
+ [UnityEngine.Tooltip("Maximum distance to perform the obstruction/occlusion. Negative values mean infinite")]
+ /// The maximum distance at which to perform obstruction/occlusion. A negative value will be interpreted as inifinite distance.
+ public float maxDistance = -1.0f;
+
+ [UnityEngine.Tooltip("The number of seconds between raycasts")]
+ /// The number of seconds between obstruction/occlusion checks.
+ public float refreshInterval = 1;
+
+ private float refreshTime;
+
+ protected void InitIntervalsAndFadeRates()
+ {
+ refreshTime = UnityEngine.Random.Range(0.0f, refreshInterval);
+ fadeRate = 1 / fadeTime;
+ }
+
+ protected abstract void UpdateCurrentListenerList();
+
+ private void UpdateObstructionOcclusionValues()
+ {
+ // add new listeners
+ for (var i = 0; i < currentListenerList.Count; ++i)
+ {
+ if (!ObstructionOcclusionValues.ContainsKey(currentListenerList[i]))
+ ObstructionOcclusionValues.Add(currentListenerList[i], new ObstructionOcclusionValue());
+ }
+
+ // remove listeners
+ foreach (var ObsOccPair in ObstructionOcclusionValues)
+ {
+ if (!currentListenerList.Contains(ObsOccPair.Key))
+ listenersToRemove.Add(ObsOccPair.Key);
+ }
+
+ for (var i = 0; i < listenersToRemove.Count; ++i)
+ ObstructionOcclusionValues.Remove(listenersToRemove[i]);
+
+ listenersToRemove.Clear();
+ }
+
+ private void CastRays()
+ {
+ if (refreshTime > refreshInterval)
+ {
+ refreshTime -= refreshInterval;
+
+ foreach (var ObsOccPair in ObstructionOcclusionValues)
+ {
+ var listener = ObsOccPair.Key;
+ var ObsOccValue = ObsOccPair.Value;
+
+ var difference = listener.transform.position - transform.position;
+ var magnitude = difference.magnitude;
+
+ if (maxDistance > 0 && magnitude > maxDistance)
+ ObsOccValue.targetValue = ObsOccValue.currentValue;
+ else
+ {
+ ObsOccValue.targetValue =
+ UnityEngine.Physics.Raycast(transform.position, difference / magnitude, magnitude, LayerMask.value) ? 1.0f : 0.0f;
+ }
+ }
+ }
+
+ refreshTime += UnityEngine.Time.deltaTime;
+ }
+
+ protected abstract void SetObstructionOcclusion(
+ System.Collections.Generic.KeyValuePair ObsOccPair);
+
+ private void Update()
+ {
+ currentListenerList.Clear();
+ UpdateCurrentListenerList();
+ UpdateObstructionOcclusionValues();
+
+ CastRays();
+
+ foreach (var ObsOccPair in ObstructionOcclusionValues)
+ {
+ if (ObsOccPair.Value.Update(fadeRate))
+ SetObstructionOcclusion(ObsOccPair);
+ }
+ }
+
+ protected class ObstructionOcclusionValue
+ {
+ public float currentValue;
+ public float targetValue;
+
+ public bool Update(float fadeRate)
+ {
+ if (UnityEngine.Mathf.Approximately(targetValue, currentValue))
+ return false;
+
+ currentValue += fadeRate * UnityEngine.Mathf.Sign(targetValue - currentValue) * UnityEngine.Time.deltaTime;
+ currentValue = UnityEngine.Mathf.Clamp(currentValue, 0.0f, 1.0f);
+ return true;
+ }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkObstructionOcclusion.cs.meta b/Assets/Wwise/Deployment/Components/AkObstructionOcclusion.cs.meta
new file mode 100644
index 000000000..2e9c9cd53
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkObstructionOcclusion.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b3eb01883a0e7dd47a086ef86d13b0ac
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkRTPCPlayable.cs b/Assets/Wwise/Deployment/Components/AkRTPCPlayable.cs
new file mode 100644
index 000000000..d58d925df
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkRTPCPlayable.cs
@@ -0,0 +1,83 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+#if !AK_DISABLE_TIMELINE
+//--------------------------------------------------------------------------------------------
+// The representation of the Timeline Clip
+//--------------------------------------------------------------------------------------------
+
+[System.Serializable]
+[System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+public class AkRTPCPlayable : UnityEngine.Playables.PlayableAsset, UnityEngine.Timeline.ITimelineClipAsset
+{
+ public bool overrideTrackObject = false;
+ public UnityEngine.ExposedReference RTPCObject;
+
+ public bool setRTPCGlobally = false;
+ public AkRTPCPlayableBehaviour template = new AkRTPCPlayableBehaviour();
+
+ public AK.Wwise.RTPC Parameter { get; set; }
+
+ public UnityEngine.Timeline.TimelineClip OwningClip { get; set; }
+
+ UnityEngine.Timeline.ClipCaps UnityEngine.Timeline.ITimelineClipAsset.clipCaps
+ {
+ get { return UnityEngine.Timeline.ClipCaps.Looping & UnityEngine.Timeline.ClipCaps.Extrapolation & UnityEngine.Timeline.ClipCaps.Blending; }
+ }
+
+ public override UnityEngine.Playables.Playable CreatePlayable(UnityEngine.Playables.PlayableGraph graph, UnityEngine.GameObject go)
+ {
+ var playable = UnityEngine.Playables.ScriptPlayable.Create(graph, template);
+ var b = playable.GetBehaviour();
+ b.overrideTrackObject = overrideTrackObject;
+ b.setRTPCGlobally = setRTPCGlobally;
+ b.rtpcObject = overrideTrackObject ? RTPCObject.Resolve(graph.GetResolver()) : go;
+ b.parameter = Parameter;
+ return playable;
+ }
+}
+
+
+//--------------------------------------------------------------------------------------------
+// The behaviour template.
+//--------------------------------------------------------------------------------------------
+
+[System.Serializable]
+[System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+public class AkRTPCPlayableBehaviour : UnityEngine.Playables.PlayableBehaviour
+{
+ [UnityEngine.SerializeField]
+ private float RTPCValue = 0.0f;
+
+ public bool setRTPCGlobally { set; private get; }
+
+ public bool overrideTrackObject { set; private get; }
+
+ public UnityEngine.GameObject rtpcObject { set; private get; }
+
+ public AK.Wwise.RTPC parameter { set; private get; }
+
+ public override void ProcessFrame(UnityEngine.Playables.Playable playable, UnityEngine.Playables.FrameData info,
+ object playerData)
+ {
+ if (parameter != null)
+ {
+ // If we are overriding the track object, the rtpcObject will have been resolved in AkRTPCPlayable::CreatePlayable().
+ if (!overrideTrackObject)
+ {
+ // At this point, rtpcObject will have been set to the timeline owner object in AkRTPCPlayable::CreatePlayable().
+ // If the track object is null, we keep using the timeline owner object. Otherwise, we swap it for the track object.
+ var obj = playerData as UnityEngine.GameObject;
+ if (obj != null)
+ rtpcObject = obj;
+ }
+
+ if (setRTPCGlobally || rtpcObject == null)
+ parameter.SetGlobalValue(RTPCValue);
+ else
+ parameter.SetValue(rtpcObject, RTPCValue);
+ }
+
+ base.ProcessFrame(playable, info, playerData);
+ }
+}
+#endif // !AK_DISABLE_TIMELINE
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkRTPCPlayable.cs.meta b/Assets/Wwise/Deployment/Components/AkRTPCPlayable.cs.meta
new file mode 100644
index 000000000..7e061db82
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkRTPCPlayable.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: aced2414bbc6a004899e4ae2e874e87a
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkRTPCTrack.cs b/Assets/Wwise/Deployment/Components/AkRTPCTrack.cs
new file mode 100644
index 000000000..1b254129b
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkRTPCTrack.cs
@@ -0,0 +1,46 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+#if !AK_DISABLE_TIMELINE
+
+[UnityEngine.Timeline.TrackColor(0.32f, 0.13f, 0.13f)]
+// Specifies the type of Playable Asset this track manages
+[UnityEngine.Timeline.TrackClipType(typeof(AkRTPCPlayable))]
+// Use if the track requires a binding to a scene object or asset
+[UnityEngine.Timeline.TrackBindingType(typeof(UnityEngine.GameObject))]
+[System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+public class AkRTPCTrack : UnityEngine.Timeline.TrackAsset
+{
+ public AK.Wwise.RTPC Parameter;
+
+ // override the type of mixer playable used by this track
+ public override UnityEngine.Playables.Playable CreateTrackMixer(UnityEngine.Playables.PlayableGraph graph,
+ UnityEngine.GameObject go, int inputCount)
+ {
+ var playable = UnityEngine.Playables.ScriptPlayable.Create(graph, inputCount);
+ setPlayableProperties();
+ return playable;
+ }
+
+ public void setPlayableProperties()
+ {
+ var clips = GetClips();
+ foreach (var clip in clips)
+ {
+ var clipPlayable = (AkRTPCPlayable) clip.asset;
+ clipPlayable.Parameter = Parameter;
+ clipPlayable.OwningClip = clip;
+ }
+ }
+
+ public void OnValidate()
+ {
+ var clips = GetClips();
+ foreach (var clip in clips)
+ {
+ var clipPlayable = (AkRTPCPlayable) clip.asset;
+ clipPlayable.Parameter = Parameter;
+ }
+ }
+}
+
+#endif // !AK_DISABLE_TIMELINE
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkRTPCTrack.cs.meta b/Assets/Wwise/Deployment/Components/AkRTPCTrack.cs.meta
new file mode 100644
index 000000000..e335dbadc
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkRTPCTrack.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: dca565f6e709b0c4682dbc5eece157f6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkRoom.cs b/Assets/Wwise/Deployment/Components/AkRoom.cs
new file mode 100644
index 000000000..c45332655
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkRoom.cs
@@ -0,0 +1,224 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+[UnityEngine.AddComponentMenu("Wwise/AkRoom")]
+[UnityEngine.RequireComponent(typeof(UnityEngine.Collider))]
+[UnityEngine.DisallowMultipleComponent]
+/// @brief An AkRoom is an enclosed environment that can only communicate to the outside/other rooms with AkRoomPortals
+/// @details The AkRoom component uses its required Collider component to determine when AkRoomAwareObjects enter and exit the room using the OnTriggerEnter and OnTriggerExit callbacks.
+public class AkRoom : AkTriggerHandler
+{
+ public static ulong INVALID_ROOM_ID = unchecked((ulong)-1.0f);
+
+ public static ulong GetAkRoomID(AkRoom room)
+ {
+ return room == null ? INVALID_ROOM_ID : room.GetID();
+ }
+
+ public static int RoomCount { get; private set; }
+
+ #region Fields
+ [UnityEngine.Tooltip("Higher number has a higher priority")]
+ /// In cases where a game object is in an area with two rooms, the higher priority room will be chosen for AK::SpatialAudio::SetGameObjectInRoom()
+ /// The higher the priority number, the higher the priority of a room.
+ public int priority = 0;
+
+ /// The reverb auxiliary bus.
+ public AK.Wwise.AuxBus reverbAuxBus = new AK.Wwise.AuxBus();
+
+ [UnityEngine.Range(0, 1)]
+ /// The reverb control value for the send to the reverb aux bus.
+ public float reverbLevel = 1;
+
+ [UnityEngine.Range(0, 1)]
+ /// Occlusion level modeling transmission through walls.
+ public float wallOcclusion = 1;
+
+ /// Wwise Event to be posted on the room game object.
+ public AK.Wwise.Event roomToneEvent = new AK.Wwise.Event();
+
+ [UnityEngine.Range(0, 1)]
+ [UnityEngine.Tooltip("Send level for sounds that are posted on the room game object; adds reverb to ambience and room tones. Valid range: (0.f-1.f). A value of 0 disables the aux send.")]
+ /// Send level for sounds that are posted on the room game object; adds reverb to ambience and room tones. Valid range: (0.f-1.f). A value of 0 disables the aux send.
+ public float roomToneAuxSend = 0;
+
+ /// This is the list of AkRoomAwareObjects that have entered this AkRoom
+ private System.Collections.Generic.List roomAwareObjectsEntered = new System.Collections.Generic.List();
+
+ /// This is the list of AkRoomAwareObjects that have entered this AkRoom while it was inactive or disabled.
+ private System.Collections.Generic.List roomAwareObjectsDetectedWhileDisabled = new System.Collections.Generic.List();
+
+ #endregion
+
+ public bool TryEnter(AkRoomAwareObject roomAwareObject)
+ {
+ if (roomAwareObject)
+ {
+ if (isActiveAndEnabled)
+ {
+ if(!roomAwareObjectsEntered.Contains(roomAwareObject))
+ roomAwareObjectsEntered.Add(roomAwareObject);
+ return true;
+ }
+ else
+ {
+ if (!roomAwareObjectsDetectedWhileDisabled.Contains(roomAwareObject))
+ roomAwareObjectsDetectedWhileDisabled.Add(roomAwareObject);
+ return false;
+ }
+ }
+ return false;
+ }
+
+ public void Exit(AkRoomAwareObject roomAwareObject)
+ {
+ if (roomAwareObject)
+ {
+ roomAwareObjectsEntered.Remove(roomAwareObject);
+ roomAwareObjectsDetectedWhileDisabled.Remove(roomAwareObject);
+ }
+ }
+
+ /// Access the room's ID
+ public ulong GetID()
+ {
+ return AkSoundEngine.GetAkGameObjectID(gameObject);
+ }
+
+ private void OnEnable()
+ {
+ var roomParams = new AkRoomParams
+ {
+ Up = transform.up,
+ Front = transform.forward,
+
+ ReverbAuxBus = reverbAuxBus.Id,
+ ReverbLevel = reverbLevel,
+ WallOcclusion = wallOcclusion,
+
+ RoomGameObj_AuxSendLevelToSelf = roomToneAuxSend,
+ RoomGameObj_KeepRegistered = roomToneEvent.IsValid(),
+ };
+
+ RoomCount++;
+ AkSoundEngine.SetRoom(GetID(), roomParams, name);
+
+ /// In case a room is disabled and re-enabled.
+ AkRoomManager.RegisterRoomUpdate(this);
+
+ // if objects entered the room while disabled, enter them now
+ for (var i = 0; i < roomAwareObjectsDetectedWhileDisabled.Count; ++i)
+ AkRoomAwareManager.ObjectEnteredRoom(roomAwareObjectsDetectedWhileDisabled[i], this);
+
+ roomAwareObjectsDetectedWhileDisabled.Clear();
+ }
+
+ private void OnDisable()
+ {
+ for (var i = 0; i < roomAwareObjectsEntered.Count; ++i)
+ {
+ roomAwareObjectsEntered[i].ExitedRoom(this);
+ AkRoomAwareManager.RegisterRoomAwareObjectForUpdate(roomAwareObjectsEntered[i]);
+ roomAwareObjectsDetectedWhileDisabled.Add(roomAwareObjectsEntered[i]);
+ }
+ roomAwareObjectsEntered.Clear();
+
+ AkRoomManager.RegisterRoomUpdate(this);
+
+ // stop sounds applied to the room game object
+ AkSoundEngine.StopAll(gameObject);
+
+ RoomCount--;
+ AkSoundEngine.RemoveRoom(GetID());
+ }
+
+ private void OnTriggerEnter(UnityEngine.Collider in_other)
+ {
+ AkRoomAwareManager.ObjectEnteredRoom(in_other, this);
+ }
+
+ private void OnTriggerExit(UnityEngine.Collider in_other)
+ {
+ AkRoomAwareManager.ObjectExitedRoom(in_other, this);
+ }
+
+ public void PostRoomTone()
+ {
+ if (roomToneEvent.IsValid())
+ AkSoundEngine.PostEventOnRoom(roomToneEvent.Id, GetID());
+ }
+
+ public override void HandleEvent(UnityEngine.GameObject in_gameObject)
+ {
+ PostRoomTone();
+ }
+
+ public class PriorityList
+ {
+ private static readonly CompareByPriority s_compareByPriority = new CompareByPriority();
+
+ /// Contains all active rooms sorted by priority.
+ private System.Collections.Generic.List rooms = new System.Collections.Generic.List();
+
+ public ulong GetHighestPriorityActiveAndEnabledRoomID()
+ {
+ var room = GetHighestPriorityActiveAndEnabledRoom();
+ return room == null ? INVALID_ROOM_ID : room.GetID();
+ }
+ public AkRoom GetHighestPriorityActiveAndEnabledRoom()
+ {
+ for (int i = 0; i < rooms.Count; i++)
+ {
+ if (rooms[i].isActiveAndEnabled)
+ return rooms[i];
+ }
+
+ return null;
+ }
+
+ public int Count { get { return rooms.Count; } }
+
+ public void Clear()
+ {
+ rooms.Clear();
+ }
+
+ public void Add(AkRoom room)
+ {
+ var index = BinarySearch(room);
+ if (index < 0)
+ rooms.Insert(~index, room);
+ }
+
+ public void Remove(AkRoom room)
+ {
+ rooms.Remove(room);
+ }
+
+ public bool Contains(AkRoom room)
+ {
+ return room && rooms.Contains(room);
+ }
+
+ public int BinarySearch(AkRoom room)
+ {
+ return room ? rooms.BinarySearch(room, s_compareByPriority) : -1;
+ }
+
+ public AkRoom this[int index]
+ {
+ get { return rooms[index]; }
+ }
+
+ private class CompareByPriority : System.Collections.Generic.IComparer
+ {
+ public virtual int Compare(AkRoom a, AkRoom b)
+ {
+ var result = a.priority.CompareTo(b.priority);
+ if (result == 0 && a != b)
+ return 1;
+
+ return -result; // inverted to have highest priority first
+ }
+ }
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkRoom.cs.meta b/Assets/Wwise/Deployment/Components/AkRoom.cs.meta
new file mode 100644
index 000000000..a99de9244
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkRoom.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: ccc628e0c5921f7479852cfe921ddf1d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkRoomAwareObject.cs b/Assets/Wwise/Deployment/Components/AkRoomAwareObject.cs
new file mode 100644
index 000000000..604ea7ce7
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkRoomAwareObject.cs
@@ -0,0 +1,85 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2017 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+///
+/// This component makes a GameObject aware of AkRoom components.
+/// When using Spatial Audio rooms, all emitters and the spatial audio listener should have this component.
+///
+[UnityEngine.RequireComponent(typeof(AkGameObj))]
+[UnityEngine.DisallowMultipleComponent]
+public class AkRoomAwareObject : UnityEngine.MonoBehaviour
+{
+ private static readonly System.Collections.Generic.Dictionary ColliderToRoomAwareObjectMap = new System.Collections.Generic.Dictionary();
+
+ public static AkRoomAwareObject GetAkRoomAwareObjectFromCollider(UnityEngine.Collider collider)
+ {
+ AkRoomAwareObject roomAwareObject = null;
+ return ColliderToRoomAwareObjectMap.TryGetValue(collider, out roomAwareObject) ? roomAwareObject : null;
+ }
+
+ public UnityEngine.Collider m_Collider;
+ private readonly AkRoom.PriorityList roomPriorityList = new AkRoom.PriorityList();
+
+ private void Awake()
+ {
+ m_Collider = GetComponent();
+ if (m_Collider != null)
+ ColliderToRoomAwareObjectMap.Add(m_Collider, this);
+ }
+
+ private void OnEnable()
+ {
+ AkRoomAwareManager.RegisterRoomAwareObject(this);
+
+ for (int i = 0; i < roomPriorityList.Count; ++i)
+ roomPriorityList[i].TryEnter(this);
+ }
+
+ private void OnDisable()
+ {
+ for (int i = 0; i < roomPriorityList.Count; ++i)
+ roomPriorityList[i].Exit(this);
+
+ AkRoomAwareManager.UnregisterRoomAwareObject(this);
+
+ SetGameObjectInRoom(null);
+ }
+
+ private void OnDestroy()
+ {
+ ColliderToRoomAwareObjectMap.Remove(m_Collider);
+ }
+
+ public void SetGameObjectInHighestPriorityActiveAndEnabledRoom()
+ {
+ SetGameObjectInRoom(roomPriorityList.GetHighestPriorityActiveAndEnabledRoom());
+ }
+
+ private void SetGameObjectInRoom(AkRoom room)
+ {
+ AkSoundEngine.SetGameObjectInRoom(gameObject, room == null ? AkRoom.INVALID_ROOM_ID : room.GetID());
+ }
+
+ ///
+ /// Called when entering a room.
+ ///
+ /// The room.
+ public void EnteredRoom(AkRoom room)
+ {
+ roomPriorityList.Add(room);
+ }
+
+ ///
+ /// Called when exiting a room.
+ ///
+ /// The room.
+ public void ExitedRoom(AkRoom room)
+ {
+ roomPriorityList.Remove(room);
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkRoomAwareObject.cs.meta b/Assets/Wwise/Deployment/Components/AkRoomAwareObject.cs.meta
new file mode 100644
index 000000000..afd932a61
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkRoomAwareObject.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 993b3937fde4a704eb1c8b379a97410c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkRoomPortal.cs b/Assets/Wwise/Deployment/Components/AkRoomPortal.cs
new file mode 100644
index 000000000..4a74f35ed
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkRoomPortal.cs
@@ -0,0 +1,316 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+[UnityEngine.AddComponentMenu("Wwise/AkRoomPortal")]
+[UnityEngine.RequireComponent(typeof(UnityEngine.BoxCollider))]
+[UnityEngine.DisallowMultipleComponent]
+/// @brief An AkRoomPortal can connect two AkRoom components together.
+/// @details
+public class AkRoomPortal : AkTriggerHandler
+{
+ /// AkRoomPortals can only connect a maximum of 2 rooms.
+ public const int MAX_ROOMS_PER_PORTAL = 2;
+ public enum State
+ {
+ Closed,
+ Open
+ }
+
+ public State initialState = State.Closed;
+
+ private bool active = true;
+ public bool portalActive
+ {
+ get
+ {
+ return active;
+ }
+ set
+ {
+ active = value;
+ AkRoomManager.RegisterPortalUpdate(this);
+ }
+ }
+
+ public System.Collections.Generic.List closePortalTriggerList = new System.Collections.Generic.List();
+
+ private ulong frontRoomID { get { return IsRoomActive(frontRoom) ? frontRoom.GetID() : AkRoom.INVALID_ROOM_ID; } }
+ private ulong backRoomID { get { return IsRoomActive(backRoom) ? backRoom.GetID() : AkRoom.INVALID_ROOM_ID; } }
+
+ /// The front and back rooms connected by the portal.
+ /// The first room is on the negative side of the portal(opposite to the direction of the local Z axis)
+ /// The second room is on the positive side of the portal.
+ [UnityEngine.SerializeField]
+ private AkRoom[] rooms = new AkRoom[MAX_ROOMS_PER_PORTAL];
+
+ /// The list of rooms sorted by priority in front and in the back of the portal
+ private AkRoom.PriorityList[] roomList = { new AkRoom.PriorityList(), new AkRoom.PriorityList() };
+
+ public AkRoom GetRoom(int index) { return rooms[index]; }
+
+ public AkRoom frontRoom { get { return rooms[1]; } }
+ public AkRoom backRoom { get { return rooms[0]; } }
+
+ private AkTransform portalTransform;
+ private UnityEngine.BoxCollider portalCollider;
+ private bool portalSet = false;
+
+ private void SetRoomPortal()
+ {
+ if (!enabled)
+ return;
+
+ if (IsValid)
+ {
+ portalTransform.Set(portalCollider.bounds.center, transform.forward, transform.up);
+ var extent = UnityEngine.Vector3.Scale(portalCollider.size, transform.localScale) / 2;
+ AkSoundEngine.SetRoomPortal(GetID(), portalTransform, extent, active, frontRoomID, backRoomID);
+ portalSet = true;
+ }
+ else
+ {
+ UnityEngine.Debug.LogError(name + " has identical front and back rooms. It will not be sent to Spatial Audio.");
+ if (portalSet)
+ AkSoundEngine.RemovePortal(GetID());
+ portalSet = false;
+ }
+ }
+
+ public void UpdateRoomPortal()
+ {
+ UpdateRooms();
+ SetRoomPortal();
+ }
+
+ public bool Overlaps(AkRoom room)
+ {
+ FindOverlappingRooms(roomList);
+
+ for (int i = 0; i < MAX_ROOMS_PER_PORTAL; ++i)
+ {
+ if (roomList[i].Contains(room))
+ return true;
+ }
+
+ return false;
+ }
+
+ public bool IsValid { get { return frontRoomID != backRoomID; } }
+
+ /// Access the portal's ID
+ public ulong GetID() { return (ulong)GetInstanceID(); }
+
+ protected override void Awake()
+ {
+ portalCollider = GetComponent();
+ portalCollider.isTrigger = true;
+
+ portalTransform = new AkTransform();
+
+ // set portal in it's initial state
+ portalActive = initialState != State.Closed;
+
+ RegisterTriggers(closePortalTriggerList, ClosePortal);
+
+ base.Awake();
+ }
+
+ protected override void Start()
+ {
+ base.Start();
+
+ //Call the ClosePortal function if registered to the Start Trigger
+ if (closePortalTriggerList.Contains(START_TRIGGER_ID))
+ ClosePortal(null);
+ }
+
+ /// Opens the portal on trigger event
+ public override void HandleEvent(UnityEngine.GameObject in_gameObject)
+ {
+ Open();
+ }
+
+ /// Closes the portal on trigger event
+ public void ClosePortal(UnityEngine.GameObject in_gameObject)
+ {
+ Close();
+ }
+
+ protected override void OnDestroy()
+ {
+ base.OnDestroy();
+
+ UnregisterTriggers(closePortalTriggerList, ClosePortal);
+ }
+
+ private void OnEnable()
+ {
+ UpdateRooms();
+ AkRoomManager.RegisterPortal(this);
+ }
+
+ private void OnDisable()
+ {
+ AkRoomManager.UnregisterPortal(this);
+ if (portalSet)
+ AkSoundEngine.RemovePortal(GetID());
+ portalSet = false;
+ }
+
+ private bool IsRoomActive(AkRoom in_room)
+ {
+ return in_room != null && in_room.isActiveAndEnabled;
+ }
+
+ public void Open()
+ {
+ portalActive = true;
+ }
+
+ public void Close()
+ {
+ portalActive = false;
+ }
+
+ public void FindOverlappingRooms(AkRoom.PriorityList[] roomList)
+ {
+ var portalCollider = gameObject.GetComponent();
+ if (portalCollider == null)
+ return;
+
+ // compute halfExtents and divide the local z extent by 2
+ var halfExtentZ = portalCollider.size.z / 2;
+
+ // move the center backward
+ FillRoomList(UnityEngine.Vector3.forward * -halfExtentZ, roomList[0]);
+
+ // move the center forward
+ FillRoomList(UnityEngine.Vector3.forward * halfExtentZ, roomList[1]);
+ }
+
+ private void FillRoomList(UnityEngine.Vector3 position, AkRoom.PriorityList list)
+ {
+ list.Clear();
+
+ position = transform.TransformPoint(position);
+ var colliders = UnityEngine.Physics.OverlapSphere(position, 0, -1, UnityEngine.QueryTriggerInteraction.Collide);
+
+ foreach (var collider in colliders)
+ {
+ var room = collider.gameObject.GetComponent();
+ if (room != null && !list.Contains(room))
+ list.Add(room);
+ }
+ }
+
+ public void UpdateRooms()
+ {
+ FindOverlappingRooms(roomList);
+
+ bool wasUpdated = false;
+
+ for (var i = 0; i < MAX_ROOMS_PER_PORTAL; ++i)
+ {
+ var room = roomList[i].GetHighestPriorityActiveAndEnabledRoom();
+
+ if (room != rooms[i])
+ wasUpdated = true;
+
+ rooms[i] = room;
+ }
+
+ if (wasUpdated)
+ AkRoomManager.RegisterPortalUpdate(this);
+ }
+
+#if UNITY_EDITOR
+ private void OnDrawGizmos()
+ {
+ if (!enabled)
+ return;
+
+ UnityEngine.Gizmos.matrix = transform.localToWorldMatrix;
+
+ var centreOffset = UnityEngine.Vector3.zero;
+ var sizeMultiplier = UnityEngine.Vector3.one;
+ var collider = GetComponent();
+ if (collider)
+ {
+ centreOffset = collider.center;
+ sizeMultiplier = collider.size;
+ }
+
+ // color faces
+ var faceCenterPos = new UnityEngine.Vector3[6];
+ faceCenterPos[0] = UnityEngine.Vector3.Scale(new UnityEngine.Vector3(0.5f, 0.0f, 0.0f), sizeMultiplier);
+ faceCenterPos[1] = UnityEngine.Vector3.Scale(new UnityEngine.Vector3(0.0f, 0.5f, 0.0f), sizeMultiplier);
+ faceCenterPos[2] = UnityEngine.Vector3.Scale(new UnityEngine.Vector3(-0.5f, 0.0f, 0.0f), sizeMultiplier);
+ faceCenterPos[3] = UnityEngine.Vector3.Scale(new UnityEngine.Vector3(0.0f, -0.5f, 0.0f), sizeMultiplier);
+ faceCenterPos[4] = UnityEngine.Vector3.Scale(new UnityEngine.Vector3(0.0f, 0.0f, 0.5f), sizeMultiplier);
+ faceCenterPos[5] = UnityEngine.Vector3.Scale(new UnityEngine.Vector3(0.0f, 0.0f, -0.5f), sizeMultiplier);
+
+ var faceSize = new UnityEngine.Vector3[6];
+ faceSize[0] = new UnityEngine.Vector3(0, 1, 1);
+ faceSize[1] = new UnityEngine.Vector3(1, 0, 1);
+ faceSize[2] = faceSize[0];
+ faceSize[3] = faceSize[1];
+ faceSize[4] = new UnityEngine.Vector3(1, 1, 0);
+ faceSize[5] = faceSize[4];
+
+ UnityEngine.Gizmos.color = new UnityEngine.Color32(255, 204, 0, 100);
+ for (var i = 0; i < 4; i++)
+ {
+ UnityEngine.Gizmos.DrawCube(faceCenterPos[i] + centreOffset, UnityEngine.Vector3.Scale(faceSize[i], sizeMultiplier));
+ }
+
+ if (!portalActive)
+ {
+ UnityEngine.Gizmos.color = new UnityEngine.Color32(255, 204, 0, 30);
+ UnityEngine.Gizmos.DrawCube(faceCenterPos[4] + centreOffset, UnityEngine.Vector3.Scale(faceSize[4], sizeMultiplier));
+ UnityEngine.Gizmos.DrawCube(faceCenterPos[5] + centreOffset, UnityEngine.Vector3.Scale(faceSize[5], sizeMultiplier));
+ }
+
+ // draw line in the center of the portal
+ var CornerCenterPos = faceCenterPos;
+ CornerCenterPos[0].y += 0.5f * sizeMultiplier.y;
+ CornerCenterPos[1].x -= 0.5f * sizeMultiplier.x;
+ CornerCenterPos[2].y -= 0.5f * sizeMultiplier.y;
+ CornerCenterPos[3].x += 0.5f * sizeMultiplier.x;
+
+ UnityEngine.Gizmos.color = UnityEngine.Color.red;
+ for (var i = 0; i < 4; i++)
+ UnityEngine.Gizmos.DrawLine(CornerCenterPos[i] + centreOffset, CornerCenterPos[(i + 1) % 4] + centreOffset);
+ }
+#endif
+
+ #region Obsolete
+ [System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+ public void SetRoom(int in_roomIndex, AkRoom in_room)
+ {
+ UnityEngine.Debug.LogFormat("SetRoom is deprecated. Highest priority, active and enabled room will be automatically chosen. Make sure room priorities and game object placements are correct.");
+ }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+ public void SetFrontRoom(AkRoom room)
+ {
+ UnityEngine.Debug.LogFormat("SetFrontRoom is deprecated. Highest priority, active and enabled room will be automatically chosen. Make sure room priorities and game object placements are correct.");
+ }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+ public void SetBackRoom(AkRoom room)
+ {
+ UnityEngine.Debug.LogFormat("SetBackRoom is deprecated. Highest priority, active and enabled room will be automatically chosen. Make sure room priorities and game object placements are correct.");
+ }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+ public void UpdateSoundEngineRoomIDs()
+ {
+ UpdateRoomPortal();
+ }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+ public void UpdateOverlappingRooms()
+ {
+ UpdateRooms();
+ }
+ #endregion
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkRoomPortal.cs.meta b/Assets/Wwise/Deployment/Components/AkRoomPortal.cs.meta
new file mode 100644
index 000000000..069de7d34
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkRoomPortal.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e8ebe44e536b3d24190d9bf194f8f6e7
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkRoomPortalObstruction.cs b/Assets/Wwise/Deployment/Components/AkRoomPortalObstruction.cs
new file mode 100644
index 000000000..4272f97eb
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkRoomPortalObstruction.cs
@@ -0,0 +1,34 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[UnityEngine.AddComponentMenu("Wwise/AkRoomPortalObstruction")]
+[UnityEngine.RequireComponent(typeof(AkRoomPortal))]
+/// @brief Completely obstructs the spatial audio portal of the current game object from the spatial audio listener if at least one object is between them.
+/// @details If no spatial audio listener has been registered, there will be no obstruction.
+public class AkRoomPortalObstruction : AkObstructionOcclusion
+{
+ private AkRoomPortal m_portal;
+
+ private void Awake()
+ {
+ InitIntervalsAndFadeRates();
+ m_portal = GetComponent();
+ }
+
+ protected override void UpdateCurrentListenerList()
+ {
+ currentListenerList.Add(AkSpatialAudioListener.TheSpatialAudioListener);
+ }
+
+ protected override void SetObstructionOcclusion(
+ System.Collections.Generic.KeyValuePair ObsOccPair)
+ {
+ if (m_portal.IsValid)
+ AkSoundEngine.SetPortalObstructionAndOcclusion(m_portal.GetID(), ObsOccPair.Value.currentValue, 0.0f);
+ }
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkRoomPortalObstruction.cs.meta b/Assets/Wwise/Deployment/Components/AkRoomPortalObstruction.cs.meta
new file mode 100644
index 000000000..63f5a16d1
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkRoomPortalObstruction.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 53c8f9324e708a3409541798bf8a7473
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkSoundEngineController.cs b/Assets/Wwise/Deployment/Components/AkSoundEngineController.cs
new file mode 100644
index 000000000..7696693fd
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkSoundEngineController.cs
@@ -0,0 +1,301 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+public class AkSoundEngineController
+{
+ private static AkSoundEngineController ms_Instance;
+
+ public static AkSoundEngineController Instance
+ {
+ get
+ {
+ if (ms_Instance == null)
+ ms_Instance = new AkSoundEngineController();
+
+ return ms_Instance;
+ }
+ }
+
+ private AkSoundEngineController()
+ {
+#if UNITY_EDITOR
+ UnityEditor.EditorApplication.pauseStateChanged += OnPauseStateChanged;
+#endif
+ }
+
+ ~AkSoundEngineController()
+ {
+ if (ms_Instance == this)
+ {
+#if UNITY_EDITOR
+ UnityEditor.EditorApplication.pauseStateChanged -= OnPauseStateChanged;
+ UnityEditor.EditorApplication.update -= LateUpdate;
+#endif
+ ms_Instance = null;
+ }
+ }
+
+ public void LateUpdate()
+ {
+#if UNITY_EDITOR
+ if (!IsSoundEngineLoaded)
+ return;
+#endif
+
+ //Execute callbacks that occurred in last frame (not the current update)
+ AkRoomManager.Update();
+ AkRoomAwareManager.UpdateRoomAwareObjects();
+ AkCallbackManager.PostCallbacks();
+ AkBankManager.DoUnloadBanks();
+ AkSoundEngine.RenderAudio();
+ }
+
+ public void Init(AkInitializer akInitializer)
+ {
+ // Only initialize the room mamanger during play.
+ bool initRoomManager = true;
+#if UNITY_EDITOR
+ if (!UnityEditor.EditorApplication.isPlaying)
+ initRoomManager = false;
+#endif
+ if (initRoomManager)
+ AkRoomManager.Init();
+
+ if (akInitializer == null)
+ {
+ UnityEngine.Debug.LogError("WwiseUnity: AkInitializer must not be null. Sound engine will not be initialized.");
+ return;
+ }
+
+#if UNITY_EDITOR
+ if (UnityEngine.Application.isPlaying && !IsTheSingleOwningInitializer(akInitializer))
+ {
+ UnityEngine.Debug.LogError("WwiseUnity: Sound engine is already initialized.");
+ return;
+ }
+
+ var arguments = System.Environment.GetCommandLineArgs();
+ if ((System.Array.IndexOf(arguments, "-nographics") >= 0 || System.Array.IndexOf(arguments, "-batchmode") >= 0) && System.Array.IndexOf(arguments, "-wwiseEnableWithNoGraphics") < 0)
+ return;
+
+ var isInitialized = false;
+ try
+ {
+ isInitialized = AkSoundEngine.IsInitialized();
+ IsSoundEngineLoaded = true;
+ }
+ catch (System.DllNotFoundException)
+ {
+ IsSoundEngineLoaded = false;
+ UnityEngine.Debug.LogWarning("WwiseUnity: AkSoundEngine is not loaded.");
+ return;
+ }
+#else
+ var isInitialized = AkSoundEngine.IsInitialized();
+#endif
+
+ AkLogger.Instance.Init();
+
+ if (isInitialized)
+ {
+#if UNITY_EDITOR
+ if (AkWwiseInitializationSettings.ResetSoundEngine(UnityEngine.Application.isPlaying || UnityEditor.BuildPipeline.isBuildingPlayer))
+ {
+ UnityEditor.EditorApplication.update += LateUpdate;
+ }
+
+ if (UnityEditor.EditorApplication.isPaused && UnityEngine.Application.isPlaying)
+ {
+ AkSoundEngine.Suspend(true);
+ }
+#else
+ UnityEngine.Debug.LogError("WwiseUnity: Sound engine is already initialized.");
+#endif
+ return;
+ }
+
+#if UNITY_EDITOR
+ if (UnityEditor.BuildPipeline.isBuildingPlayer)
+ return;
+#endif
+
+ if (!AkWwiseInitializationSettings.InitializeSoundEngine())
+ return;
+
+#if UNITY_EDITOR
+ OnEnableEditorListener(akInitializer.gameObject);
+ UnityEditor.EditorApplication.update += LateUpdate;
+#endif
+ }
+
+ public void OnDisable()
+ {
+#if UNITY_EDITOR
+ if (!IsSoundEngineLoaded)
+ return;
+
+ OnDisableEditorListener();
+#endif
+ }
+
+ public void Terminate()
+ {
+#if UNITY_EDITOR
+ ClearInitializeState();
+
+ if (!IsSoundEngineLoaded)
+ return;
+#endif
+
+ AkWwiseInitializationSettings.TerminateSoundEngine();
+ AkRoomManager.Terminate();
+ }
+
+ // In the Editor, the sound needs to keep playing when switching windows (remote debugging in Wwise, for example).
+ // On iOS, application interruptions are handled in the sound engine already.
+#if UNITY_EDITOR || UNITY_IOS
+ public void OnApplicationPause(bool pauseStatus)
+ {
+ }
+
+ public void OnApplicationFocus(bool focus)
+ {
+ }
+#else
+ public void OnApplicationPause(bool pauseStatus)
+ {
+ ActivateAudio(!pauseStatus);
+ }
+
+ public void OnApplicationFocus(bool focus)
+ {
+#if !UNITY_ANDROID
+ ActivateAudio(focus, AkWwiseInitializationSettings.ActivePlatformSettings.RenderDuringFocusLoss);
+#endif
+ }
+#endif
+
+#if UNITY_EDITOR
+ public bool IsSoundEngineLoaded { get; set; }
+
+ // Enable/Disable the audio when pressing play/pause in the editor.
+ private void OnPauseStateChanged(UnityEditor.PauseState pauseState)
+ {
+ if (UnityEngine.Application.isPlaying)
+ {
+ ActivateAudio(pauseState != UnityEditor.PauseState.Paused);
+ }
+ }
+#endif
+
+#if UNITY_EDITOR || !UNITY_IOS
+ private void ActivateAudio(bool activate, bool renderAnyway = false)
+ {
+ if (AkSoundEngine.IsInitialized())
+ {
+ if (activate)
+ AkSoundEngine.WakeupFromSuspend();
+ else
+ AkSoundEngine.Suspend(renderAnyway);
+
+ AkSoundEngine.RenderAudio();
+ }
+ }
+#endif
+
+#if UNITY_EDITOR
+#region Editor Listener
+ private UnityEngine.GameObject editorListenerGameObject;
+
+ private bool IsPlayingOrIsNotInitialized
+ {
+ get { return UnityEngine.Application.isPlaying || !AkSoundEngine.IsInitialized(); }
+ }
+
+ private void OnEnableEditorListener(UnityEngine.GameObject gameObject)
+ {
+ if (IsPlayingOrIsNotInitialized || editorListenerGameObject != null)
+ return;
+
+ editorListenerGameObject = gameObject;
+ AkSoundEngine.RegisterGameObj(editorListenerGameObject, editorListenerGameObject.name);
+
+ // Do not create AkGameObj component when adding this listener
+ var id = AkSoundEngine.GetAkGameObjectID(editorListenerGameObject);
+ AkSoundEnginePINVOKE.CSharp_AddDefaultListener(id);
+
+ UnityEditor.EditorApplication.update += UpdateEditorListenerPosition;
+ }
+
+ private void OnDisableEditorListener()
+ {
+ if (IsPlayingOrIsNotInitialized || editorListenerGameObject == null)
+ return;
+
+ UnityEditor.EditorApplication.update -= UpdateEditorListenerPosition;
+
+ var id = AkSoundEngine.GetAkGameObjectID(editorListenerGameObject);
+ AkSoundEnginePINVOKE.CSharp_RemoveDefaultListener(id);
+
+ AkSoundEngine.UnregisterGameObj(editorListenerGameObject);
+ editorListenerGameObject = null;
+ }
+
+ private UnityEngine.Vector3 editorListenerPosition = UnityEngine.Vector3.zero;
+ private UnityEngine.Vector3 editorListenerForward = UnityEngine.Vector3.zero;
+ private UnityEngine.Vector3 editorListenerUp = UnityEngine.Vector3.zero;
+
+ private void UpdateEditorListenerPosition()
+ {
+ if (IsPlayingOrIsNotInitialized || editorListenerGameObject == null)
+ return;
+
+ if (UnityEditor.SceneView.lastActiveSceneView == null)
+ return;
+
+ var sceneViewCamera = UnityEditor.SceneView.lastActiveSceneView.camera;
+ if (sceneViewCamera == null)
+ return;
+
+ var sceneViewTransform = sceneViewCamera.transform;
+ if (sceneViewTransform == null)
+ return;
+
+ if (editorListenerPosition == sceneViewTransform.position &&
+ editorListenerForward == sceneViewTransform.forward &&
+ editorListenerUp == sceneViewTransform.up)
+ return;
+
+ AkSoundEngine.SetObjectPosition(editorListenerGameObject, sceneViewTransform);
+
+ editorListenerPosition = sceneViewTransform.position;
+ editorListenerForward = sceneViewTransform.forward;
+ editorListenerUp = sceneViewTransform.up;
+ }
+#endregion
+
+#region Initialize only once
+ private AkInitializer TheAkInitializer = null;
+
+ ///
+ /// Determines whether this AkInitializer is the single one responsible for initializing the sound engine.
+ ///
+ ///
+ /// Returns true when called on the first AkInitializer and false otherwise.
+ private bool IsTheSingleOwningInitializer(AkInitializer akInitializer)
+ {
+ if (TheAkInitializer == null && akInitializer != null)
+ {
+ TheAkInitializer = akInitializer;
+ return true;
+ }
+
+ return false;
+ }
+
+ private void ClearInitializeState()
+ {
+ TheAkInitializer = null;
+ }
+#endregion
+#endif // UNITY_EDITOR
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkSoundEngineController.cs.meta b/Assets/Wwise/Deployment/Components/AkSoundEngineController.cs.meta
new file mode 100644
index 000000000..438de8bad
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkSoundEngineController.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e0bddedd415524746b63c64ff8d9b2ce
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkSpatialAudioDebugDraw.cs b/Assets/Wwise/Deployment/Components/AkSpatialAudioDebugDraw.cs
new file mode 100644
index 000000000..46e07818b
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkSpatialAudioDebugDraw.cs
@@ -0,0 +1,176 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+[UnityEngine.AddComponentMenu("Wwise/AkSpatialAudioDebugDraw")]
+[UnityEngine.RequireComponent(typeof(AkGameObj))]
+///@brief Add this script on a GameObject to print Spatial Audio paths.
+public class AkSpatialAudioDebugDraw : UnityEngine.MonoBehaviour
+{
+#if UNITY_EDITOR
+ /// This allows you to visualize first order reflection sound paths.
+ public bool drawFirstOrderReflections = false;
+
+ /// This allows you to visualize second order reflection sound paths.
+ public bool drawSecondOrderReflections = false;
+
+ /// This allows you to visualize third or higher order reflection sound paths.
+ public bool drawHigherOrderReflections = false;
+
+ /// This allows you to visualize geometric diffraction sound paths between an obstructed emitter and the listener.
+ public bool drawDiffractionPaths = false;
+
+ private void OnDrawGizmos()
+ {
+ if (!UnityEngine.Application.isPlaying || !AkSoundEngine.IsInitialized())
+ return;
+
+ if (debugDrawData == null)
+ debugDrawData = new DebugDrawData();
+
+ if (drawFirstOrderReflections || drawSecondOrderReflections || drawHigherOrderReflections)
+ debugDrawData.DebugDrawEarlyReflections(gameObject, drawFirstOrderReflections, drawSecondOrderReflections, drawHigherOrderReflections);
+
+ if (drawDiffractionPaths)
+ debugDrawData.DebugDrawDiffraction(gameObject);
+ }
+
+ private class DebugDrawData
+ {
+ // Constants
+ private const uint kMaxIndirectPaths = 64;
+ private const uint kMaxDiffractionPaths = 16;
+ private readonly UnityEngine.Color32 colorLightYellow = new UnityEngine.Color32(255, 255, 121, 255);
+ private readonly UnityEngine.Color32 colorDarkYellow = new UnityEngine.Color32(164, 164, 0, 255);
+ private readonly UnityEngine.Color32 colorLightOrange = new UnityEngine.Color32(255, 202, 79, 255);
+ private readonly UnityEngine.Color32 colorDarkOrange = new UnityEngine.Color32(164, 115, 0, 255);
+ private readonly UnityEngine.Color32 colorLightRed = new UnityEngine.Color32(252, 177, 162, 255);
+ private readonly UnityEngine.Color32 colorDarkRed = new UnityEngine.Color32(169, 62, 39, 255);
+ private readonly UnityEngine.Color32 colorLightGrey = new UnityEngine.Color32(75, 75, 75, 255);
+ private readonly UnityEngine.Color32 colorGreen = new UnityEngine.Color32(38, 113, 88, 255);
+ private const float radiusSphere = 0.25f;
+
+ // Calculated path info
+ private readonly AkReflectionPathInfoArray indirectPathInfoArray = new AkReflectionPathInfoArray((int)kMaxIndirectPaths);
+ private readonly AkDiffractionPathInfoArray diffractionPathInfoArray = new AkDiffractionPathInfoArray((int)kMaxDiffractionPaths);
+
+ public void DebugDrawEarlyReflections(UnityEngine.GameObject gameObject, bool firstOrder, bool secondOrder, bool higherOrder)
+ {
+ var listenerPosition = UnityEngine.Vector3.zero;
+ var emitterPosition = UnityEngine.Vector3.zero;
+ uint numValidPaths = (uint)indirectPathInfoArray.Count();
+ if (AkSoundEngine.QueryReflectionPaths(gameObject, ref listenerPosition, ref emitterPosition, indirectPathInfoArray, out numValidPaths) != AKRESULT.AK_Success)
+ return;
+
+ for (var idxPath = (int)numValidPaths - 1; idxPath >= 0; --idxPath)
+ {
+ var path = indirectPathInfoArray[idxPath];
+ var order = path.numReflections;
+
+ var colorLight = colorLightRed;
+ var colorDark = colorDarkRed;
+
+ if (order == 1)
+ {
+ if (!firstOrder)
+ continue;
+
+ colorLight = colorLightYellow;
+ colorDark = colorDarkYellow;
+ }
+ else if (order == 2)
+ {
+ if (!secondOrder)
+ continue;
+
+ colorLight = colorLightOrange;
+ colorDark = colorDarkOrange;
+ }
+ else if (order > 2 && !higherOrder)
+ continue;
+
+ var listenerPt = listenerPosition;
+
+ for (var idxSeg = (int)path.numPathPoints - 1; idxSeg >= 0; --idxSeg)
+ {
+ var pt = path.GetPathPoint((uint)idxSeg);
+
+ UnityEngine.Debug.DrawLine(listenerPt, pt, path.isOccluded ? colorLightGrey : colorLight);
+
+ UnityEngine.Gizmos.color = path.isOccluded ? colorLightGrey : colorLight;
+ UnityEngine.Gizmos.DrawWireSphere(pt, radiusSphere / 2 / order);
+
+ if (!path.isOccluded)
+ {
+ var surface = path.GetAcousticSurface((uint)idxSeg);
+ DrawLabelInFrontOfCam(pt, surface.strName, 100000, colorDark);
+ }
+
+ float dfrnAmount = path.GetDiffraction((uint)idxSeg);
+ if (dfrnAmount > 0)
+ {
+ string dfrnAmountStr = dfrnAmount.ToString("0.#%");
+ DrawLabelInFrontOfCam(pt, dfrnAmountStr, 100000, colorDark);
+ }
+
+ listenerPt = pt;
+ }
+
+ if (!path.isOccluded)
+ {
+ // Finally the last path segment towards the emitter.
+ UnityEngine.Debug.DrawLine(listenerPt, emitterPosition, path.isOccluded ? colorLightGrey : colorLight);
+ }
+ }
+ }
+
+ public void DebugDrawDiffraction(UnityEngine.GameObject gameObject)
+ {
+ var listenerPosition = UnityEngine.Vector3.zero;
+ var emitterPosition = UnityEngine.Vector3.zero;
+ uint numValidPaths = (uint)diffractionPathInfoArray.Count();
+ if (AkSoundEngine.QueryDiffractionPaths(gameObject, ref listenerPosition, ref emitterPosition, diffractionPathInfoArray, out numValidPaths) != AKRESULT.AK_Success)
+ return;
+
+ for (var idxPath = (int)numValidPaths - 1; idxPath >= 0; --idxPath)
+ {
+ var path = diffractionPathInfoArray[idxPath];
+ if (path.nodeCount <= 0)
+ continue;
+
+ var prevPt = listenerPosition;
+
+ for (var idxSeg = 0; idxSeg < (int)path.nodeCount; ++idxSeg)
+ {
+ var pt = path.GetNodes((uint)idxSeg);
+ UnityEngine.Debug.DrawLine(prevPt, pt, colorGreen);
+
+ float angle = path.GetAngles((uint)idxSeg) / UnityEngine.Mathf.PI;
+ if (angle > 0)
+ {
+ string angleStr = angle.ToString("0.#%");
+ DrawLabelInFrontOfCam(pt, angleStr, 100000, colorGreen);
+ }
+
+ prevPt = pt;
+ }
+
+ UnityEngine.Debug.DrawLine(prevPt, emitterPosition, colorGreen);
+ }
+ }
+ }
+
+ private static DebugDrawData debugDrawData = null;
+
+ private static void DrawLabelInFrontOfCam(UnityEngine.Vector3 position, string name, float distance, UnityEngine.Color c)
+ {
+ var style = new UnityEngine.GUIStyle();
+ var oncam = UnityEngine.Camera.current.WorldToScreenPoint(position);
+
+ if (oncam.x >= 0 && oncam.x <= UnityEngine.Camera.current.pixelWidth && oncam.y >= 0 &&
+ oncam.y <= UnityEngine.Camera.current.pixelHeight && oncam.z > 0 && oncam.z < distance)
+ {
+ style.normal.textColor = c;
+ UnityEditor.Handles.Label(position, name, style);
+ }
+ }
+#endif
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkSpatialAudioDebugDraw.cs.meta b/Assets/Wwise/Deployment/Components/AkSpatialAudioDebugDraw.cs.meta
new file mode 100644
index 000000000..0d01f4830
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkSpatialAudioDebugDraw.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 114c31abbe4bbf947afdba0ae901ecb0
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkSpatialAudioEmitter.cs b/Assets/Wwise/Deployment/Components/AkSpatialAudioEmitter.cs
new file mode 100644
index 000000000..927338008
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkSpatialAudioEmitter.cs
@@ -0,0 +1,210 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+[System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+///@brief (DEPRECATED) This script is deprecated as of 2019.2. Early reflections, Diffraction and Room Reverb can all be enabled per sound in the Sound Property Editor of the Authoring.
+/// @details Some functionalities were moved to different components. See the AkEarlyReflections and AkSpatialAudioDebugDraw components for more details.
+public class AkSpatialAudioEmitter : UnityEngine.MonoBehaviour
+#if UNITY_EDITOR
+ , AK.Wwise.IMigratable
+#endif
+{
+ [UnityEngine.Header("Early Reflections")]
+ [UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, the early reflections auxiliary bus can be set per sound, in the Authoring tool, or per game object, with the AkEarlyReflections component.")]
+ /// (DEPRECATED) As of 2019.2, the early reflections auxiliary bus can be set per sound, in the Authoring tool, or per game object, with the AkEarlyReflections component.
+ public AK.Wwise.AuxBus reflectAuxBus = new AK.Wwise.AuxBus();
+ [UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, the Reflection Max Path Length is set by the sound's Attenuation Max Distance value in the Authoring tool.")]
+ /// (DEPRECATED) As of 2019.2, the Reflection Max Path Length is set by the sound's Attenuation Max Distance value in the Authoring tool.
+ public float reflectionMaxPathLength = 1000;
+ [UnityEngine.Range(0, 1)]
+ [UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, the early reflections send volume can be set per sound, in the Authoring tool, or for all sunds playing on a game object, with the AkEarlyReflections component.")]
+ /// (DEPRECATED) As of 2019.2, the early reflections send volume can be set per sound, in the Authoring tool, or for all sunds playing on a game object, with the AkEarlyReflections component.
+ public float reflectionsAuxBusGain = 1;
+ [UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, the Reflection Order is set in the Spatial Audio Initialization Settings.")]
+ /// (DEPRECATED) As of 2019.2, the Reflection Order is set in the Spatial Audio Initialization Settings.
+ public uint reflectionsOrder = 1;
+
+ [UnityEngine.Header("Rooms")]
+ [UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, the Room Reverb Aux Bus Gain is set by the Game-Defined Auxiliary Sends Volume in the Sound Property Editor in the Authoring tool.")]
+ /// (DEPRECATED) As of 2019.2, the Room Reverb Aux Bus Gain is set by the Game-Defined Auxiliary Sends Volume in the Sound Property Editor in the Authoring tool.
+ public float roomReverbAuxBusGain = 1;
+
+ [UnityEngine.Header("Geometric Diffraction")]
+ [UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool.")]
+ /// (DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool.
+ public uint diffractionMaxEdges = 0;
+ [UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool.")]
+ /// (DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool.
+ public uint diffractionMaxPaths = 0;
+ [UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool.")]
+ /// (DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool.
+ public uint diffractionMaxPathLength = 0;
+
+#if UNITY_EDITOR
+ [UnityEngine.Header("Debug Draw")]
+
+ [UnityEngine.Tooltip("(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.")]
+ /// (DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.
+ public bool drawFirstOrderReflections = false;
+ [UnityEngine.Tooltip("(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.")]
+ /// (DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.
+ public bool drawSecondOrderReflections = false;
+ [UnityEngine.Tooltip("(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.")]
+ /// (DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.
+ public bool drawHigherOrderReflections = false;
+ [UnityEngine.Tooltip("(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.")]
+ /// (DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.
+ public bool drawDiffractionPaths = false;
+
+ [UnityEditor.CustomEditor(typeof(AkSpatialAudioEmitter))]
+ [UnityEditor.CanEditMultipleObjects]
+ private class Editor : UnityEditor.Editor
+ {
+ private UnityEditor.SerializedProperty reflectAuxBus;
+ private UnityEditor.SerializedProperty reflectionMaxPathLength;
+ private UnityEditor.SerializedProperty reflectionsAuxBusGain;
+ private UnityEditor.SerializedProperty reflectionsOrder;
+
+ private UnityEditor.SerializedProperty roomReverbAuxBusGain;
+
+ private UnityEditor.SerializedProperty diffractionMaxEdges;
+ private UnityEditor.SerializedProperty diffractionMaxPaths;
+ private UnityEditor.SerializedProperty diffractionMaxPathLength;
+
+ private UnityEditor.SerializedProperty drawFirstOrderReflections;
+ private UnityEditor.SerializedProperty drawSecondOrderReflections;
+ private UnityEditor.SerializedProperty drawHigherOrderReflections;
+ private UnityEditor.SerializedProperty drawDiffractionPaths;
+
+ public void OnEnable()
+ {
+ reflectAuxBus = serializedObject.FindProperty("reflectAuxBus");
+ reflectionMaxPathLength = serializedObject.FindProperty("reflectionMaxPathLength");
+ reflectionsAuxBusGain = serializedObject.FindProperty("reflectionsAuxBusGain");
+ reflectionsOrder = serializedObject.FindProperty("reflectionsOrder");
+
+ roomReverbAuxBusGain = serializedObject.FindProperty("roomReverbAuxBusGain");
+
+ diffractionMaxEdges = serializedObject.FindProperty("diffractionMaxEdges");
+ diffractionMaxPaths = serializedObject.FindProperty("diffractionMaxPaths");
+ diffractionMaxPathLength = serializedObject.FindProperty("diffractionMaxPathLength");
+
+ drawFirstOrderReflections = serializedObject.FindProperty("drawFirstOrderReflections");
+ drawSecondOrderReflections = serializedObject.FindProperty("drawSecondOrderReflections");
+ drawHigherOrderReflections = serializedObject.FindProperty("drawHigherOrderReflections");
+ drawDiffractionPaths = serializedObject.FindProperty("drawDiffractionPaths");
+ }
+
+ public override void OnInspectorGUI()
+ {
+ serializedObject.Update();
+
+ var wasEnabled = UnityEngine.GUI.enabled;
+ UnityEngine.GUI.enabled = false;
+
+ UnityEditor.EditorGUILayout.PropertyField(reflectAuxBus, new UnityEngine.GUIContent("Reflect Aux Bus", "(DEPRECATED) As of 2019.2, the early reflections auxiliary bus can be set per sound, in the Authoring tool, or per game object, with the AkEarlyReflections component."));
+ UnityEditor.EditorGUILayout.PropertyField(reflectionMaxPathLength, new UnityEngine.GUIContent("Reflection Max Path Length", "(DEPRECATED) As of 2019.2, the Reflection Max Path Length is set by the sound's Attenuation Max Distance value in the Authoring tool."));
+ UnityEditor.EditorGUILayout.PropertyField(reflectionsAuxBusGain, new UnityEngine.GUIContent("Reflections Aux Bus Gain", "(DEPRECATED) As of 2019.2, the early reflections send volume can be set per sound, in the Authoring tool, or for all sunds playing on a game object, with the AkEarlyReflections component."));
+ UnityEditor.EditorGUILayout.PropertyField(reflectionsOrder, new UnityEngine.GUIContent("Reflections Order", "(DEPRECATED) As of 2019.2, the Reflection Order is set in the Spatial Audio Initialization Settings."));
+
+ UnityEditor.EditorGUILayout.PropertyField(roomReverbAuxBusGain, new UnityEngine.GUIContent("Room Reverb Aux Bus Gain", "(DEPRECATED) As of 2019.2, the Room Reverb Aux Bus Gain is set by the Game-Defined Auxiliary Sends Volume in the Sound Property Editor in the Authoring tool."));
+
+ UnityEditor.EditorGUILayout.PropertyField(diffractionMaxEdges, new UnityEngine.GUIContent("Diffraction Max Edges", "(DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool."));
+ UnityEditor.EditorGUILayout.PropertyField(diffractionMaxPaths, new UnityEngine.GUIContent("Diffraction Max Paths", "(DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool."));
+ UnityEditor.EditorGUILayout.PropertyField(diffractionMaxPathLength, new UnityEngine.GUIContent("Diffraction Max Path Length", "(DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool."));
+
+ UnityEditor.EditorGUILayout.PropertyField(drawFirstOrderReflections, new UnityEngine.GUIContent("Draw First Order Reflections", "(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component."));
+ UnityEditor.EditorGUILayout.PropertyField(drawSecondOrderReflections, new UnityEngine.GUIContent("Draw Second Order Reflections", "(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component."));
+ UnityEditor.EditorGUILayout.PropertyField(drawHigherOrderReflections, new UnityEngine.GUIContent("Draw Higher Order Reflections", "(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component."));
+ UnityEditor.EditorGUILayout.PropertyField(drawDiffractionPaths, new UnityEngine.GUIContent("Draw Diffraction Paths", "(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component."));
+
+ UnityEngine.GUI.enabled = wasEnabled;
+
+ // button to add AkEarlyReflections
+ bool bShowButton = false;
+ foreach (var obj in targets)
+ {
+ AkSpatialAudioEmitter spatialAudioEmitter = obj as AkSpatialAudioEmitter;
+ if (spatialAudioEmitter.gameObject.GetComponent() == null)
+ bShowButton = true;
+ }
+
+ if (bShowButton)
+ {
+ UnityEngine.GUILayout.Space(UnityEditor.EditorGUIUtility.standardVerticalSpacing);
+
+ using (new UnityEditor.EditorGUILayout.VerticalScope("box"))
+ {
+ UnityEditor.EditorGUILayout.HelpBox(
+ "If you want to keep setting Early Reflections per game object, consider adding an AkEarlyReflections component.",
+ UnityEditor.MessageType.Warning);
+
+ if (UnityEngine.GUILayout.Button("Add AkEarlyReflections"))
+ {
+ foreach (var obj in targets)
+ {
+ AkSpatialAudioEmitter spatialAudioEmitter = obj as AkSpatialAudioEmitter;
+ if (spatialAudioEmitter.gameObject.GetComponent() == null)
+ {
+ var er = UnityEditor.Undo.AddComponent(spatialAudioEmitter.gameObject);
+ er.reflectionsAuxBus.ObjectReference = spatialAudioEmitter.reflectAuxBus.ObjectReference;
+ er.reflectionsVolume = spatialAudioEmitter.reflectionsAuxBusGain;
+ }
+ }
+ }
+ }
+ }
+
+ // button to add AkSpatialAudioDebugDraw
+ bShowButton = false;
+ foreach (var obj in targets)
+ {
+ AkSpatialAudioEmitter spatialAudioEmitter = obj as AkSpatialAudioEmitter;
+ if (spatialAudioEmitter.gameObject.GetComponent() == null)
+ bShowButton = true;
+ }
+
+ if (bShowButton)
+ {
+ UnityEngine.GUILayout.Space(UnityEditor.EditorGUIUtility.standardVerticalSpacing);
+
+ using (new UnityEditor.EditorGUILayout.VerticalScope("box"))
+ {
+ UnityEditor.EditorGUILayout.HelpBox(
+ "For debugging purposes, early reflection and diffraction paths can be shown in the scene with the AkSpatialAudioDebugDraw component.",
+ UnityEditor.MessageType.Warning);
+
+ if (UnityEngine.GUILayout.Button("Add AkSpatialAudioDebugDraw"))
+ {
+ foreach (var obj in targets)
+ {
+ AkSpatialAudioEmitter spatialAudioEmitter = obj as AkSpatialAudioEmitter;
+ if (spatialAudioEmitter.gameObject.GetComponent() == null)
+ {
+ var dd = UnityEditor.Undo.AddComponent(spatialAudioEmitter.gameObject);
+ dd.drawFirstOrderReflections = spatialAudioEmitter.drawFirstOrderReflections;
+ dd.drawSecondOrderReflections = spatialAudioEmitter.drawSecondOrderReflections;
+ dd.drawHigherOrderReflections = spatialAudioEmitter.drawHigherOrderReflections;
+ dd.drawDiffractionPaths = spatialAudioEmitter.drawDiffractionPaths;
+ }
+ }
+ }
+ }
+ }
+
+ serializedObject.ApplyModifiedProperties();
+ }
+ }
+
+ #region WwiseMigration
+ bool AK.Wwise.IMigratable.Migrate(UnityEditor.SerializedObject obj)
+ {
+ if (!AkUtilities.IsMigrationRequired(AkUtilities.MigrationStep.NewScriptableObjectFolder_v2019_2_0))
+ return false;
+
+ UnityEditor.Undo.AddComponent(gameObject);
+
+ return true;
+ }
+ #endregion
+#endif
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkSpatialAudioEmitter.cs.meta b/Assets/Wwise/Deployment/Components/AkSpatialAudioEmitter.cs.meta
new file mode 100644
index 000000000..af806b0e2
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkSpatialAudioEmitter.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4831e9b5c3b18c546b3d082a5519fb71
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkSpatialAudioListener.cs b/Assets/Wwise/Deployment/Components/AkSpatialAudioListener.cs
new file mode 100644
index 000000000..49dc13771
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkSpatialAudioListener.cs
@@ -0,0 +1,137 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2017 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[UnityEngine.AddComponentMenu("Wwise/AkSpatialAudioListener")]
+[UnityEngine.RequireComponent(typeof(AkAudioListener))]
+[UnityEngine.RequireComponent(typeof(AkRoomAwareObject))]
+[UnityEngine.DisallowMultipleComponent]
+///@brief Add this script on the game object that represent a listener. This is normally added to the Camera object or the Player object, but can be added to any game object when implementing 3D busses. \c isDefaultListener determines whether the game object will be considered a default listener - a listener that automatically listens to all game objects that do not have listeners attached to their AkGameObjListenerList's.
+/// \sa
+/// - Integrating Listeners (Note: This is described in the Wwise SDK documentation.)
+public class AkSpatialAudioListener : UnityEngine.MonoBehaviour
+#if UNITY_EDITOR
+ , AK.Wwise.IMigratable
+#endif
+{
+ private static AkSpatialAudioListener s_SpatialAudioListener;
+ private static readonly SpatialAudioListenerList spatialAudioListeners = new SpatialAudioListenerList();
+ private AkAudioListener AkAudioListener;
+
+ ///
+ /// Returns the "single" spatial audio listener.
+ ///
+ public static AkAudioListener TheSpatialAudioListener
+ {
+ get { return s_SpatialAudioListener != null ? s_SpatialAudioListener.AkAudioListener : null; }
+ }
+
+ ///
+ /// Returns the list of active Unity Game Objects that are designated to be spatial audio listeners.
+ ///
+ public static SpatialAudioListenerList SpatialAudioListeners
+ {
+ get { return spatialAudioListeners; }
+ }
+
+ private void Awake()
+ {
+ AkAudioListener = GetComponent();
+ }
+
+ private void OnEnable()
+ {
+ spatialAudioListeners.Add(this);
+ }
+
+ private void OnDisable()
+ {
+ spatialAudioListeners.Remove(this);
+ }
+
+ ///
+ /// This class represents the list of active Unity Game Objects that are designated to be spatial audio listeners.
+ /// Currently, only one spatial audio listener can be active at a time.
+ ///
+ public class SpatialAudioListenerList
+ {
+ private readonly System.Collections.Generic.List listenerList =
+ new System.Collections.Generic.List();
+
+ public System.Collections.Generic.List ListenerList
+ {
+ get { return listenerList; }
+ }
+
+ ///
+ /// Uniquely adds listeners to the list
+ ///
+ ///
+ ///
+ public bool Add(AkSpatialAudioListener listener)
+ {
+ if (listener == null)
+ return false;
+
+ if (listenerList.Contains(listener))
+ return false;
+
+ listenerList.Add(listener);
+ Refresh();
+ return true;
+ }
+
+ ///
+ /// Removes listeners from the list
+ ///
+ ///
+ ///
+ public bool Remove(AkSpatialAudioListener listener)
+ {
+ if (listener == null)
+ return false;
+
+ if (!listenerList.Remove(listener))
+ return false;
+
+ Refresh();
+ return true;
+ }
+
+ private void Refresh()
+ {
+ if (ListenerList.Count == 1)
+ {
+ if (s_SpatialAudioListener != null)
+ AkSoundEngine.UnregisterSpatialAudioListener(s_SpatialAudioListener.gameObject);
+
+ s_SpatialAudioListener = ListenerList[0];
+
+ AkSoundEngine.RegisterSpatialAudioListener(s_SpatialAudioListener.gameObject);
+ }
+ else if (ListenerList.Count == 0 && s_SpatialAudioListener != null)
+ {
+ AkSoundEngine.UnregisterSpatialAudioListener(s_SpatialAudioListener.gameObject);
+ s_SpatialAudioListener = null;
+ }
+ }
+ }
+
+#if UNITY_EDITOR
+ #region WwiseMigration
+ bool AK.Wwise.IMigratable.Migrate(UnityEditor.SerializedObject obj)
+ {
+ if (!AkUtilities.IsMigrationRequired(AkUtilities.MigrationStep.NewScriptableObjectFolder_v2019_2_0))
+ return false;
+
+ UnityEditor.Undo.AddComponent(gameObject);
+
+ return true;
+ }
+ #endregion
+#endif
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkSpatialAudioListener.cs.meta b/Assets/Wwise/Deployment/Components/AkSpatialAudioListener.cs.meta
new file mode 100644
index 000000000..7b5d7b8d4
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkSpatialAudioListener.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 257865e72e0784f478546aede851ca3e
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkState.cs b/Assets/Wwise/Deployment/Components/AkState.cs
new file mode 100644
index 000000000..9b1be9636
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkState.cs
@@ -0,0 +1,94 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[UnityEngine.AddComponentMenu("Wwise/AkState")]
+[UnityEngine.DefaultExecutionOrder(-20)]
+/// @brief This will call \c AkSoundEngine.SetState() whenever the selected Unity event is triggered. For example this component could be set on a Unity collider to trigger when an object enters it.
+/// \sa
+/// - Integration Details - States (Note: This is described in the Wwise SDK documentation.)
+public class AkState : AkDragDropTriggerHandler
+#if UNITY_EDITOR
+ , AK.Wwise.IMigratable
+#endif
+{
+ public AK.Wwise.State data = new AK.Wwise.State();
+ protected override AK.Wwise.BaseType WwiseType { get { return data; } }
+
+ public override void HandleEvent(UnityEngine.GameObject in_gameObject)
+ {
+ data.SetValue();
+ }
+
+ #region Obsolete
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public int valueID { get { return (int)(data == null ? AkSoundEngine.AK_INVALID_UNIQUE_ID : data.Id); } }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public int groupID { get { return (int)(data == null ? AkSoundEngine.AK_INVALID_UNIQUE_ID : data.GroupId); } }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public byte[] valueGuid
+ {
+ get
+ {
+ if (data == null)
+ return null;
+
+ var objRef = data.ObjectReference;
+ return !objRef ? null : objRef.Guid.ToByteArray();
+ }
+ }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public byte[] groupGuid
+ {
+ get
+ {
+ if (data == null)
+ return null;
+
+ var objRef = data.GroupWwiseObjectReference;
+ return !objRef ? null : objRef.Guid.ToByteArray();
+ }
+ }
+ #endregion
+
+ #region WwiseMigration
+#pragma warning disable 0414 // private field assigned but not used.
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("valueID")]
+ private int valueIdInternal;
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("groupID")]
+ private int groupIdInternal;
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("valueGuid")]
+ private byte[] valueGuidInternal;
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("groupGuid")]
+ private byte[] groupGuidInternal;
+#pragma warning restore 0414 // private field assigned but not used.
+
+#if UNITY_EDITOR
+ bool AK.Wwise.IMigratable.Migrate(UnityEditor.SerializedObject obj)
+ {
+ if (!AkUtilities.IsMigrationRequired(AkUtilities.MigrationStep.WwiseTypes_v2018_1_6))
+ return false;
+
+ return AK.Wwise.TypeMigration.ProcessDoubleGuidType(obj.FindProperty("data.WwiseObjectReference"), WwiseObjectType.State,
+ obj.FindProperty("valueGuidInternal"), obj.FindProperty("valueIdInternal"),
+ obj.FindProperty("groupGuidInternal"), obj.FindProperty("groupIdInternal"));
+ }
+#endif
+
+ #endregion
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkState.cs.meta b/Assets/Wwise/Deployment/Components/AkState.cs.meta
new file mode 100644
index 000000000..c4e42d99a
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkState.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 99b3ab61e0f25f44ba5be56f14dd716e
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkSurfaceReflector.cs b/Assets/Wwise/Deployment/Components/AkSurfaceReflector.cs
new file mode 100644
index 000000000..6b0b019ea
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkSurfaceReflector.cs
@@ -0,0 +1,454 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+[UnityEngine.AddComponentMenu("Wwise/AkSurfaceReflector")]
+[UnityEngine.ExecuteInEditMode]
+///@brief This component converts the provided mesh into Spatial Audio Geometry.
+///@details This component takes a mesh as a parameter. The triangles of the mesh are sent to Spatial Audio by calling SpatialAudio::AddGeometrySet(). The triangles reflect sounds that have an associated early reflections bus. If diffraction is enabled on this component, spatial audio also finds edges on the provided mesh, which diffract sounds that are diffraction enabled.
+public class AkSurfaceReflector : UnityEngine.MonoBehaviour
+#if UNITY_EDITOR
+ , AK.Wwise.IMigratable
+#endif
+{
+ [UnityEngine.Tooltip("The mesh to send to Spatial Audio as a Geometry Set. If this GameObject has a MeshFilter component, you can leave this parameter to None to use the same mesh for Spatial Audio. Otherwise, this parameter lets you import a different mesh for Spatial Audio purposes. We recommend using a simplified mesh.")]
+ /// The mesh to send to Spatial Audio as a Geometry Set. We recommend using a simplified mesh.
+ public UnityEngine.Mesh Mesh;
+
+ [UnityEngine.Tooltip("The acoustic texture per submesh. The acoustic texture represents the surface of the geometry. An acoustic texture is a set of absorption levels that will filter the sound reflected from the geometry.")]
+ /// The acoustic texture per submesh. The acoustic texture represents the surface of the geometry. An acoustic texture is a set of absorption levels that will filter the sound reflected from the geometry.
+ public AK.Wwise.AcousticTexture[] AcousticTextures = new AK.Wwise.AcousticTexture[1];
+
+ [UnityEngine.Tooltip("The occlusion value per submesh. The occlusion value is a control value used to adjust sound parameters. Typically, a value of 1.0 represents fully occluded, and a value of 0.0 indicates that sound can be transmitted through the geometry. Default value : 1.0.")]
+ [UnityEngine.Range(0, 1)]
+ /// The occlusion value per submesh. The occlusion value is a control value used to adjust sound parameters. Typically, a value of 1.0 represents fully occluded, and a value of 0.0 indicates that sound can be transmitted through the geometry. Default value : 1.0.
+ public float[] OcclusionValues = new[] { 1.0f };
+
+ [UnityEngine.Tooltip("Enable or disable geometric diffraction for this mesh.")]
+ /// Switch to enable or disable geometric diffraction for this mesh.
+ public bool EnableDiffraction = false;
+
+ [UnityEngine.Tooltip("Enable or disable geometric diffraction on boundary edges for this mesh. Boundary edges are edges that are connected to only one triangle.")]
+ /// Switch to enable or disable geometric diffraction on boundary edges for this mesh. Boundary edges are edges that are connected to only one triangle.
+ public bool EnableDiffractionOnBoundaryEdges = false;
+
+ [UnityEngine.Tooltip("Optional room with which this surface reflector is associated. It is recommended to associate geometry with a particular room if the geometry is fully contained within the room and the room does not share any geometry with any other rooms. Doing so reduces the search space for ray casting performed by reflection and diffraction calculations.")]
+ /// Optional room with which this surface reflector is associated. It is recommended to associate geometry with a particular room if the geometry is fully contained within the room and the room does not share any geometry with any other rooms. Doing so reduces the search space for ray casting performed by reflection and diffraction calculations.
+ public AkRoom AssociatedRoom = null;
+
+ private ulong GetID()
+ {
+ return (ulong)GetInstanceID();
+ }
+
+ private static void SetGeometryFromMesh(
+ UnityEngine.Mesh mesh,
+ AK.Wwise.AcousticTexture[] acousticTextures,
+ float[] occlusionValues,
+ UnityEngine.Transform transform,
+ ulong geometryID,
+ ulong associatedRoomID,
+ bool enableDiffraction,
+ bool enableDiffractionOnBoundaryEdges,
+ string name = "")
+ {
+ var vertices = mesh.vertices;
+
+ // Remove duplicate vertices
+ var vertRemap = new int[vertices.Length];
+ var uniqueVerts = new System.Collections.Generic.List();
+ var vertDict = new System.Collections.Generic.Dictionary();
+
+ for (var v = 0; v < vertices.Length; ++v)
+ {
+ int vertIdx = 0;
+ if (!vertDict.TryGetValue(vertices[v], out vertIdx))
+ {
+ vertIdx = uniqueVerts.Count;
+ uniqueVerts.Add(vertices[v]);
+ vertDict.Add(vertices[v], vertIdx);
+ }
+ vertRemap[v] = vertIdx;
+ }
+
+ int vertexCount = uniqueVerts.Count;
+ var vertexArray = new UnityEngine.Vector3[vertexCount];
+
+ for (var v = 0; v < vertexCount; ++v)
+ {
+ var point = transform.TransformPoint(uniqueVerts[v]);
+ vertexArray[v].x = point.x;
+ vertexArray[v].y = point.y;
+ vertexArray[v].z = point.z;
+ }
+
+ int surfaceCount = mesh.subMeshCount;
+
+ var numTriangles = mesh.triangles.Length / 3;
+ if ((mesh.triangles.Length % 3) != 0)
+ {
+ UnityEngine.Debug.LogFormat("SetGeometryFromMesh({0}): Wrong number of triangles", mesh.name);
+ }
+
+ using (var surfaceArray = new AkAcousticSurfaceArray(surfaceCount))
+ using (var triangleArray = new AkTriangleArray(numTriangles))
+ {
+ int triangleArrayIdx = 0;
+
+ for (var s = 0; s < surfaceCount; ++s)
+ {
+ var surface = surfaceArray[s];
+ var triangles = mesh.GetTriangles(s);
+ var triangleCount = triangles.Length / 3;
+ if ((triangles.Length % 3) != 0)
+ {
+ UnityEngine.Debug.LogFormat("SetGeometryFromMesh({0}): Wrong number of triangles in submesh {1}", mesh.name, s);
+ }
+
+ AK.Wwise.AcousticTexture acousticTexture = null;
+ float occlusionValue = 1.0f;
+
+ if (s < acousticTextures.Length)
+ acousticTexture = acousticTextures[s];
+
+ if (s < occlusionValues.Length)
+ occlusionValue = occlusionValues[s];
+
+ surface.textureID = acousticTexture == null ? AK.Wwise.AcousticTexture.InvalidId : acousticTexture.Id;
+ surface.occlusion = occlusionValue;
+ surface.strName = name + "_" + mesh.name + "_" + s;
+
+ for (var i = 0; i < triangleCount; ++i)
+ {
+ var triangle = triangleArray[triangleArrayIdx];
+
+ triangle.point0 = (ushort)vertRemap[triangles[3 * i + 0]];
+ triangle.point1 = (ushort)vertRemap[triangles[3 * i + 1]];
+ triangle.point2 = (ushort)vertRemap[triangles[3 * i + 2]];
+ triangle.surface = (ushort)s;
+
+ if (triangle.point0 != triangle.point1 && triangle.point0 != triangle.point2 && triangle.point1 != triangle.point2)
+ {
+ ++triangleArrayIdx;
+ }
+ else
+ {
+ UnityEngine.Debug.LogFormat("SetGeometryFromMesh({0}): Skipped degenerate triangle({1}, {2}, {3}) in submesh {4}", mesh.name, 3 * i + 0, 3 * i + 1, 3 * i + 2, s);
+ }
+ }
+ }
+
+ if (triangleArrayIdx > 0)
+ {
+ AkSoundEngine.SetGeometry(
+ geometryID,
+ triangleArray,
+ (uint)triangleArrayIdx,
+ vertexArray,
+ (uint)vertexArray.Length,
+ surfaceArray,
+ (uint)surfaceArray.Count(),
+ associatedRoomID,
+ enableDiffraction,
+ enableDiffractionOnBoundaryEdges);
+ }
+ else
+ {
+ UnityEngine.Debug.LogFormat("SetGeometry({0}): No valid triangle was found. Geometry was not set", mesh.name);
+ }
+ }
+ }
+
+ public void SetAssociatedRoom(AkRoom room)
+ {
+ if (AssociatedRoom != room)
+ {
+ AssociatedRoom = room;
+ UpdateGeometry();
+ if (AssociatedRoom != null)
+ AkRoomManager.RegisterReflector(this);
+ else
+ AkRoomManager.UnregisterReflector(this);
+ }
+ }
+
+ ///
+ /// Sends the mesh's triangles and their acoustic texture to Spatial Audio
+ ///
+ public void SetGeometry()
+ {
+ if (!AkSoundEngine.IsInitialized())
+ return;
+
+ if (Mesh == null)
+ {
+ UnityEngine.Debug.LogFormat("SetGeometry({0}): No mesh found!", gameObject.name);
+ return;
+ }
+
+
+ SetGeometryFromMesh(
+ Mesh,
+ AcousticTextures,
+ OcclusionValues,
+ transform,
+ GetID(),
+ AkRoom.GetAkRoomID(AssociatedRoom && AssociatedRoom.enabled ? AssociatedRoom : null),
+ EnableDiffraction,
+ EnableDiffractionOnBoundaryEdges,
+ name);
+ }
+
+ ///
+ /// Update the surface reflector's geometry in Spatial Audio.
+ ///
+ public void UpdateGeometry()
+ {
+ RemoveGeometry();
+ SetGeometry();
+ }
+
+ ///
+ /// Remove the surface reflector's geometry from Spatial Audio.
+ ///
+ public void RemoveGeometry()
+ {
+ AkSoundEngine.RemoveGeometry(GetID());
+ }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+ public static void RemoveGeometrySet(UnityEngine.MeshFilter meshFilter)
+ {
+ if (meshFilter != null)
+ AkSoundEngine.RemoveGeometry(GetAkGeometrySetID(meshFilter));
+ }
+
+ private void Awake()
+ {
+#if UNITY_EDITOR
+ if (UnityEditor.BuildPipeline.isBuildingPlayer || AkUtilities.IsMigrating)
+ return;
+
+ var reference = AkUtilities.DragAndDropObjectReference;
+ if (reference)
+ {
+ UnityEngine.GUIUtility.hotControl = 0;
+
+ if (AcousticTextures == null || AcousticTextures.Length < 1)
+ AcousticTextures = new AK.Wwise.AcousticTexture[1];
+
+ if (AcousticTextures[0] == null)
+ AcousticTextures[0] = new AK.Wwise.AcousticTexture();
+
+ AcousticTextures[0].ObjectReference = reference;
+ }
+
+ if (!UnityEditor.EditorApplication.isPlaying)
+ return;
+#endif
+
+ if (Mesh == null)
+ {
+ var meshFilter = GetComponent();
+ if (meshFilter != null)
+ Mesh = meshFilter.sharedMesh;
+ }
+ }
+
+ private void OnEnable()
+ {
+#if UNITY_EDITOR
+ if (UnityEditor.BuildPipeline.isBuildingPlayer || AkUtilities.IsMigrating || !UnityEditor.EditorApplication.isPlaying)
+ return;
+#endif
+
+ SetGeometry();
+ if (AssociatedRoom != null)
+ AkRoomManager.RegisterReflector(this);
+ }
+
+ private void OnDisable()
+ {
+#if UNITY_EDITOR
+ if (UnityEditor.BuildPipeline.isBuildingPlayer || AkUtilities.IsMigrating || !UnityEditor.EditorApplication.isPlaying)
+ return;
+#endif
+
+ RemoveGeometry();
+ AkRoomManager.UnregisterReflector(this);
+ }
+
+#if UNITY_EDITOR
+ [UnityEditor.CustomEditor(typeof(AkSurfaceReflector))]
+ [UnityEditor.CanEditMultipleObjects]
+ private class Editor : UnityEditor.Editor
+ {
+ private AkSurfaceReflector m_AkSurfaceReflector;
+
+ private UnityEditor.SerializedProperty Mesh;
+ private UnityEditor.SerializedProperty AcousticTextures;
+ private UnityEditor.SerializedProperty OcclusionValues;
+ private UnityEditor.SerializedProperty EnableDiffraction;
+ private UnityEditor.SerializedProperty EnableDiffractionOnBoundaryEdges;
+ private UnityEditor.SerializedProperty AssociatedRoom;
+
+ public void OnEnable()
+ {
+ m_AkSurfaceReflector = target as AkSurfaceReflector;
+
+ Mesh = serializedObject.FindProperty("Mesh");
+ AcousticTextures = serializedObject.FindProperty("AcousticTextures");
+ OcclusionValues = serializedObject.FindProperty("OcclusionValues");
+ EnableDiffraction = serializedObject.FindProperty("EnableDiffraction");
+ EnableDiffractionOnBoundaryEdges = serializedObject.FindProperty("EnableDiffractionOnBoundaryEdges");
+ AssociatedRoom = serializedObject.FindProperty("AssociatedRoom");
+ }
+
+ public override void OnInspectorGUI()
+ {
+ serializedObject.Update();
+
+ UnityEditor.EditorGUILayout.PropertyField(Mesh);
+
+ UnityEditor.EditorGUILayout.PropertyField(AcousticTextures, true);
+ CheckArraySize(m_AkSurfaceReflector, m_AkSurfaceReflector.AcousticTextures.Length, "acoustic textures");
+
+ UnityEditor.EditorGUILayout.PropertyField(OcclusionValues, true);
+ CheckArraySize(m_AkSurfaceReflector, m_AkSurfaceReflector.OcclusionValues.Length, "occlusion values");
+
+ UnityEditor.EditorGUILayout.PropertyField(EnableDiffraction);
+ if (EnableDiffraction.boolValue)
+ UnityEditor.EditorGUILayout.PropertyField(EnableDiffractionOnBoundaryEdges);
+
+ UnityEditor.EditorGUILayout.PropertyField(AssociatedRoom);
+
+ serializedObject.ApplyModifiedProperties();
+ }
+
+ public static void CheckArraySize(AkSurfaceReflector surfaceReflector, int length, string name)
+ {
+ if (surfaceReflector != null && surfaceReflector.Mesh != null)
+ {
+ int maxSize = surfaceReflector.Mesh.subMeshCount;
+
+ if (length > maxSize)
+ {
+ UnityEngine.GUILayout.Space(UnityEditor.EditorGUIUtility.standardVerticalSpacing);
+
+ using (new UnityEditor.EditorGUILayout.VerticalScope("box"))
+ {
+ UnityEditor.EditorGUILayout.HelpBox(
+ "There are more " + name + " than the Mesh has submeshes. Additional ones will be ignored.",
+ UnityEditor.MessageType.Warning);
+ }
+ }
+ }
+ }
+ }
+#endif
+
+ #region Obsolete
+ [System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+ public static ulong GetAkGeometrySetID(UnityEngine.MeshFilter meshFilter)
+ {
+ return (ulong)meshFilter.GetInstanceID();
+ }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+ public static void AddGeometrySet(AK.Wwise.AcousticTexture acousticTexture, UnityEngine.MeshFilter meshFilter, ulong roomID, bool enableDiffraction, bool enableDiffractionOnBoundaryEdges)
+ {
+ if (!AkSoundEngine.IsInitialized())
+ return;
+
+ if (meshFilter == null)
+ {
+ UnityEngine.Debug.LogFormat("AddGeometrySet: No mesh found!");
+ return;
+ }
+
+ var AcousticTextures = new[] { acousticTexture };
+
+ var OcclusionValues = new[] { 1.0f };
+
+ SetGeometryFromMesh(
+ meshFilter.sharedMesh,
+ AcousticTextures,
+ OcclusionValues,
+ meshFilter.transform,
+ GetAkGeometrySetID(meshFilter),
+ roomID,
+ enableDiffraction,
+ enableDiffractionOnBoundaryEdges,
+ meshFilter.name);
+ }
+
+ // for migration purpose, have a single acoustic texture parameter as a setter
+ [System.Obsolete(AkSoundEngine.Deprecation_2019_2_0)]
+ public AK.Wwise.AcousticTexture AcousticTexture
+ {
+ get
+ {
+ return (AcousticTextures == null || AcousticTextures.Length < 1) ? null : AcousticTextures[0];
+ }
+ set
+ {
+ var numAcousticTextures = (Mesh == null) ? 1 : Mesh.subMeshCount;
+ if (AcousticTextures == null || AcousticTextures.Length < numAcousticTextures)
+ AcousticTextures = new AK.Wwise.AcousticTexture[numAcousticTextures];
+
+ for (int i = 0; i < numAcousticTextures; ++i)
+ AcousticTextures[i] = new AK.Wwise.AcousticTexture { WwiseObjectReference = value != null ? value.WwiseObjectReference : null };
+ }
+ }
+ #endregion
+
+ #region WwiseMigration
+#pragma warning disable 0414 // private field assigned but not used.
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("AcousticTexture")]
+ private AK.Wwise.AcousticTexture AcousticTextureInternal = new AK.Wwise.AcousticTexture();
+#pragma warning restore 0414 // private field assigned but not used.
+
+#if UNITY_EDITOR
+ bool AK.Wwise.IMigratable.Migrate(UnityEditor.SerializedObject obj)
+ {
+ if (!AkUtilities.IsMigrationRequired(AkUtilities.MigrationStep.NewScriptableObjectFolder_v2019_2_0))
+ return false;
+
+ var hasChanged = false;
+
+ var numAcousticTextures = 1;
+ var meshProperty = obj.FindProperty("Mesh");
+ if (meshProperty != null)
+ {
+ var meshFilter = GetComponent();
+ if (meshFilter)
+ {
+ var sharedMesh = meshFilter.sharedMesh;
+ if (sharedMesh)
+ {
+ hasChanged = true;
+ meshProperty.objectReferenceValue = sharedMesh;
+ numAcousticTextures = sharedMesh.subMeshCount;
+ }
+ }
+ }
+
+ var oldwwiseObjRefProperty = obj.FindProperty("AcousticTextureInternal.WwiseObjectReference");
+ if (oldwwiseObjRefProperty != null)
+ {
+ var objectReferenceValue = oldwwiseObjRefProperty.objectReferenceValue;
+ if (objectReferenceValue != null)
+ {
+ hasChanged = true;
+ var acousticTextures = obj.FindProperty("AcousticTextures");
+ acousticTextures.arraySize = numAcousticTextures;
+ for (int i = 0; i < numAcousticTextures; ++i)
+ acousticTextures.GetArrayElementAtIndex(i).FindPropertyRelative("WwiseObjectReference").objectReferenceValue = objectReferenceValue;
+ }
+ }
+
+ return hasChanged;
+ }
+#endif
+ #endregion
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkSurfaceReflector.cs.meta b/Assets/Wwise/Deployment/Components/AkSurfaceReflector.cs.meta
new file mode 100644
index 000000000..f199b695e
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkSurfaceReflector.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: a3745e74c894cf44ab1f5e3fc85eea54
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkSwitch.cs b/Assets/Wwise/Deployment/Components/AkSwitch.cs
new file mode 100644
index 000000000..71d78cade
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkSwitch.cs
@@ -0,0 +1,94 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[UnityEngine.AddComponentMenu("Wwise/AkSwitch")]
+[UnityEngine.DefaultExecutionOrder(-10)]
+/// @brief This will call AkSoundEngine.SetSwitch() whenever the selected Unity event is triggered. For example, this component could be set on a Unity collider to trigger when an object enters it.
+/// \sa
+/// - Integration Details - Switches (Note: This is described in the Wwise SDK documentation.)
+public class AkSwitch : AkDragDropTriggerHandler
+#if UNITY_EDITOR
+ , AK.Wwise.IMigratable
+#endif
+{
+ public AK.Wwise.Switch data = new AK.Wwise.Switch();
+ protected override AK.Wwise.BaseType WwiseType { get { return data; } }
+
+ public override void HandleEvent(UnityEngine.GameObject in_gameObject)
+ {
+ data.SetValue(useOtherObject && in_gameObject != null ? in_gameObject : gameObject);
+ }
+
+ #region Obsolete
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public int valueID { get { return (int)(data == null ? AkSoundEngine.AK_INVALID_UNIQUE_ID : data.Id); } }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public int groupID { get { return (int)(data == null ? AkSoundEngine.AK_INVALID_UNIQUE_ID : data.GroupId); } }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public byte[] valueGuid
+ {
+ get
+ {
+ if (data == null)
+ return null;
+
+ var objRef = data.ObjectReference;
+ return !objRef ? null : objRef.Guid.ToByteArray();
+ }
+ }
+
+ [System.Obsolete(AkSoundEngine.Deprecation_2018_1_6)]
+ public byte[] groupGuid
+ {
+ get
+ {
+ if (data == null)
+ return null;
+
+ var objRef = data.GroupWwiseObjectReference;
+ return !objRef ? null : objRef.Guid.ToByteArray();
+ }
+ }
+ #endregion
+
+ #region WwiseMigration
+#pragma warning disable 0414 // private field assigned but not used.
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("valueID")]
+ private int valueIdInternal = (int)AkSoundEngine.AK_INVALID_UNIQUE_ID;
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("groupID")]
+ private int groupIdInternal = (int)AkSoundEngine.AK_INVALID_UNIQUE_ID;
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("valueGuid")]
+ private byte[] valueGuidInternal;
+ [UnityEngine.HideInInspector]
+ [UnityEngine.SerializeField]
+ [UnityEngine.Serialization.FormerlySerializedAs("groupGuid")]
+ private byte[] groupGuidInternal;
+#pragma warning restore 0414 // private field assigned but not used.
+
+#if UNITY_EDITOR
+ bool AK.Wwise.IMigratable.Migrate(UnityEditor.SerializedObject obj)
+ {
+ if (!AkUtilities.IsMigrationRequired(AkUtilities.MigrationStep.WwiseTypes_v2018_1_6))
+ return false;
+
+ return AK.Wwise.TypeMigration.ProcessDoubleGuidType(obj.FindProperty("data.WwiseObjectReference"), WwiseObjectType.Switch,
+ obj.FindProperty("valueGuidInternal"), obj.FindProperty("valueIdInternal"),
+ obj.FindProperty("groupGuidInternal"), obj.FindProperty("groupIdInternal"));
+ }
+#endif
+
+ #endregion
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkSwitch.cs.meta b/Assets/Wwise/Deployment/Components/AkSwitch.cs.meta
new file mode 100644
index 000000000..9c2e8ea05
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkSwitch.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 94aa552a2efec3b43b78b28416c7a91c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkTerminator.cs b/Assets/Wwise/Deployment/Components/AkTerminator.cs
new file mode 100644
index 000000000..e4820aa3a
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTerminator.cs
@@ -0,0 +1,12 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2012 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[UnityEngine.DisallowMultipleComponent]
+public class AkTerminator : UnityEngine.MonoBehaviour
+{
+}
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkTerminator.cs.meta b/Assets/Wwise/Deployment/Components/AkTerminator.cs.meta
new file mode 100644
index 000000000..f97709839
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTerminator.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 7f59ececaab17294eb4b3fa30426bc72
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkTriggerBase.cs b/Assets/Wwise/Deployment/Components/AkTriggerBase.cs
new file mode 100644
index 000000000..f752dec49
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTriggerBase.cs
@@ -0,0 +1,62 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+/// @brief Base class for the generic triggering mechanism for Wwise Integration.
+/// All Wwise components will use this mechanism to drive their behavior.
+/// Derive from this class to add your own triggering condition, as described in \ref unity_add_triggers
+public abstract class AkTriggerBase : UnityEngine.MonoBehaviour
+{
+ /// Delegate declaration for all Wwise Triggers.
+ public delegate void Trigger(
+ UnityEngine.GameObject in_gameObject ///< in_gameObject is used to pass "Collidee" objects when Colliders are used. Some components have the option "Use other object", this is the object they'll use.
+ );
+
+ /// All components reacting to the trigger will be registered in this delegate.
+ public Trigger triggerDelegate = null;
+
+ public static System.Collections.Generic.Dictionary GetAllDerivedTypes()
+ {
+ var derivedTypes = new System.Collections.Generic.Dictionary();
+
+ var baseType = typeof(AkTriggerBase);
+
+#if UNITY_WSA && !UNITY_EDITOR
+ var baseTypeInfo = System.Reflection.IntrospectionExtensions.GetTypeInfo(baseType);
+ var typeInfos = baseTypeInfo.Assembly.DefinedTypes;
+
+ foreach (var typeInfo in typeInfos)
+ {
+ if (typeInfo.IsClass && (typeInfo.IsSubclassOf(baseType) || baseTypeInfo.IsAssignableFrom(typeInfo) && baseType != typeInfo.AsType()))
+ {
+ var typeName = typeInfo.Name;
+ derivedTypes.Add(AkUtilities.ShortIDGenerator.Compute(typeName), typeName);
+ }
+ }
+#else
+ var types = baseType.Assembly.GetTypes();
+
+ for (var i = 0; i < types.Length; i++)
+ {
+ if (types[i].IsClass &&
+ (types[i].IsSubclassOf(baseType) || baseType.IsAssignableFrom(types[i]) && baseType != types[i]))
+ {
+ var typeName = types[i].Name;
+ derivedTypes.Add(AkUtilities.ShortIDGenerator.Compute(typeName), typeName);
+ }
+ }
+#endif
+
+ //Add the Awake, Start and Destroy triggers and build the displayed list.
+ derivedTypes.Add(AkUtilities.ShortIDGenerator.Compute("Awake"), "Awake");
+ derivedTypes.Add(AkUtilities.ShortIDGenerator.Compute("Start"), "Start");
+ derivedTypes.Add(AkUtilities.ShortIDGenerator.Compute("Destroy"), "Destroy");
+
+ return derivedTypes;
+ }
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkTriggerBase.cs.meta b/Assets/Wwise/Deployment/Components/AkTriggerBase.cs.meta
new file mode 100644
index 000000000..5dd4be7fa
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTriggerBase.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 419c445312767f04da6b3c5212a07418
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkTriggerCollisionEnter.cs b/Assets/Wwise/Deployment/Components/AkTriggerCollisionEnter.cs
new file mode 100644
index 000000000..ae7ee94cc
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTriggerCollisionEnter.cs
@@ -0,0 +1,24 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+public class AkTriggerCollisionEnter : AkTriggerBase
+{
+ public UnityEngine.GameObject triggerObject = null;
+
+ private void OnCollisionEnter(UnityEngine.Collision in_other)
+ {
+ if (triggerDelegate != null && (triggerObject == null || triggerObject == in_other.gameObject))
+ triggerDelegate(in_other.gameObject);
+ }
+
+ private void OnTriggerEnter(UnityEngine.Collider in_other)
+ {
+ if (triggerDelegate != null && (triggerObject == null || triggerObject == in_other.gameObject))
+ triggerDelegate(in_other.gameObject);
+ }
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkTriggerCollisionEnter.cs.meta b/Assets/Wwise/Deployment/Components/AkTriggerCollisionEnter.cs.meta
new file mode 100644
index 000000000..944a01b70
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTriggerCollisionEnter.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 7019647fb669bac48a729fd8c3342149
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkTriggerCollisionExit.cs b/Assets/Wwise/Deployment/Components/AkTriggerCollisionExit.cs
new file mode 100644
index 000000000..9507313b2
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTriggerCollisionExit.cs
@@ -0,0 +1,18 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+public class AkTriggerCollisionExit : AkTriggerBase
+{
+ public UnityEngine.GameObject triggerObject = null;
+
+ private void OnCollisionExit(UnityEngine.Collision in_other)
+ {
+ if (triggerDelegate != null && (triggerObject == null || triggerObject == in_other.gameObject))
+ triggerDelegate(in_other.gameObject);
+ }
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkTriggerCollisionExit.cs.meta b/Assets/Wwise/Deployment/Components/AkTriggerCollisionExit.cs.meta
new file mode 100644
index 000000000..3ec2bacf4
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTriggerCollisionExit.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 7855505801e40e64491a687fe5a90939
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkTriggerDisable.cs b/Assets/Wwise/Deployment/Components/AkTriggerDisable.cs
new file mode 100644
index 000000000..03ea3c674
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTriggerDisable.cs
@@ -0,0 +1,17 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public class AkTriggerDisable : AkTriggerBase
+{
+ private void OnDisable()
+ {
+ if (triggerDelegate != null)
+ triggerDelegate(null);
+ }
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkTriggerDisable.cs.meta b/Assets/Wwise/Deployment/Components/AkTriggerDisable.cs.meta
new file mode 100644
index 000000000..8c6d181ca
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTriggerDisable.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 207e43f79e918e047b626dda69d96646
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkTriggerEnable.cs b/Assets/Wwise/Deployment/Components/AkTriggerEnable.cs
new file mode 100644
index 000000000..79e35289e
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTriggerEnable.cs
@@ -0,0 +1,13 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+[System.Obsolete(AkSoundEngine.Deprecation_2019_2_2)]
+public class AkTriggerEnable : AkTriggerBase
+{
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkTriggerEnable.cs.meta b/Assets/Wwise/Deployment/Components/AkTriggerEnable.cs.meta
new file mode 100644
index 000000000..9346e018a
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTriggerEnable.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: ec1821531aa54b54b8d70bb45100ecca
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkTriggerEnter.cs b/Assets/Wwise/Deployment/Components/AkTriggerEnter.cs
new file mode 100644
index 000000000..b9baacd15
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTriggerEnter.cs
@@ -0,0 +1,18 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+public class AkTriggerEnter : AkTriggerBase
+{
+ public UnityEngine.GameObject triggerObject = null;
+
+ private void OnTriggerEnter(UnityEngine.Collider in_other)
+ {
+ if (triggerDelegate != null && (triggerObject == null || triggerObject == in_other.gameObject))
+ triggerDelegate(in_other.gameObject);
+ }
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkTriggerEnter.cs.meta b/Assets/Wwise/Deployment/Components/AkTriggerEnter.cs.meta
new file mode 100644
index 000000000..ef4c2153a
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTriggerEnter.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 996ff7da7303c51408d093f0adc26418
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkTriggerExit.cs b/Assets/Wwise/Deployment/Components/AkTriggerExit.cs
new file mode 100644
index 000000000..5c56842ae
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTriggerExit.cs
@@ -0,0 +1,18 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+public class AkTriggerExit : AkTriggerBase
+{
+ public UnityEngine.GameObject triggerObject = null;
+
+ private void OnTriggerExit(UnityEngine.Collider in_other)
+ {
+ if (triggerDelegate != null && (triggerObject == null || triggerObject == in_other.gameObject))
+ triggerDelegate(in_other.gameObject);
+ }
+}
+
+#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
\ No newline at end of file
diff --git a/Assets/Wwise/Deployment/Components/AkTriggerExit.cs.meta b/Assets/Wwise/Deployment/Components/AkTriggerExit.cs.meta
new file mode 100644
index 000000000..aca91d09a
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTriggerExit.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b20ad1e45ce31a6449e1ed7c57631d8c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Wwise/Deployment/Components/AkTriggerHandler.cs b/Assets/Wwise/Deployment/Components/AkTriggerHandler.cs
new file mode 100644
index 000000000..c2fe3071d
--- /dev/null
+++ b/Assets/Wwise/Deployment/Components/AkTriggerHandler.cs
@@ -0,0 +1,176 @@
+#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
+//////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
+//
+//////////////////////////////////////////////////////////////////////
+
+public abstract class AkTriggerHandler : UnityEngine.MonoBehaviour
+{
+ public const int AWAKE_TRIGGER_ID = 1151176110;
+ public const int START_TRIGGER_ID = 1281810935;
+ public const int DESTROY_TRIGGER_ID = unchecked((int)3936390293);
+ public const int ON_ENABLE_TRIGGER_ID = -320808462;
+
+ ///Since our mask is a 32 bits integer, we can't have more than 32 triggers
+ public const int MAX_NB_TRIGGERS = 32;
+
+ ///Will contain the types of all the triggers derived from AkTriggerBase at runtime
+ public static System.Collections.Generic.Dictionary triggerTypes = AkTriggerBase.GetAllDerivedTypes();
+
+ private bool didDestroy;
+
+ ///List containing the enabled triggers.
+ public System.Collections.Generic.List triggerList = new System.Collections.Generic.List { START_TRIGGER_ID };
+
+ ///This property is usefull only when used with colliders. When enabled, the target of the action will be the other colliding object. When disabled, it will be the current object.
+ public bool useOtherObject = false;
+
+ public abstract void HandleEvent(UnityEngine.GameObject in_gameObject);
+
+ protected virtual void Awake()
+ {
+ RegisterTriggers(triggerList, HandleEvent);
+ }
+
+ protected virtual void Start()
+ {
+#if UNITY_EDITOR
+ if (UnityEditor.BuildPipeline.isBuildingPlayer || AkUtilities.IsMigrating)
+ return;
+#endif
+
+ if (triggerList.Contains(START_TRIGGER_ID))
+ HandleEvent(null);
+ }
+
+ protected virtual void OnDestroy()
+ {
+ if (!didDestroy)
+ DoDestroy();
+ }
+
+ public void DoDestroy()
+ {
+ UnregisterTriggers(triggerList, HandleEvent);
+ didDestroy = true;
+ }
+
+ protected void RegisterTriggers(System.Collections.Generic.List in_triggerList, AkTriggerBase.Trigger in_delegate)
+ {
+#if UNITY_EDITOR
+ if (UnityEditor.BuildPipeline.isBuildingPlayer || AkUtilities.IsMigrating)
+ return;
+#endif
+
+ foreach (uint triggerID in in_triggerList)
+ {
+ switch (triggerID)
+ {
+ case AWAKE_TRIGGER_ID:
+ case START_TRIGGER_ID:
+ case unchecked((uint)DESTROY_TRIGGER_ID):
+ case unchecked((uint)ON_ENABLE_TRIGGER_ID):
+ continue;
+ }
+
+ var triggerName = string.Empty;
+ if (triggerTypes.TryGetValue(triggerID, out triggerName))
+ {
+ var trigger = (AkTriggerBase)GetComponent(System.Type.GetType(triggerName));
+ if (trigger == null)
+ trigger = (AkTriggerBase)gameObject.AddComponent(System.Type.GetType(triggerName));
+ trigger.triggerDelegate += in_delegate;
+ }
+ }
+
+ if (in_triggerList.Contains(AWAKE_TRIGGER_ID))
+ in_delegate(null);
+
+ if (in_triggerList.Contains(ON_ENABLE_TRIGGER_ID))
+ in_delegate(null);
+ }
+
+ protected void UnregisterTriggers(System.Collections.Generic.List