Commit df6e8f0d authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[cleanup] change some pragma once to include guards

parent bc5608f8
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -30,7 +30,9 @@

*******************************************************************************************************/

#pragma once
#ifndef IVAS_LC3PLUS_COM_H
#define IVAS_LC3PLUS_COM_H


#include <stdint.h>
#include "ivas_error.h"
@@ -51,3 +53,5 @@ typedef struct LC3PLUS_CONFIG

/*! utility function to convert LC3PLUS_Errors to the suitable ivas_error */
ivas_error IVAS_LC3PLUS_LC3plusErrToIvasErr( const LC3PLUS_Error lc3PlusError );

#endif /* IVAS_LC3PLUS_COM_H */
+4 −1
Original line number Diff line number Diff line
@@ -30,7 +30,8 @@

*******************************************************************************************************/

#pragma once
#ifndef IVAS_LC3PLUS_DEC_H
#define IVAS_LC3PLUS_DEC_H

#include <stdint.h>
#include "lc3.h"
@@ -136,3 +137,5 @@ ivas_error IVAS_LC3PLUS_DEC_Conceal(
ivas_error IVAS_LC3PLUS_DEC_AllocateSubframeDecodingMatrix( int16_t ***subframeChannelMatrix, const uint32_t num_decs );

void IVAS_LC3PLUS_DEC_FreeSubframeDecodingMatrix( int16_t **subframeChannelMatrix );

#endif /* IVAS_LC3PLUS_DEC_H */
+4 −1
Original line number Diff line number Diff line
@@ -30,7 +30,8 @@

*******************************************************************************************************/

#pragma once
#ifndef IVAS_LC3PLUS_ENC_H
#define IVAS_LC3PLUS_ENC_H

#include <stdint.h>
#include "lc3.h"
@@ -71,3 +72,5 @@ ivas_error IVAS_LC3PLUS_ENC_Encode(
    float **pcm_in,                 /* i: pointer input samples                            */
    void *bitstream_out             /* o: pointer to bitstream frame                       */
);

#endif /* IVAS_LC3PLUS_ENC_H */