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

Unified Diff: remoting/host/audio_capturer.h

Issue 10911271: Remove CommandLine dependency from the Linux's AudioCapturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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_linux.cc » ('j') | remoting/host/chromoting_host_context.h » ('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 570d58563d960815c834fc937a24eadca5215377..4cd8c9eab3a18438375a833465908b6bff558b56 100644
--- a/remoting/host/audio_capturer.h
+++ b/remoting/host/audio_capturer.h
@@ -11,6 +11,7 @@
namespace remoting {
class AudioPacket;
+class ChromotingHostContext;
class AudioCapturer {
public:
@@ -21,8 +22,8 @@ class AudioCapturer {
// Returns true if audio capturing is supported on this platform. If this
// returns true, then Create() must not return NULL.
- static bool IsSupported();
- static scoped_ptr<AudioCapturer> Create();
+ static bool IsSupported(ChromotingHostContext* context);
+ static scoped_ptr<AudioCapturer> Create(ChromotingHostContext* context);
// Capturers should sample at a 44.1 or 48 kHz sampling rate, in uncompressed
// PCM stereo format. Capturers may choose the number of frames per packet.
« no previous file with comments | « no previous file | remoting/host/audio_capturer_linux.cc » ('j') | remoting/host/chromoting_host_context.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698