#include "third_party/blink/renderer/modules/webaudio/media_element_audio_source_handler.h"
#include <memory>
#include "base/synchronization/lock.h"
#include "third_party/blink/public/platform/task_type.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_media_element_audio_source_options.h"
#include "third_party/blink/renderer/core/frame/deprecation/deprecation.h"
#include "third_party/blink/renderer/core/html/media/html_media_element.h"
#include "third_party/blink/renderer/core/inspector/console_message.h"
#include "third_party/blink/renderer/modules/webaudio/audio_context.h"
#include "third_party/blink/renderer/modules/webaudio/audio_graph_tracer.h"
#include "third_party/blink/renderer/modules/webaudio/audio_node_output.h"
#include "third_party/blink/renderer/platform/audio/audio_utilities.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/weborigin/security_origin.h"
#include "third_party/blink/renderer/platform/wtf/cross_thread_functional.h"
namespace blink {
namespace {
constexpr unsigned kDefaultNumberOfOutputChannels = …;
}
class MediaElementAudioSourceHandlerLocker final { … };
MediaElementAudioSourceHandler::MediaElementAudioSourceHandler(
AudioNode& node,
HTMLMediaElement& media_element)
: … { … }
scoped_refptr<MediaElementAudioSourceHandler>
MediaElementAudioSourceHandler::Create(AudioNode& node,
HTMLMediaElement& media_element) { … }
MediaElementAudioSourceHandler::~MediaElementAudioSourceHandler() { … }
CrossThreadPersistent<HTMLMediaElement>
MediaElementAudioSourceHandler::MediaElement() const { … }
void MediaElementAudioSourceHandler::Dispose() { … }
void MediaElementAudioSourceHandler::SetFormat(uint32_t number_of_channels,
float source_sample_rate) { … }
bool MediaElementAudioSourceHandler::WouldTaintOrigin() { … }
void MediaElementAudioSourceHandler::PrintCorsMessage(const String& message) { … }
void MediaElementAudioSourceHandler::ProvideResamplerInput(
int resampler_frame_delay,
AudioBus* dest) { … }
void MediaElementAudioSourceHandler::Process(uint32_t number_of_frames) { … }
void MediaElementAudioSourceHandler::lock() { … }
void MediaElementAudioSourceHandler::unlock() { … }
}