henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2012 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 Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame^] | 11 | #ifndef MODULES_AUDIO_CODING_NETEQ_DEFINES_H_ |
| 12 | #define MODULES_AUDIO_CODING_NETEQ_DEFINES_H_ |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 13 | |
| 14 | namespace webrtc { |
| 15 | |
| 16 | enum Operations { |
| 17 | kNormal = 0, |
| 18 | kMerge, |
| 19 | kExpand, |
| 20 | kAccelerate, |
Henrik Lundin | cf808d2 | 2015-05-27 14:33:29 +0200 | [diff] [blame] | 21 | kFastAccelerate, |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 22 | kPreemptiveExpand, |
| 23 | kRfc3389Cng, |
| 24 | kRfc3389CngNoPacket, |
| 25 | kCodecInternalCng, |
| 26 | kDtmf, |
| 27 | kAlternativePlc, |
| 28 | kAlternativePlcIncreaseTimestamp, |
| 29 | kAudioRepetition, |
| 30 | kAudioRepetitionIncreaseTimestamp, |
| 31 | kUndefined = -1 |
| 32 | }; |
| 33 | |
| 34 | enum Modes { |
| 35 | kModeNormal = 0, |
| 36 | kModeExpand, |
| 37 | kModeMerge, |
| 38 | kModeAccelerateSuccess, |
| 39 | kModeAccelerateLowEnergy, |
| 40 | kModeAccelerateFail, |
| 41 | kModePreemptiveExpandSuccess, |
| 42 | kModePreemptiveExpandLowEnergy, |
| 43 | kModePreemptiveExpandFail, |
| 44 | kModeRfc3389Cng, |
| 45 | kModeCodecInternalCng, |
| 46 | kModeDtmf, |
| 47 | kModeError, |
| 48 | kModeUndefined = -1 |
| 49 | }; |
| 50 | |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 51 | } // namespace webrtc |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame^] | 52 | #endif // MODULES_AUDIO_CODING_NETEQ_DEFINES_H_ |