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

Side by Side Diff: content/renderer/media/webrtc_audio_device_impl.cc

Issue 11359196: Associate audio streams with their source/destination RenderView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restored AudioDeviceFactory. Created new RendererAudioOutputDevice. Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/media/webrtc_audio_device_impl.h" 5 #include "content/renderer/media/webrtc_audio_device_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/win/windows_version.h" 10 #include "base/win/windows_version.h"
11 #include "content/renderer/media/audio_device_factory.h"
12 #include "content/renderer/media/audio_hardware.h" 11 #include "content/renderer/media/audio_hardware.h"
13 #include "content/renderer/media/webrtc_audio_capturer.h" 12 #include "content/renderer/media/webrtc_audio_capturer.h"
14 #include "content/renderer/media/webrtc_audio_renderer.h" 13 #include "content/renderer/media/webrtc_audio_renderer.h"
15 #include "content/renderer/render_thread_impl.h" 14 #include "content/renderer/render_thread_impl.h"
16 #include "media/audio/audio_parameters.h" 15 #include "media/audio/audio_parameters.h"
17 #include "media/audio/audio_util.h" 16 #include "media/audio/audio_util.h"
18 #include "media/audio/sample_rates.h" 17 #include "media/audio/sample_rates.h"
19 18
20 using media::AudioParameters; 19 using media::AudioParameters;
21 using media::ChannelLayout; 20 using media::ChannelLayout;
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 int32_t WebRtcAudioDeviceImpl::GetLoudspeakerStatus(bool* enabled) const { 878 int32_t WebRtcAudioDeviceImpl::GetLoudspeakerStatus(bool* enabled) const {
880 NOTIMPLEMENTED(); 879 NOTIMPLEMENTED();
881 return -1; 880 return -1;
882 } 881 }
883 882
884 void WebRtcAudioDeviceImpl::SetSessionId(int session_id) { 883 void WebRtcAudioDeviceImpl::SetSessionId(int session_id) {
885 session_id_ = session_id; 884 session_id_ = session_id;
886 } 885 }
887 886
888 } // namespace content 887 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698