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

Side by Side Diff: media/base/mock_audio_renderer_sink.cc

Issue 2836293002: Introduce AudioRendererSink::IsOptimizedForHardwareParameters (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « media/base/mock_audio_renderer_sink.h ('k') | media/blink/webaudiosourceprovider_impl.h » ('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 #include "media/base/mock_audio_renderer_sink.h" 5 #include "media/base/mock_audio_renderer_sink.h"
6 6
7 namespace media { 7 namespace media {
8 MockAudioRendererSink::MockAudioRendererSink() 8 MockAudioRendererSink::MockAudioRendererSink()
9 : MockAudioRendererSink(OUTPUT_DEVICE_STATUS_OK) {} 9 : MockAudioRendererSink(OUTPUT_DEVICE_STATUS_OK) {}
10 10
(...skipping 30 matching lines...) Expand all
41 41
42 void MockAudioRendererSink::Initialize(const AudioParameters& params, 42 void MockAudioRendererSink::Initialize(const AudioParameters& params,
43 RenderCallback* renderer) { 43 RenderCallback* renderer) {
44 callback_ = renderer; 44 callback_ = renderer;
45 } 45 }
46 46
47 OutputDeviceInfo MockAudioRendererSink::GetOutputDeviceInfo() { 47 OutputDeviceInfo MockAudioRendererSink::GetOutputDeviceInfo() {
48 return output_device_info_; 48 return output_device_info_;
49 } 49 }
50 50
51 bool MockAudioRendererSink::IsOptimizedForHardwareParameters() {
52 return false;
53 }
54
51 } // namespace media 55 } // namespace media
OLDNEW
« no previous file with comments | « media/base/mock_audio_renderer_sink.h ('k') | media/blink/webaudiosourceprovider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698