OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef REMOTING_CLIENT_AUDIO_CONSUMER_H_ |
| 6 #define REMOTING_CLIENT_AUDIO_CONSUMER_H_ |
| 7 |
| 8 #include <memory> |
| 9 |
| 10 #include "remoting/proto/audio.pb.h" |
| 11 |
| 12 namespace remoting { |
| 13 |
| 14 class AudioConsumer { |
| 15 public: |
| 16 virtual ~AudioConsumer(); |
| 17 virtual void AddAudioPacket(std::unique_ptr<AudioPacket> packet) = 0; |
| 18 |
| 19 private: |
| 20 DISALLOW_COPY_AND_ASSIGN(AudioConsumer); |
| 21 }; |
| 22 |
| 23 } // namespace remoting |
| 24 |
| 25 #endif // REMOTING_CLIENT_AUDIO_CONSUMER_H_ |
OLD | NEW |