aboutsummaryrefslogtreecommitdiffstats
path: root/core/ambidefs.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-04-24 13:46:52 -0700
committerChris Robinson <[email protected]>2021-04-24 13:46:52 -0700
commit440ce71dcedb39e827660d0925b6cc2046c6d0f0 (patch)
treed8d5f11c71bf8d2852e176a9ec55e0cd1dc140b3 /core/ambidefs.h
parentf10cc1e1acb11bbabd5a16b62e0d435d6b1e9337 (diff)
Move GetHFOrderScales to a more appropriate place
Diffstat (limited to 'core/ambidefs.h')
-rw-r--r--core/ambidefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/ambidefs.h b/core/ambidefs.h
index a72f7b78..22739359 100644
--- a/core/ambidefs.h
+++ b/core/ambidefs.h
@@ -97,6 +97,10 @@ struct AmbiScale {
}};
return ret;
}
+
+ /* Retrieves per-order HF scaling factors for "upsampling" ambisonic data. */
+ static std::array<float,MaxAmbiOrder+1> GetHFOrderScales(const uint in_order,
+ const uint out_order) noexcept;
};
struct AmbiIndex {