Loading lib_com/ivas_error.h +16 −0 Original line number Diff line number Diff line Loading @@ -296,6 +296,22 @@ static inline const char *ivas_error_to_string( ivas_error error_code ) { return "data error"; } if ( ( error_code & 0x7000 ) == 0x7000 ) { switch ( error_code ) { case IVAS_ERR_RTP_UNDERFLOW: return "RTP Undeflow in reading frame/packet"; case IVAS_ERR_RTP_INSUFFICIENT_OUTPUT_SIZE: return "Output buffer size is insufficient"; case IVAS_ERR_RTP_UNPACK_PI_DATA: return "Unpacking PI data failure"; case IVAS_ERR_RTP_UNSUPPORTED_FRAME: return "Unsupported RTP frame"; default: return "rtp error"; } } return "Unknown error"; } Loading lib_util/ivas_bpool.h +1 −2 Original line number Diff line number Diff line Loading @@ -33,9 +33,8 @@ #ifndef IVAS_BPOOL_H #define IVAS_BPOOL_H #include <stdint.h> #include <stddef.h> #include "ivas_error.h" #include "common_api_types.h" /* Forward declaraiton of opaque buffer pool handle */ typedef struct BPOOL *BPOOL_HANDLE; Loading lib_util/ivas_queue.h +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ #define IVAS_QUEUE_H #include <stddef.h> #include "ivas_error.h" #include "common_api_types.h" typedef struct NODE { Loading lib_util/ivas_rtp_api.h +526 −538 Original line number Diff line number Diff line Loading @@ -33,17 +33,9 @@ #ifndef IVAS_RTP_API_H #define IVAS_RTP_API_H #pragma once #include <stddef.h> #include <stdbool.h> #include <stdint.h> #include "options.h" #include "ivas_error.h" #ifdef __cplusplus extern "C" { #endif #include "common_api_types.h" /* * +-----------------------+---------------------+--------------------+----------+ Loading Loading @@ -596,8 +588,4 @@ extern "C" uint32_t *timestamp /* o : timestamp in RTP Clock @ 16KHz */ ); #ifdef __cplusplus } #endif #endif /* IVAS_RTP_API_H */ lib_util/ivas_rtp_file.h +7 −7 Original line number Diff line number Diff line Loading @@ -33,9 +33,9 @@ #ifndef IVAS_RTP_FILE_H #define IVAS_RTP_FILE_H #include <stdint.h> #include <stddef.h> #include "ivas_error.h" #include <stdbool.h> #include "common_api_types.h" typedef struct IVAS_RTP_FILE *IVAS_RTP_FILE_HANDLE; Loading Loading
lib_com/ivas_error.h +16 −0 Original line number Diff line number Diff line Loading @@ -296,6 +296,22 @@ static inline const char *ivas_error_to_string( ivas_error error_code ) { return "data error"; } if ( ( error_code & 0x7000 ) == 0x7000 ) { switch ( error_code ) { case IVAS_ERR_RTP_UNDERFLOW: return "RTP Undeflow in reading frame/packet"; case IVAS_ERR_RTP_INSUFFICIENT_OUTPUT_SIZE: return "Output buffer size is insufficient"; case IVAS_ERR_RTP_UNPACK_PI_DATA: return "Unpacking PI data failure"; case IVAS_ERR_RTP_UNSUPPORTED_FRAME: return "Unsupported RTP frame"; default: return "rtp error"; } } return "Unknown error"; } Loading
lib_util/ivas_bpool.h +1 −2 Original line number Diff line number Diff line Loading @@ -33,9 +33,8 @@ #ifndef IVAS_BPOOL_H #define IVAS_BPOOL_H #include <stdint.h> #include <stddef.h> #include "ivas_error.h" #include "common_api_types.h" /* Forward declaraiton of opaque buffer pool handle */ typedef struct BPOOL *BPOOL_HANDLE; Loading
lib_util/ivas_queue.h +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ #define IVAS_QUEUE_H #include <stddef.h> #include "ivas_error.h" #include "common_api_types.h" typedef struct NODE { Loading
lib_util/ivas_rtp_api.h +526 −538 Original line number Diff line number Diff line Loading @@ -33,17 +33,9 @@ #ifndef IVAS_RTP_API_H #define IVAS_RTP_API_H #pragma once #include <stddef.h> #include <stdbool.h> #include <stdint.h> #include "options.h" #include "ivas_error.h" #ifdef __cplusplus extern "C" { #endif #include "common_api_types.h" /* * +-----------------------+---------------------+--------------------+----------+ Loading Loading @@ -596,8 +588,4 @@ extern "C" uint32_t *timestamp /* o : timestamp in RTP Clock @ 16KHz */ ); #ifdef __cplusplus } #endif #endif /* IVAS_RTP_API_H */
lib_util/ivas_rtp_file.h +7 −7 Original line number Diff line number Diff line Loading @@ -33,9 +33,9 @@ #ifndef IVAS_RTP_FILE_H #define IVAS_RTP_FILE_H #include <stdint.h> #include <stddef.h> #include "ivas_error.h" #include <stdbool.h> #include "common_api_types.h" typedef struct IVAS_RTP_FILE *IVAS_RTP_FILE_HANDLE; Loading