#include "third_party/blink/renderer/modules/webaudio/media_stream_audio_destination_handler.h"
#include "base/synchronization/lock.h"
#include "third_party/blink/public/platform/modules/webrtc/webrtc_logging.h"
#include "third_party/blink/renderer/modules/webaudio/audio_node_input.h"
#include "third_party/blink/renderer/modules/webaudio/base_audio_context.h"
#include "third_party/blink/renderer/modules/webaudio/media_stream_audio_destination_node.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/instrumentation/tracing/trace_event.h"
namespace blink {
namespace {
constexpr uint32_t kMaxChannelCountSupported = …;
}
MediaStreamAudioDestinationHandler::MediaStreamAudioDestinationHandler(
AudioNode& node,
uint32_t number_of_channels)
: … { … }
scoped_refptr<MediaStreamAudioDestinationHandler>
MediaStreamAudioDestinationHandler::Create(AudioNode& node,
uint32_t number_of_channels) { … }
MediaStreamAudioDestinationHandler::~MediaStreamAudioDestinationHandler() { … }
void MediaStreamAudioDestinationHandler::Process(uint32_t number_of_frames) { … }
void MediaStreamAudioDestinationHandler::SetChannelCount(
unsigned channel_count,
ExceptionState& exception_state) { … }
uint32_t MediaStreamAudioDestinationHandler::MaxChannelCount() const { … }
void MediaStreamAudioDestinationHandler::PullInputs(
uint32_t frames_to_process) { … }
void MediaStreamAudioDestinationHandler::CheckNumberOfChannelsForInput(
AudioNodeInput* input) { … }
void MediaStreamAudioDestinationHandler::UpdatePullStatusIfNeeded() { … }
void MediaStreamAudioDestinationHandler::SendLogMessage(const String& message) { … }
}