blob: 8410a3dfbbf9316e0dbdbd1328d801544524dbe0 [file] [log] [blame]
aleloi5f099802016-08-25 00:45:31 -07001/*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020011#include "modules/audio_processing/include/audio_processing.h"
aleloi5f099802016-08-25 00:45:31 -070012
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020013#include "rtc_base/checks.h"
aleloi868f32f2017-05-23 07:20:05 -070014
aleloi5f099802016-08-25 00:45:31 -070015namespace webrtc {
16
17Beamforming::Beamforming()
18 : enabled(false),
19 array_geometry(),
20 target_direction(
21 SphericalPointf(static_cast<float>(M_PI) / 2.f, 0.f, 1.f)) {}
22Beamforming::Beamforming(bool enabled, const std::vector<Point>& array_geometry)
23 : Beamforming(enabled,
24 array_geometry,
25 SphericalPointf(static_cast<float>(M_PI) / 2.f, 0.f, 1.f)) {}
26
27Beamforming::Beamforming(bool enabled,
28 const std::vector<Point>& array_geometry,
29 SphericalPointf target_direction)
30 : enabled(enabled),
31 array_geometry(array_geometry),
32 target_direction(target_direction) {}
33
34Beamforming::~Beamforming() {}
aleloi5f099802016-08-25 00:45:31 -070035} // namespace webrtc