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

Side by Side Diff: services/media/audio/platform/generic/mixers/no_op.cc

Issue 1471813002: Mix to an intermediate buffer. (Closed) Base URL: https://github.com/domokit/mojo.git@change7
Patch Set: Final rebase before landing Created 4 years, 10 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "base/logging.h" 5 #include "base/logging.h"
6 #include "services/media/audio/audio_track_impl.h" 6 #include "services/media/audio/audio_track_impl.h"
7 #include "services/media/audio/platform/generic/mixers/no_op.h" 7 #include "services/media/audio/platform/generic/mixers/no_op.h"
8 8
9 namespace mojo { 9 namespace mojo {
10 namespace media { 10 namespace media {
11 namespace audio { 11 namespace audio {
12 namespace mixers { 12 namespace mixers {
13 13
14 bool NoOp::Mix(void* dst, 14 bool NoOp::Mix(int32_t* dst,
15 uint32_t dst_frames, 15 uint32_t dst_frames,
16 uint32_t* dst_offset, 16 uint32_t* dst_offset,
17 const void* src, 17 const void* src,
18 uint32_t frac_src_frames, 18 uint32_t frac_src_frames,
19 int32_t* frac_src_offset, 19 int32_t* frac_src_offset,
20 uint32_t frac_step_size, 20 uint32_t frac_step_size,
21 bool accumulate) { 21 bool accumulate) {
22 return false; 22 return false;
23 } 23 }
24 24
25 } // namespace mixers 25 } // namespace mixers
26 } // namespace audio 26 } // namespace audio
27 } // namespace media 27 } // namespace media
28 } // namespace mojo 28 } // namespace mojo
OLDNEW
« no previous file with comments | « services/media/audio/platform/generic/mixers/no_op.h ('k') | services/media/audio/platform/generic/mixers/point_sampler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698