Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: webrtc/modules/audio_processing/audio_processing.cc

Issue 2272563004: Removed inline definitions and added destructors to fix chromium-style. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@real_master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /*
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
11 #include "webrtc/modules/audio_processing/include/audio_processing.h"
12
13 namespace webrtc {
14
15 Beamforming::Beamforming()
16 : enabled(false),
17 array_geometry(),
18 target_direction(
19 SphericalPointf(static_cast<float>(M_PI) / 2.f, 0.f, 1.f)) {}
20 Beamforming::Beamforming(bool enabled, const std::vector<Point>& array_geometry)
21 : Beamforming(enabled,
22 array_geometry,
23 SphericalPointf(static_cast<float>(M_PI) / 2.f, 0.f, 1.f)) {}
24
25 Beamforming::Beamforming(bool enabled,
26 const std::vector<Point>& array_geometry,
27 SphericalPointf target_direction)
28 : enabled(enabled),
29 array_geometry(array_geometry),
30 target_direction(target_direction) {}
31
32 Beamforming::~Beamforming() {}
33
34 int AudioProcessing::StartDebugRecordingForPlatformFile(
35 rtc::PlatformFile handle) {
36 return -1;
37 }
38
39 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/BUILD.gn ('k') | webrtc/modules/audio_processing/audio_processing.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698