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

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

Issue 1703473002: Make AudioOutputDevice restartable and reinitializable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new_mixing
Patch Set: Created 4 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/audio_device_factory.cc
diff --git a/content/renderer/media/audio_device_factory.cc b/content/renderer/media/audio_device_factory.cc
index f3c4f0f102071da0917010e4eff3a8cea4c32b20..9bfdacbf7553586250ce1ba7d1027386482ab12b 100644
--- a/content/renderer/media/audio_device_factory.cc
+++ b/content/renderer/media/audio_device_factory.cc
@@ -11,6 +11,8 @@
#include "media/audio/audio_output_device.h"
#include "url/origin.h"
+#include "base/debug/stack_trace.h"
+
namespace content {
// static
@@ -22,6 +24,9 @@ scoped_refptr<media::AudioOutputDevice> AudioDeviceFactory::NewOutputDevice(
int session_id,
const std::string& device_id,
const url::Origin& security_origin) {
+// base::debug::StackTrace st;
+// st.Print();
+
if (factory_) {
media::AudioOutputDevice* const device = factory_->CreateOutputDevice(
render_frame_id, session_id, device_id, security_origin);

Powered by Google App Engine
This is Rietveld 408576698