#include "media/audio/audio_input_stream_data_interceptor.h"
#include <utility>
#include "media/audio/audio_debug_recording_helper.h"
namespace media {
AudioInputStreamDataInterceptor::AudioInputStreamDataInterceptor(
CreateDebugRecorderCB create_debug_recorder_cb,
AudioInputStream* stream)
: … { … }
AudioInputStreamDataInterceptor::~AudioInputStreamDataInterceptor() { … }
AudioInputStream::OpenOutcome AudioInputStreamDataInterceptor::Open() { … }
void AudioInputStreamDataInterceptor::Start(
AudioInputStream::AudioInputCallback* callback) { … }
void AudioInputStreamDataInterceptor::Stop() { … }
void AudioInputStreamDataInterceptor::Close() { … }
double AudioInputStreamDataInterceptor::GetMaxVolume() { … }
void AudioInputStreamDataInterceptor::SetVolume(double volume) { … }
double AudioInputStreamDataInterceptor::GetVolume() { … }
bool AudioInputStreamDataInterceptor::IsMuted() { … }
bool AudioInputStreamDataInterceptor::SetAutomaticGainControl(bool enabled) { … }
bool AudioInputStreamDataInterceptor::GetAutomaticGainControl() { … }
void AudioInputStreamDataInterceptor::SetOutputDeviceForAec(
const std::string& output_device_id) { … }
void AudioInputStreamDataInterceptor::OnData(
const AudioBus* source,
base::TimeTicks capture_time,
double volume,
const AudioGlitchInfo& audio_glitch_info) { … }
void AudioInputStreamDataInterceptor::OnError() { … }
}