OLD | NEW |
(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_ |
OLD | NEW |