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

Unified Diff: remoting/host/audio_capturer.cc

Issue 10820059: Not streaming packets of silence. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments 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
Index: remoting/host/audio_capturer.cc
diff --git a/remoting/host/audio_capturer.cc b/remoting/host/audio_capturer.cc
deleted file mode 100644
index 8828475de5f1be97c1334da6b4bd8310757b023e..0000000000000000000000000000000000000000
--- a/remoting/host/audio_capturer.cc
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "remoting/host/audio_capturer.h"
-
-#include "remoting/proto/audio.pb.h"
-
-namespace remoting {
-
-bool AudioCapturer::IsValidSampleRate(int sample_rate) {
- switch (sample_rate) {
- case AudioPacket::SAMPLING_RATE_44100:
- case AudioPacket::SAMPLING_RATE_48000:
- return true;
- default:
- return false;
- }
-}
-
-} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698