| Index: remoting/client/audio_player.h
|
| diff --git a/remoting/client/audio_player.h b/remoting/client/audio_player.h
|
| index 7422c6660b2d4106e06ba82ed4932d56d9a64340..b19e6e5a173b653bf2708c81dd70d81db96c9bde 100644
|
| --- a/remoting/client/audio_player.h
|
| +++ b/remoting/client/audio_player.h
|
| @@ -13,12 +13,12 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/synchronization/lock.h"
|
| -#include "remoting/client/audio_consumer.h"
|
| #include "remoting/proto/audio.pb.h"
|
| +#include "remoting/protocol/audio_stub.h"
|
|
|
| namespace remoting {
|
|
|
| -class AudioPlayer : public AudioConsumer {
|
| +class AudioPlayer : public protocol::AudioStub {
|
| public:
|
| // The number of channels in the audio stream (only supporting stereo audio
|
| // for now).
|
| @@ -27,8 +27,9 @@ class AudioPlayer : public AudioConsumer {
|
|
|
| ~AudioPlayer() override;
|
|
|
| - // AudioConsumer implementation.
|
| - void AddAudioPacket(std::unique_ptr<AudioPacket> packet) override;
|
| + // protocol::AudioStub implementation.
|
| + void ProcessAudioPacket(std::unique_ptr<AudioPacket> packet,
|
| + const base::Closure& done) override;
|
|
|
| protected:
|
| AudioPlayer();
|
|
|