Loading lib_com/ivas_error.h +4 −0 Original line number Diff line number Diff line Loading @@ -147,6 +147,7 @@ typedef enum IVAS_ERR_LC3PLUS_INVALID_BITRATE, IVAS_ERR_INVALID_SPLIT_REND_CONFIG, #ifdef IVAS_RTPDUMP /*----------------------------------------* * rtp errors * *----------------------------------------*/ Loading @@ -154,6 +155,7 @@ typedef enum IVAS_ERR_RTP_INSUFFICIENT_OUTPUT_SIZE, IVAS_ERR_RTP_UNPACK_PI_DATA, IVAS_ERR_RTP_UNSUPPORTED_FRAME, #endif /*----------------------------------------* * unknown error * Loading Loading @@ -294,6 +296,7 @@ static inline const char *ivas_error_to_string( ivas_error error_code ) { return "data error"; } #ifdef IVAS_RTPDUMP if ( ( error_code & 0x7000 ) == 0x7000 ) { switch ( error_code ) Loading @@ -310,6 +313,7 @@ static inline const char *ivas_error_to_string( ivas_error error_code ) return "rtp error"; } } #endif return "Unknown error"; } Loading Loading
lib_com/ivas_error.h +4 −0 Original line number Diff line number Diff line Loading @@ -147,6 +147,7 @@ typedef enum IVAS_ERR_LC3PLUS_INVALID_BITRATE, IVAS_ERR_INVALID_SPLIT_REND_CONFIG, #ifdef IVAS_RTPDUMP /*----------------------------------------* * rtp errors * *----------------------------------------*/ Loading @@ -154,6 +155,7 @@ typedef enum IVAS_ERR_RTP_INSUFFICIENT_OUTPUT_SIZE, IVAS_ERR_RTP_UNPACK_PI_DATA, IVAS_ERR_RTP_UNSUPPORTED_FRAME, #endif /*----------------------------------------* * unknown error * Loading Loading @@ -294,6 +296,7 @@ static inline const char *ivas_error_to_string( ivas_error error_code ) { return "data error"; } #ifdef IVAS_RTPDUMP if ( ( error_code & 0x7000 ) == 0x7000 ) { switch ( error_code ) Loading @@ -310,6 +313,7 @@ static inline const char *ivas_error_to_string( ivas_error error_code ) return "rtp error"; } } #endif return "Unknown error"; } Loading