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

Unified Diff: content/renderer/media/external_media_stream_audio_source.cc

Issue 2710213005: Revert of Remove |remote| and |readonly| members of MediaStreamTrack (Closed)
Patch Set: Created 3 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
Index: content/renderer/media/external_media_stream_audio_source.cc
diff --git a/content/renderer/media/external_media_stream_audio_source.cc b/content/renderer/media/external_media_stream_audio_source.cc
index 1d4d49fa8f055f1beb4bc65f35cd24a2972e9c1e..7c2977c2907c46249730468bb2f63b81ffbe75a3 100644
--- a/content/renderer/media/external_media_stream_audio_source.cc
+++ b/content/renderer/media/external_media_stream_audio_source.cc
@@ -10,9 +10,9 @@
scoped_refptr<media::AudioCapturerSource> source,
int sample_rate,
media::ChannelLayout channel_layout,
- int frames_per_buffer)
- : MediaStreamAudioSource(false),
- source_(std::move(source)),
+ int frames_per_buffer,
+ bool is_remote)
+ : MediaStreamAudioSource(!is_remote), source_(std::move(source)),
was_started_(false) {
DVLOG(1)
<< "ExternalMediaStreamAudioSource::ExternalMediaStreamAudioSource()";
« no previous file with comments | « content/renderer/media/external_media_stream_audio_source.h ('k') | content/renderer/media/media_stream_audio_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698