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

Unified Diff: media/audio/pulse/pulse_unified.h

Issue 15979015: Reland 15721002: Hook up the device selection to the WebAudio live audio (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed the comments. Created 7 years, 7 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: media/audio/pulse/pulse_unified.h
diff --git a/media/audio/pulse/pulse_unified.h b/media/audio/pulse/pulse_unified.h
index d7476a855eab88f56a02454290f83d79bec16c3e..a800d099a109ff0d2941a32b9865930ff76ebaf5 100644
--- a/media/audio/pulse/pulse_unified.h
+++ b/media/audio/pulse/pulse_unified.h
@@ -6,6 +6,7 @@
#define MEDIA_AUDIO_PULSE_PULSE_UNIFIED_H_
#include <pulse/pulseaudio.h>
+#include <string>
#include "base/memory/scoped_ptr.h"
#include "media/audio/audio_io.h"
@@ -20,6 +21,7 @@ class SeekableBuffer;
class PulseAudioUnifiedStream : public AudioOutputStream {
public:
PulseAudioUnifiedStream(const AudioParameters& params,
+ const std::string& input_device_id,
AudioManagerBase* manager);
virtual ~PulseAudioUnifiedStream();
@@ -51,6 +53,9 @@ class PulseAudioUnifiedStream : public AudioOutputStream {
// AudioParameters from the constructor.
const AudioParameters params_;
+ // Device unique ID of the input device.
+ const std::string input_device_id_;
+
// Audio manager that created us. Used to report that we've closed.
AudioManagerBase* manager_;

Powered by Google App Engine
This is Rietveld 408576698