// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "remoting/host/audio_silence_detector.h" #include <stdint.h> #include "testing/gtest/include/gtest/gtest.h" namespace remoting { namespace { const int kSamplingRate = …; void TestSilenceDetector(AudioSilenceDetector* target, const int16_t* samples, int samples_count, bool silence_expected) { … } } // namespace TEST(AudioSilenceDetectorTest, Silence) { … } TEST(AudioSilenceDetectorTest, Sound) { … } TEST(AudioSilenceDetectorTest, Threshold) { … } } // namespace remoting