#include "third_party/blink/renderer/modules/webaudio/audio_listener.h"
#include "base/synchronization/lock.h"
#include "third_party/blink/renderer/modules/webaudio/audio_graph_tracer.h"
#include "third_party/blink/renderer/modules/webaudio/panner_handler.h"
#include "third_party/blink/renderer/platform/audio/audio_bus.h"
#include "third_party/blink/renderer/platform/audio/audio_utilities.h"
namespace blink {
namespace {
constexpr double kDefaultPositionXValue = …;
constexpr double kDefaultPositionYValue = …;
constexpr double kDefaultPositionZValue = …;
constexpr double kDefaultForwardXValue = …;
constexpr double kDefaultForwardYValue = …;
constexpr double kDefaultForwardZValue = …;
constexpr double kDefaultUpXValue = …;
constexpr double kDefaultUpYValue = …;
constexpr double kDefaultUpZValue = …;
}
AudioListener::AudioListener(BaseAudioContext& context)
: … { … }
AudioListener::~AudioListener() { … }
void AudioListener::setOrientation(float x, float y, float z,
float up_x, float up_y, float up_z,
ExceptionState& exceptionState) { … }
void AudioListener::setPosition(float x, float y, float z,
ExceptionState& exceptionState) { … }
void AudioListener::Trace(Visitor* visitor) const { … }
void AudioListener::ReportDidCreate() { … }
void AudioListener::ReportWillBeDestroyed() { … }
void AudioListener::SetHandler(scoped_refptr<AudioListenerHandler> handler) { … }
void AudioListener::SetPosition(const gfx::Point3F& position,
ExceptionState& exceptionState) { … }
void AudioListener::SetOrientation(const gfx::Vector3dF& orientation,
ExceptionState& exceptionState) { … }
void AudioListener::SetUpVector(const gfx::Vector3dF& up_vector,
ExceptionState& exceptionState) { … }
}