aboutsummaryrefslogtreecommitdiffstats
path: root/alc/device.h
diff options
context:
space:
mode:
authorBoris I. Bendovsky <bibendovsky@hotmail.com>2022-01-30 14:47:32 +0200
committerGitHub <noreply@github.com>2022-01-30 04:47:32 -0800
commit19ed994dc30ed84ea7cbbb5152577669fc25caf6 (patch)
treef68933bf8f778806618bd6c0b1bf9ced1b0ccf08 /alc/device.h
parent619249371a40f03cf988d1f5750d643df797c485 (diff)
Add EAX extensions (EAX 2.0-5.0, X-RAM) (#632)
* Add EAX extensions (EAX 2.0-5.0, X-RAM) * Comment out C++17 leftovers * Remove everything related to patching * Update alsoftrc.sample * Rewrite integration * Fix GCC compilation under Linux * Always reset EAX effect properties when loading it into FX slot
Diffstat (limited to 'alc/device.h')
-rw-r--r--alc/device.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/alc/device.h b/alc/device.h
index 4798d422..e4eb76ea 100644
--- a/alc/device.h
+++ b/alc/device.h
@@ -18,6 +18,10 @@
#include "intrusive_ptr.h"
#include "vector.h"
+#if ALSOFT_EAX
+#include "al/eax_x_ram.h"
+#endif // ALSOFT_EAX
+
struct ALbuffer;
struct ALeffect;
struct ALfilter;
@@ -106,6 +110,10 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice>, DeviceBase {
std::mutex FilterLock;
al::vector<FilterSubList> FilterList;
+#if ALSOFT_EAX
+ ALsizei eax_x_ram_free_size{eax_x_ram_max_size};
+#endif // ALSOFT_EAX
+
ALCdevice(DeviceType type);
~ALCdevice();