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

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

Issue 12102004: Renderer side audio device change wip... Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/webrtc_audio_capturer.cc
diff --git a/content/renderer/media/webrtc_audio_capturer.cc b/content/renderer/media/webrtc_audio_capturer.cc
index 16836f2a7d900d8cef99e23dc514596f7679e3e8..fcce97a51dd9ffcf4fca0ea15e7e1513894005fc 100644
--- a/content/renderer/media/webrtc_audio_capturer.cc
+++ b/content/renderer/media/webrtc_audio_capturer.cc
@@ -10,9 +10,10 @@
#include "base/string_util.h"
#include "content/common/child_process.h"
#include "content/renderer/media/audio_device_factory.h"
-#include "content/renderer/media/audio_hardware.h"
+#include "content/renderer/media/renderer_audio_hardware_config.h"
#include "content/renderer/media/webrtc_audio_device_impl.h"
#include "content/renderer/media/webrtc_local_audio_renderer.h"
+#include "content/renderer/render_thread_impl.h"
#include "media/audio/audio_util.h"
#include "media/audio/sample_rates.h"
@@ -20,7 +21,7 @@ namespace content {
// Supported hardware sample rates for input and output sides.
#if defined(OS_WIN) || defined(OS_MACOSX)
-// media::GetAudioInputHardwareSampleRate() asks the audio layer
+// RendererAudioHardwareConfig::GetInputSampleRate() asks the audio layer
// for its current sample rate (set by the user) on Windows and Mac OS X.
// The listed rates below adds restrictions and WebRtcAudioDeviceImpl::Init()
// will fail if the user selects any rate outside these ranges.
« no previous file with comments | « content/renderer/media/renderer_audio_hardware_config.cc ('k') | content/renderer/media/webrtc_audio_capturer.cc.rej » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698