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

Side by Side Diff: webrtc/modules/utility/interface/audio_frame_operations.h

Issue 1417683006: modules: more interface -> include renames (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix last incorrectly wrapped pragma message Created 5 years, 1 month 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
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_VOICE_ENGINE_AUDIO_FRAME_OPERATIONS_H_ 11 #ifndef WEBRTC_MODULES_UTILITY_INCLUDE_AUDIO_FRAME_OPERATIONS_H_
12 #define WEBRTC_VOICE_ENGINE_AUDIO_FRAME_OPERATIONS_H_ 12 #define WEBRTC_MODULES_UTILITY_INCLUDE_AUDIO_FRAME_OPERATIONS_H_
13
14 #pragma message("WARNING: utility/interface is DEPRECATED; use utility/include")
13 15
14 #include "webrtc/typedefs.h" 16 #include "webrtc/typedefs.h"
15 17
16 namespace webrtc { 18 namespace webrtc {
17 19
18 class AudioFrame; 20 class AudioFrame;
19 21
20 // TODO(andrew): consolidate this with utility.h and audio_frame_manipulator.h. 22 // TODO(andrew): consolidate this with utility.h and audio_frame_manipulator.h.
21 // Change reference parameters to pointers. Consider using a namespace rather 23 // Change reference parameters to pointers. Consider using a namespace rather
22 // than a class. 24 // than a class.
(...skipping 25 matching lines...) Expand all
48 // Zeros out the audio and sets |frame.energy| to zero. 50 // Zeros out the audio and sets |frame.energy| to zero.
49 static void Mute(AudioFrame& frame); 51 static void Mute(AudioFrame& frame);
50 52
51 static int Scale(float left, float right, AudioFrame& frame); 53 static int Scale(float left, float right, AudioFrame& frame);
52 54
53 static int ScaleWithSat(float scale, AudioFrame& frame); 55 static int ScaleWithSat(float scale, AudioFrame& frame);
54 }; 56 };
55 57
56 } // namespace webrtc 58 } // namespace webrtc
57 59
58 #endif // #ifndef WEBRTC_VOICE_ENGINE_AUDIO_FRAME_OPERATIONS_H_ 60 #endif // #ifndef WEBRTC_MODULES_UTILITY_INCLUDE_AUDIO_FRAME_OPERATIONS_H_
OLDNEW
« no previous file with comments | « webrtc/modules/utility/include/process_thread.h ('k') | webrtc/modules/utility/interface/file_player.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698