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

Unified Diff: remoting/protocol/fake_audio_source.cc

Issue 2392963003: Add Audio support in Chromoting host when using WebRTC. (Closed)
Patch Set: . Created 4 years, 2 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 | « remoting/protocol/fake_audio_source.h ('k') | remoting/protocol/webrtc_audio_source_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/fake_audio_source.cc
diff --git a/remoting/protocol/ice_config.cc b/remoting/protocol/fake_audio_source.cc
similarity index 52%
copy from remoting/protocol/ice_config.cc
copy to remoting/protocol/fake_audio_source.cc
index 4cd9a152f6beb85ef9cab17e8af09f46f9ec64f4..2404586ac9837e10686a9f3dfcb875d356e7cc32 100644
--- a/remoting/protocol/ice_config.cc
+++ b/remoting/protocol/fake_audio_source.cc
@@ -2,14 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "remoting/protocol/ice_config.h"
+#include "remoting/protocol/fake_audio_source.h"
namespace remoting {
namespace protocol {
-IceConfig::IceConfig() {}
-IceConfig::IceConfig(const IceConfig& other) = default;
-IceConfig::~IceConfig() {}
+FakeAudioSource::FakeAudioSource() {}
+FakeAudioSource::~FakeAudioSource() {}
+
+bool FakeAudioSource::Start(const PacketCapturedCallback& callback) {
+ callback_ = callback;
+ return true;
+}
} // namespace protocol
} // namespace remoting
« no previous file with comments | « remoting/protocol/fake_audio_source.h ('k') | remoting/protocol/webrtc_audio_source_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698