aboutsummaryrefslogtreecommitdiffstats
path: root/al/listener.h
diff options
context:
space:
mode:
Diffstat (limited to 'al/listener.h')
-rw-r--r--al/listener.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/al/listener.h b/al/listener.h
index e30f45c3..5f3ce3ec 100644
--- a/al/listener.h
+++ b/al/listener.h
@@ -9,23 +9,7 @@
#include "AL/efx.h"
#include "almalloc.h"
-#include "vecmat.h"
-enum class DistanceModel;
-
-
-struct ALlistenerProps {
- std::array<float,3> Position;
- std::array<float,3> Velocity;
- std::array<float,3> OrientAt;
- std::array<float,3> OrientUp;
- float Gain;
- float MetersPerUnit;
-
- std::atomic<ALlistenerProps*> next;
-
- DEF_NEWDEL(ALlistenerProps)
-};
struct ALlistener {
std::array<float,3> Position{{0.0f, 0.0f, 0.0f}};
@@ -37,25 +21,6 @@ struct ALlistener {
std::atomic_flag PropsClean;
- struct {
- /* Pointer to the most recent property values that are awaiting an
- * update.
- */
- std::atomic<ALlistenerProps*> Update{nullptr};
-
- alu::Matrix Matrix;
- alu::Vector Velocity;
-
- float Gain;
- float MetersPerUnit;
-
- float DopplerFactor;
- float SpeedOfSound; /* in units per sec! */
-
- bool SourceDistanceModel;
- DistanceModel mDistanceModel;
- } Params;
-
ALlistener() { PropsClean.test_and_set(std::memory_order_relaxed); }
DISABLE_ALLOC()