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

Side by Side Diff: media/renderers/audio_renderer_impl.h

Issue 2237243002: CL for perf tryjob on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « media/mojo/services/mojo_renderer_service.cc ('k') | media/renderers/audio_renderer_impl.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 // Audio rendering unit utilizing an AudioRendererSink to output data. 5 // Audio rendering unit utilizing an AudioRendererSink to output data.
6 // 6 //
7 // This class lives inside three threads during it's lifetime, namely: 7 // This class lives inside three threads during it's lifetime, namely:
8 // 1. Render thread 8 // 1. Render thread
9 // Where the object is created. 9 // Where the object is created.
10 // 2. Media thread (provided via constructor) 10 // 2. Media thread (provided via constructor)
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 AudioRendererSink* sink, 66 AudioRendererSink* sink,
67 ScopedVector<AudioDecoder> decoders, 67 ScopedVector<AudioDecoder> decoders,
68 const scoped_refptr<MediaLog>& media_log); 68 const scoped_refptr<MediaLog>& media_log);
69 ~AudioRendererImpl() override; 69 ~AudioRendererImpl() override;
70 70
71 // TimeSource implementation. 71 // TimeSource implementation.
72 void StartTicking() override; 72 void StartTicking() override;
73 void StopTicking() override; 73 void StopTicking() override;
74 void SetPlaybackRate(double rate) override; 74 void SetPlaybackRate(double rate) override;
75 void SetMediaTime(base::TimeDelta time) override; 75 void SetMediaTime(base::TimeDelta time) override;
76 base::TimeDelta CurrentMediaTime() override; 76 base::TimeDelta CurrentMediaTime(base::TimeTicks* reference) override;
77 bool GetWallClockTimes( 77 bool GetWallClockTimes(
78 const std::vector<base::TimeDelta>& media_timestamps, 78 const std::vector<base::TimeDelta>& media_timestamps,
79 std::vector<base::TimeTicks>* wall_clock_times) override; 79 std::vector<base::TimeTicks>* wall_clock_times) override;
80 80
81 // AudioRenderer implementation. 81 // AudioRenderer implementation.
82 void Initialize(DemuxerStream* stream, 82 void Initialize(DemuxerStream* stream,
83 CdmContext* cdm_context, 83 CdmContext* cdm_context,
84 RendererClient* client, 84 RendererClient* client,
85 const PipelineStatusCB& init_cb) override; 85 const PipelineStatusCB& init_cb) override;
86 TimeSource* GetTimeSource() override; 86 TimeSource* GetTimeSource() override;
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 298
299 // NOTE: Weak pointers must be invalidated before all other member variables. 299 // NOTE: Weak pointers must be invalidated before all other member variables.
300 base::WeakPtrFactory<AudioRendererImpl> weak_factory_; 300 base::WeakPtrFactory<AudioRendererImpl> weak_factory_;
301 301
302 DISALLOW_COPY_AND_ASSIGN(AudioRendererImpl); 302 DISALLOW_COPY_AND_ASSIGN(AudioRendererImpl);
303 }; 303 };
304 304
305 } // namespace media 305 } // namespace media
306 306
307 #endif // MEDIA_RENDERERS_AUDIO_RENDERER_IMPL_H_ 307 #endif // MEDIA_RENDERERS_AUDIO_RENDERER_IMPL_H_
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_renderer_service.cc ('k') | media/renderers/audio_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698