#include "third_party/blink/renderer/modules/webaudio/stereo_panner_handler.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_stereo_panner_options.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/modules/webaudio/audio_graph_tracer.h"
#include "third_party/blink/renderer/modules/webaudio/audio_node_input.h"
#include "third_party/blink/renderer/modules/webaudio/audio_node_output.h"
#include "third_party/blink/renderer/modules/webaudio/base_audio_context.h"
#include "third_party/blink/renderer/platform/audio/stereo_panner.h"
#include "third_party/blink/renderer/platform/bindings/exception_messages.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/wtf/math_extras.h"
namespace blink {
namespace {
constexpr unsigned kMinimumOutputChannels = …;
constexpr unsigned kMaximumOutputChannels = …;
}
StereoPannerHandler::StereoPannerHandler(AudioNode& node,
float sample_rate,
AudioParamHandler& pan)
: … { … }
scoped_refptr<StereoPannerHandler> StereoPannerHandler::Create(
AudioNode& node,
float sample_rate,
AudioParamHandler& pan) { … }
StereoPannerHandler::~StereoPannerHandler() { … }
void StereoPannerHandler::Process(uint32_t frames_to_process) { … }
void StereoPannerHandler::ProcessOnlyAudioParams(uint32_t frames_to_process) { … }
void StereoPannerHandler::Initialize() { … }
void StereoPannerHandler::SetChannelCount(unsigned channel_count,
ExceptionState& exception_state) { … }
void StereoPannerHandler::SetChannelCountMode(const String& mode,
ExceptionState& exception_state) { … }
}