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

Unified Diff: remoting/host/ipc_audio_capturer.cc

Issue 866863004: Replace AudioScheduler with AudioPump. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mouse_cursor_pipe
Patch Set: Created 5 years, 10 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/host/ipc_audio_capturer.h ('k') | remoting/remoting_host_srcs.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_audio_capturer.cc
diff --git a/remoting/host/ipc_audio_capturer.cc b/remoting/host/ipc_audio_capturer.cc
index eb571a224dd503ced8db79f8de9560063ac804d9..5bc568d913e77c624ff35456e97b22cc80e8721b 100644
--- a/remoting/host/ipc_audio_capturer.cc
+++ b/remoting/host/ipc_audio_capturer.cc
@@ -27,15 +27,6 @@ bool IpcAudioCapturer::Start(const PacketCapturedCallback& callback) {
return true;
}
-void IpcAudioCapturer::Stop() {
- callback_.Reset();
- weak_factory_.InvalidateWeakPtrs();
-}
-
-bool IpcAudioCapturer::IsStarted() {
- return !callback_.is_null();
-}
-
void IpcAudioCapturer::OnAudioPacket(scoped_ptr<AudioPacket> packet) {
callback_.Run(packet.Pass());
}
« no previous file with comments | « remoting/host/ipc_audio_capturer.h ('k') | remoting/remoting_host_srcs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698