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..1e63ddd79c06be9d33542caba6598d05253510d9 100644 |
--- a/Source/core/platform/audio/HRTFPanner.h |
+++ b/Source/core/platform/audio/HRTFPanner.h |
@@ -26,6 +26,7 @@ |
#define HRTFPanner_h |
#include "core/platform/audio/FFTConvolver.h" |
+#include "core/platform/audio/HRTFDatabaseLoader.h" |
#include "core/platform/audio/Panner.h" |
#include "modules/webaudio/DelayDSPKernel.h" |
@@ -33,7 +34,7 @@ namespace WebCore { |
class HRTFPanner : public Panner { |
public: |
- explicit HRTFPanner(float sampleRate); |
+ HRTFPanner(float sampleRate, HRTFDatabaseLoader*); |
virtual ~HRTFPanner(); |
// Panner |
@@ -53,6 +54,8 @@ private: |
// and azimuthBlend which is an interpolation value from 0 -> 1. |
int calculateDesiredAzimuthIndexAndBlend(double azimuth, double& azimuthBlend); |
+ RefPtr<HRTFDatabaseLoader> m_databaseLoader; |
+ |
float m_sampleRate; |
// We maintain two sets of convolvers for smooth cross-faded interpolations when |