aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ambdec.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-28 18:56:04 -0700
committerChris Robinson <[email protected]>2019-07-28 18:56:04 -0700
commitcb3e96e75640730b9391f0d2d922eecd9ee2ce79 (patch)
tree23520551bddb2a80354e44da47f54201fdc084f0 /Alc/ambdec.h
parent93e60919c8f387c36c267ca9faa1ac653254aea6 (diff)
Rename Alc to alc
Diffstat (limited to 'Alc/ambdec.h')
-rw-r--r--Alc/ambdec.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/Alc/ambdec.h b/Alc/ambdec.h
deleted file mode 100644
index ff7b71ee..00000000
--- a/Alc/ambdec.h
+++ /dev/null
@@ -1,48 +0,0 @@
-#ifndef AMBDEC_H
-#define AMBDEC_H
-
-#include <array>
-#include <string>
-
-#include "ambidefs.h"
-#include "vector.h"
-
-/* Helpers to read .ambdec configuration files. */
-
-enum class AmbDecScale {
- N3D,
- SN3D,
- FuMa,
-};
-struct AmbDecConf {
- std::string Description;
- int Version{0}; /* Must be 3 */
-
- unsigned int ChanMask{0u};
- unsigned int FreqBands{0u}; /* Must be 1 or 2 */
- AmbDecScale CoeffScale{};
-
- float XOverFreq{0.0f};
- float XOverRatio{0.0f};
-
- struct SpeakerConf {
- std::string Name;
- float Distance{0.0f};
- float Azimuth{0.0f};
- float Elevation{0.0f};
- std::string Connection;
- };
- al::vector<SpeakerConf> Speakers;
-
- using CoeffArray = std::array<float,MAX_AMBI_CHANNELS>;
- /* Unused when FreqBands == 1 */
- float LFOrderGain[MAX_AMBI_ORDER+1]{};
- al::vector<CoeffArray> LFMatrix;
-
- float HFOrderGain[MAX_AMBI_ORDER+1]{};
- al::vector<CoeffArray> HFMatrix;
-
- int load(const char *fname) noexcept;
-};
-
-#endif /* AMBDEC_H */