// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/40285824): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "remoting/host/audio_volume_filter.h" namespace remoting { AudioVolumeFilter::AudioVolumeFilter(int silence_threshold) : … { … } AudioVolumeFilter::~AudioVolumeFilter() = default; bool AudioVolumeFilter::Apply(int16_t* data, size_t frames) { … } void AudioVolumeFilter::Initialize(int sampling_rate, int channels) { … } } // namespace remoting