1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 #include "platform/audio/Spatializer.h"
9 #include "platform/audio/StereoPanner.h"
13 PassOwnPtr
<Spatializer
> Spatializer::create(PanningModel model
, float sampleRate
)
16 case PanningModelEqualPower
:
17 return adoptPtr(new StereoPanner(sampleRate
));
24 Spatializer::~Spatializer()
30 #endif // ENABLE(WEB_AUDIO)