#include "third_party/blink/renderer/modules/webaudio/gain_handler.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/platform/audio/audio_bus.h"
#include "third_party/blink/renderer/platform/instrumentation/tracing/trace_event.h"
namespace blink {
namespace {
constexpr unsigned kNumberOfOutputChannels = …;
}
GainHandler::GainHandler(AudioNode& node,
float sample_rate,
AudioParamHandler& gain)
: … { … }
scoped_refptr<GainHandler> GainHandler::Create(AudioNode& node,
float sample_rate,
AudioParamHandler& gain) { … }
void GainHandler::Process(uint32_t frames_to_process) { … }
void GainHandler::ProcessOnlyAudioParams(uint32_t frames_to_process) { … }
void GainHandler::CheckNumberOfChannelsForInput(AudioNodeInput* input) { … }
}