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

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

Issue 1424933002: Add an initial revision of an audio server. (Closed) Base URL: https://github.com/domokit/mojo.git@change4
Patch Set: fix issues discovered with initial preflight Created 5 years, 1 month 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_MEDIA_AUDIO_PLATFORM_GENERIC_MIXERS_NO_OP_H_
6 #define SERVICES_MEDIA_AUDIO_PLATFORM_GENERIC_MIXERS_NO_OP_H_
7
8 #include "services/media/audio/platform/generic/mixer.h"
9
10 namespace mojo {
11 namespace media {
12 namespace audio {
13 namespace mixers {
14
15 class NoOp : public Mixer {
16 public:
17 bool Mix(void* dst,
18 uint32_t dst_frames,
19 uint32_t* dst_offset,
20 const void* src,
21 uint32_t frac_src_frames,
22 uint32_t* frac_src_offset,
23 uint32_t frac_step_size,
24 bool accumulate) override;
25 };
26
27 } // namespace mixers
28 } // namespace audio
29 } // namespace media
30 } // namespace mojo
31
32 #endif // SERVICES_MEDIA_AUDIO_PLATFORM_GENERIC_MIXERS_NO_OP_H_
OLDNEW
« no previous file with comments | « services/media/audio/platform/generic/mixers/mixer_utils.h ('k') | services/media/audio/platform/generic/mixers/no_op.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698