| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef REMOTING_HOST_AUDIO_SILENCE_DETECTOR_H_ | 5 #ifndef REMOTING_HOST_AUDIO_SILENCE_DETECTOR_H_ |
| 6 #define REMOTING_HOST_AUDIO_SILENCE_DETECTOR_H_ | 6 #define REMOTING_HOST_AUDIO_SILENCE_DETECTOR_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 // value are still encoded and sent to the client, so that we don't disrupt | 32 // value are still encoded and sent to the client, so that we don't disrupt |
| 33 // playback by dropping them. | 33 // playback by dropping them. |
| 34 int silence_length_max_; | 34 int silence_length_max_; |
| 35 | 35 |
| 36 // Lengths of the current silence period in samples. | 36 // Lengths of the current silence period in samples. |
| 37 int silence_length_; | 37 int silence_length_; |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 } // namespace remoting | 40 } // namespace remoting |
| 41 | 41 |
| 42 #endif // REMOTING_HOST_AUDIO_SILENCE_DETECTOR_H_ | 42 #endif // REMOTING_HOST_AUDIO_SILENCE_DETECTOR_H_ |
| OLD | NEW |