blob: 6f2d74efa2a361bfd199146eecce0f458136d72c [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GARNET_BIN_MEDIA_AUDIO_CORE_MIXER_NO_OP_H_
#define GARNET_BIN_MEDIA_AUDIO_CORE_MIXER_NO_OP_H_
#include "garnet/bin/media/audio_core/mixer/mixer.h"
namespace media {
namespace audio {
namespace mixer {
class NoOp : public Mixer {
public:
NoOp() : Mixer(0, 0) {}
bool Mix(float* dest, uint32_t dest_frames, uint32_t* dest_offset,
const void* src, uint32_t frac_src_frames, int32_t* frac_src_offset,
bool accumulate, Bookkeeping* info) override;
};
} // namespace mixer
} // namespace audio
} // namespace media
#endif // GARNET_BIN_MEDIA_AUDIO_CORE_MIXER_NO_OP_H_