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

Unified Diff: remoting/host/audio_capturer.h

Issue 10907041: Implement Linux audio capturer. (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.h » ('j') | no next file with comments »
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..570d58563d960815c834fc937a24eadca5215377 100644
--- a/remoting/host/audio_capturer.h
+++ b/remoting/host/audio_capturer.h
@@ -19,6 +19,9 @@ class AudioCapturer {
virtual ~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();
// Capturers should sample at a 44.1 or 48 kHz sampling rate, in uncompressed
@@ -29,7 +32,7 @@ class AudioCapturer {
// resources.
virtual void Stop() = 0;
// Returns true if the audio capturer is running.
- virtual bool IsRunning() = 0;
+ virtual bool IsStarted() = 0;
static bool IsValidSampleRate(int sample_rate);
};
« no previous file with comments | « no previous file | remoting/host/audio_capturer_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698