1 /*
2  *  Copyright (c) 2011 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 #ifndef WEBRTC_MODULES_AUDIO_CODING_INCLUDE_AUDIO_CODING_MODULE_TYPEDEFS_H_
12 #define WEBRTC_MODULES_AUDIO_CODING_INCLUDE_AUDIO_CODING_MODULE_TYPEDEFS_H_
13 
14 #include <map>
15 
16 #include "webrtc/modules/include/module_common_types.h"
17 #include "webrtc/typedefs.h"
18 
19 namespace webrtc {
20 
21 ///////////////////////////////////////////////////////////////////////////
22 // enum ACMVADMode
23 // An enumerator for aggressiveness of VAD
24 // -VADNormal                : least aggressive mode.
25 // -VADLowBitrate            : more aggressive than "VADNormal" to save on
26 //                             bit-rate.
27 // -VADAggr                  : an aggressive mode.
28 // -VADVeryAggr              : the most agressive mode.
29 //
30 enum ACMVADMode {
31   VADNormal = 0,
32   VADLowBitrate = 1,
33   VADAggr = 2,
34   VADVeryAggr = 3
35 };
36 
37 ///////////////////////////////////////////////////////////////////////////
38 //
39 // Enumeration of Opus mode for intended application.
40 //
41 // kVoip              : optimized for voice signals.
42 // kAudio             : optimized for non-voice signals like music.
43 //
44 enum OpusApplicationMode {
45  kVoip = 0,
46  kAudio = 1,
47 };
48 
49 }  // namespace webrtc
50 
51 #endif  // WEBRTC_MODULES_AUDIO_CODING_INCLUDE_AUDIO_CODING_MODULE_TYPEDEFS_H_
52