Note: We no longer publish the latest version of our code here. We primarily use a kumc-bmi github organization. The heron ETL repository, in particular, is not public. Peers in the informatics community should see MultiSiteDev for details on requesting access.

source: webrtc/webrtc/modules/audio_coding/neteq/neteq_error_codes.h @ 0:4bda6873e34c

pub_scrub_3792 tip
Last change on this file since 0:4bda6873e34c was 0:4bda6873e34c, checked in by Michael Prittie <mprittie@…>, 6 years ago

Scrubbed password for publication.

File size: 2.8 KB
Line 
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/*
12 * Definition of error codes.
13 *
14 * NOTE: When modifying the error codes,
15 * also modify the function WebRtcNetEQ_GetErrorCode!
16 */
17
18#if !defined NETEQ_ERROR_CODES_H
19#define NETEQ_ERROR_CODES_H
20
21/* Misc Error */
22#define NETEQ_OTHER_ERROR               -1000
23
24/* Misc Recout Errors */
25#define FAULTY_INSTRUCTION              -1001
26#define FAULTY_NETWORK_TYPE             -1002
27#define FAULTY_DELAYVALUE               -1003
28#define FAULTY_PLAYOUTMODE              -1004
29#define CORRUPT_INSTANCE                -1005
30#define ILLEGAL_MASTER_SLAVE_SWITCH     -1006
31#define MASTER_SLAVE_ERROR              -1007
32
33/* Misc Recout problems */
34#define UNKNOWN_BUFSTAT_DECISION        -2001
35#define RECOUT_ERROR_DECODING           -2002
36#define RECOUT_ERROR_SAMPLEUNDERRUN     -2003
37#define RECOUT_ERROR_DECODED_TOO_MUCH   -2004
38
39/* Misc RecIn problems */
40#define RECIN_CNG_ERROR                 -3001
41#define RECIN_UNKNOWNPAYLOAD            -3002
42#define RECIN_BUFFERINSERT_ERROR        -3003
43#define RECIN_SYNC_RTP_CHANGED_CODEC    -3004
44#define RECIN_SYNC_RTP_NOT_ACCEPTABLE   -3005
45
46/* PBUFFER/BUFSTAT ERRORS */
47#define PBUFFER_INIT_ERROR              -4001
48#define PBUFFER_INSERT_ERROR1           -4002
49#define PBUFFER_INSERT_ERROR2           -4003
50#define PBUFFER_INSERT_ERROR3           -4004
51#define PBUFFER_INSERT_ERROR4           -4005
52#define PBUFFER_INSERT_ERROR5           -4006
53#define UNKNOWN_G723_HEADER             -4007
54#define PBUFFER_NONEXISTING_PACKET      -4008
55#define PBUFFER_NOT_INITIALIZED         -4009
56#define AMBIGUOUS_ILBC_FRAME_SIZE       -4010
57
58/* CODEC DATABASE ERRORS */
59#define CODEC_DB_FULL                   -5001
60#define CODEC_DB_NOT_EXIST1             -5002
61#define CODEC_DB_NOT_EXIST2             -5003
62#define CODEC_DB_NOT_EXIST3             -5004
63#define CODEC_DB_NOT_EXIST4             -5005
64#define CODEC_DB_UNKNOWN_CODEC          -5006
65#define CODEC_DB_PAYLOAD_TAKEN          -5007
66#define CODEC_DB_UNSUPPORTED_CODEC      -5008
67#define CODEC_DB_UNSUPPORTED_FS         -5009
68
69/* DTMF ERRORS */
70#define DTMF_DEC_PARAMETER_ERROR        -6001
71#define DTMF_INSERT_ERROR               -6002
72#define DTMF_GEN_UNKNOWN_SAMP_FREQ      -6003
73#define DTMF_NOT_SUPPORTED              -6004
74
75/* RTP/PACKET ERRORS */
76#define RED_SPLIT_ERROR1                -7001
77#define RED_SPLIT_ERROR2                -7002
78#define RTP_TOO_SHORT_PACKET            -7003
79#define RTP_CORRUPT_PACKET              -7004
80
81#endif
Note: See TracBrowser for help on using the repository browser.