OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 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_JNI_AUDIO_PLAYER_IMPL_H_ | |
6 #define REMOTING_CLIENT_JNI_AUDIO_PLAYER_IMPL_H_ | |
7 | |
8 #include "remoting/client/audio_player.h" | |
9 | |
10 namespace remoting { | |
11 | |
12 // Basic AudioPlayer implementation for client implementations that use JNI. | |
Wez
2013/07/09 17:34:47
It's not a basic implementation, it's dummy implem
solb
2013/07/10 00:01:19
I got rid of this whole class, which compiles now
| |
13 class AudioPlayerImpl : public AudioPlayer { | |
14 public: | |
15 AudioPlayerImpl(); | |
16 | |
17 protected: | |
18 // | |
Wez
2013/07/09 17:34:47
nit: Get rid of the blank line comments.
| |
19 // AudioPlayer implementation: | |
Wez
2013/07/09 17:34:47
nit: : -> .
| |
20 // | |
21 virtual uint32 GetSamplesPerFrame() OVERRIDE; | |
22 | |
Wez
2013/07/09 17:34:47
nit: No need for a blank line between the overridd
| |
23 virtual bool ResetAudioPlayer( | |
24 AudioPacket::SamplingRate sampling_rate) OVERRIDE; | |
25 | |
26 private: | |
27 DISALLOW_COPY_AND_ASSIGN(AudioPlayerImpl); | |
28 }; | |
29 | |
30 } // namespace remoting | |
31 | |
32 #endif | |
OLD | NEW |