Index: Source/core/platform/audio/Panner.cpp |
diff --git a/Source/core/platform/audio/Panner.cpp b/Source/core/platform/audio/Panner.cpp |
index 8bd0a04a38c191e221b589afd2bb8f9767639c3d..96ca460e635b472546109a9a8ac5eadfe215792b 100644 |
--- a/Source/core/platform/audio/Panner.cpp |
+++ b/Source/core/platform/audio/Panner.cpp |
@@ -38,7 +38,7 @@ |
namespace WebCore { |
-PassOwnPtr<Panner> Panner::create(PanningModel model, float sampleRate) |
+PassOwnPtr<Panner> Panner::create(PanningModel model, float sampleRate, HRTFDatabaseLoader* databaseLoader) |
{ |
OwnPtr<Panner> panner; |
@@ -48,7 +48,7 @@ PassOwnPtr<Panner> Panner::create(PanningModel model, float sampleRate) |
break; |
case PanningModelHRTF: |
- panner = adoptPtr(new HRTFPanner(sampleRate)); |
+ panner = adoptPtr(new HRTFPanner(sampleRate, databaseLoader)); |
break; |
// FIXME: sound field panning is not yet implemented... |