You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.1 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  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. #ifndef MODULES_AUDIO_CODING_NETEQ_DEFINES_H_
  11. #define MODULES_AUDIO_CODING_NETEQ_DEFINES_H_
  12. namespace webrtc {
  13. enum Operations {
  14. kNormal = 0,
  15. kMerge,
  16. kExpand,
  17. kAccelerate,
  18. kFastAccelerate,
  19. kPreemptiveExpand,
  20. kRfc3389Cng,
  21. kRfc3389CngNoPacket,
  22. kCodecInternalCng,
  23. kDtmf,
  24. kUndefined = -1
  25. };
  26. enum Modes {
  27. kModeNormal = 0,
  28. kModeExpand,
  29. kModeMerge,
  30. kModeAccelerateSuccess,
  31. kModeAccelerateLowEnergy,
  32. kModeAccelerateFail,
  33. kModePreemptiveExpandSuccess,
  34. kModePreemptiveExpandLowEnergy,
  35. kModePreemptiveExpandFail,
  36. kModeRfc3389Cng,
  37. kModeCodecInternalCng,
  38. kModeCodecPlc,
  39. kModeDtmf,
  40. kModeError,
  41. kModeUndefined = -1
  42. };
  43. } // namespace webrtc
  44. #endif // MODULES_AUDIO_CODING_NETEQ_DEFINES_H_