#include "remoting/client/audio/audio_playback_stream.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#include "remoting/client/audio/audio_jitter_buffer.h"
#include "remoting/client/audio/audio_playback_sink.h"
namespace remoting {
class AudioPlaybackStream::Core { … };
AudioPlaybackStream::Core::Core(std::unique_ptr<AudioPlaybackSink> audio_sink) { … }
AudioPlaybackStream::Core::~Core() = default;
void AudioPlaybackStream::Core::AddAudioPacket(
std::unique_ptr<AudioPacket> packet) { … }
void AudioPlaybackStream::Core::ResetStreamFormat(
const AudioStreamFormat& format) { … }
AudioPlaybackStream::AudioPlaybackStream(
std::unique_ptr<AudioPlaybackSink> audio_sink,
scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner)
: … { … }
AudioPlaybackStream::~AudioPlaybackStream() { … }
void AudioPlaybackStream::ProcessAudioPacket(
std::unique_ptr<AudioPacket> packet,
base::OnceClosure done) { … }
}