Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Unified Diff: remoting/host/audio_capturer.h

Issue 10820059: Not streaming packets of silence. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/audio_capturer.cc » ('j') | remoting/host/audio_capturer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/audio_capturer.h
diff --git a/remoting/host/audio_capturer.h b/remoting/host/audio_capturer.h
index 1c456c14ce8a666b3c1696205430153506b4d1bd..81603627a03f26608d438b72a0838ca77d2cb82e 100644
--- a/remoting/host/audio_capturer.h
+++ b/remoting/host/audio_capturer.h
@@ -32,6 +32,8 @@ class AudioCapturer {
virtual bool IsRunning() = 0;
static bool IsValidSampleRate(int sample_rate);
+
+ static bool IsPacketOfSilence(const AudioPacket* packet);
Sergey Ulanov 2012/07/27 22:46:51 This shouldn't to be part of AudioCapturer interfa
kxing 2012/07/30 16:55:18 Done.
};
} // namespace remoting
« no previous file with comments | « no previous file | remoting/host/audio_capturer.cc » ('j') | remoting/host/audio_capturer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698