Index: Source/core/platform/audio/HRTFPanner.h |
diff --git a/Source/core/platform/audio/HRTFPanner.h b/Source/core/platform/audio/HRTFPanner.h |
index 235f82be0dfed8b33e1346b0759325a689b764a1..4fe4e40319aba074285c00d6636a46991b720013 100644 |
--- a/Source/core/platform/audio/HRTFPanner.h |
+++ b/Source/core/platform/audio/HRTFPanner.h |
@@ -31,9 +31,11 @@ |
namespace WebCore { |
+class HRTFDatabase; |
+ |
class HRTFPanner : public Panner { |
public: |
- explicit HRTFPanner(float sampleRate); |
+ HRTFPanner(float sampleRate, HRTFDatabase*); |
virtual ~HRTFPanner(); |
// Panner |
@@ -53,6 +55,8 @@ private: |
// and azimuthBlend which is an interpolation value from 0 -> 1. |
int calculateDesiredAzimuthIndexAndBlend(double azimuth, double& azimuthBlend); |
+ HRTFDatabase* m_database; |
+ |
float m_sampleRate; |
// We maintain two sets of convolvers for smooth cross-faded interpolations when |