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

Side by Side Diff: content/renderer/media/webrtc_local_audio_renderer.h

Issue 15394003: Remove extra memcpys from AudioPullFifo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix includes. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/renderer/media/webrtc_local_audio_renderer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_LOCAL_AUDIO_RENDERER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_LOCAL_AUDIO_RENDERER_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_LOCAL_AUDIO_RENDERER_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_LOCAL_AUDIO_RENDERER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
11 #include "base/threading/thread_checker.h" 11 #include "base/threading/thread_checker.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "content/renderer/media/webrtc_audio_device_impl.h" 13 #include "content/renderer/media/webrtc_audio_device_impl.h"
14 #include "content/renderer/media/webrtc_local_audio_track.h" 14 #include "content/renderer/media/webrtc_local_audio_track.h"
15 #include "webkit/media/media_stream_audio_renderer.h" 15 #include "webkit/media/media_stream_audio_renderer.h"
16 16
17 namespace media { 17 namespace media {
18 class AudioBus; 18 class AudioBus;
19 class AudioFifo;
19 class AudioOutputDevice; 20 class AudioOutputDevice;
20 class AudioParameters; 21 class AudioParameters;
21 } 22 }
22 23
23 namespace content { 24 namespace content {
24 25
25 class WebRtcAudioCapturer; 26 class WebRtcAudioCapturer;
26 27
27 // WebRtcLocalAudioRenderer is a webkit_media::MediaStreamAudioRenderer 28 // WebRtcLocalAudioRenderer is a webkit_media::MediaStreamAudioRenderer
28 // designed for rendering local audio media stream tracks, 29 // designed for rendering local audio media stream tracks,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 121
121 // Protects |loopback_fifo_|, |playing_| and |sink_|. 122 // Protects |loopback_fifo_|, |playing_| and |sink_|.
122 mutable base::Lock thread_lock_; 123 mutable base::Lock thread_lock_;
123 124
124 DISALLOW_COPY_AND_ASSIGN(WebRtcLocalAudioRenderer); 125 DISALLOW_COPY_AND_ASSIGN(WebRtcLocalAudioRenderer);
125 }; 126 };
126 127
127 } // namespace content 128 } // namespace content
128 129
129 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_LOCAL_AUDIO_RENDERER_H_ 130 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_LOCAL_AUDIO_RENDERER_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/webrtc_local_audio_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698