#include "third_party/blink/renderer/modules/webaudio/delay_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/modules/webaudio/base_audio_context.h"
#include "third_party/blink/renderer/platform/audio/audio_bus.h"
#include "third_party/blink/renderer/platform/audio/delay.h"
namespace blink {
namespace {
constexpr unsigned kNumberOfOutputs = …;
constexpr unsigned kDefaultNumberOfChannels = …;
}
scoped_refptr<DelayHandler> DelayHandler::Create(AudioNode& node,
float sample_rate,
AudioParamHandler& delay_time,
double max_delay_time) { … }
DelayHandler::~DelayHandler() { … }
DelayHandler::DelayHandler(AudioNode& node,
float sample_rate,
AudioParamHandler& delay_time,
double max_delay_time)
: … { … }
void DelayHandler::Process(uint32_t frames_to_process) { … }
void DelayHandler::ProcessOnlyAudioParams(uint32_t frames_to_process) { … }
void DelayHandler::Initialize() { … }
void DelayHandler::Uninitialize() { … }
void DelayHandler::CheckNumberOfChannelsForInput(AudioNodeInput* input) { … }
bool DelayHandler::RequiresTailProcessing() const { … }
double DelayHandler::TailTime() const { … }
double DelayHandler::LatencyTime() const { … }
void DelayHandler::PullInputs(uint32_t frames_to_process) { … }
}