#include "media/audio/fake_audio_output_stream.h"
#include "base/check.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/task/single_thread_task_runner.h"
#include "base/time/time.h"
#include "media/audio/audio_manager_base.h"
namespace media {
AudioOutputStream* FakeAudioOutputStream::MakeFakeStream(
AudioManagerBase* manager, const AudioParameters& params) { … }
FakeAudioOutputStream::FakeAudioOutputStream(AudioManagerBase* manager,
const AudioParameters& params)
: … { … }
FakeAudioOutputStream::~FakeAudioOutputStream() { … }
bool FakeAudioOutputStream::Open() { … }
void FakeAudioOutputStream::Start(AudioSourceCallback* callback) { … }
void FakeAudioOutputStream::Stop() { … }
void FakeAudioOutputStream::Close() { … }
void FakeAudioOutputStream::Flush() { … }
void FakeAudioOutputStream::SetVolume(double volume) { … }
void FakeAudioOutputStream::GetVolume(double* volume) { … }
void FakeAudioOutputStream::CallOnMoreData(base::TimeTicks ideal_time,
base::TimeTicks now) { … }
void FakeAudioOutputStream::SetMute(bool muted) { … }
}