chromium/media/base/audio_bus_perftest.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "media/base/audio_bus.h"

#include <stdint.h>

#include <memory>

#include "base/containers/heap_array.h"
#include "base/time/time.h"
#include "media/base/audio_sample_types.h"
#include "media/base/fake_audio_render_callback.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/perf/perf_result_reporter.h"

namespace {

perf_test::PerfResultReporter SetUpReporter(const std::string& story_name) {}

}  // namespace

namespace media {

static const int kBenchmarkIterations =;
static const int kSampleRate =;

template <typename T, class SampleTraits>
void RunInterleaveBench(AudioBus* bus,
                        const std::string& trace_name,
                        bool to_interleaved_only = false) {}

// Benchmark the FromInterleaved() and ToInterleaved() methods.
TEST(AudioBusPerfTest, Interleave) {}

TEST(AudioBusPerfTest, DISABLED_ToInterleavedFloat) {}

void RunCopyBench(void (AudioBus::*f)(AudioBus*) const,
                  const std::string& trace_name) {}

TEST(AudioBusPerfTest, DISABLED_CopyBench) {}

}  // namespace media