Commit b61cb898 authored by bayers's avatar bayers
Browse files

disable unused code

parent de03fd1e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -308,10 +308,12 @@ void stereo_dmx_evs_close_encoder(
    STEREO_DMX_EVS_ENC_HANDLE *hStereoDmxEVS                    /* i/o: Stereo downmix for EVS encoder handle   */
);

#ifndef API_5MS
ivas_error ivas_dec(
    Decoder_Struct *st_ivas,                                    /* i  : IVAS decoder structure                  */
    int16_t *data                                               /* o  : output synthesis signal                 */
);
#endif

ivas_error ivas_dec_setup(
    Decoder_Struct *st_ivas,                                    /* i/o: IVAS decoder structure                  */
+2 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@

#include <stdint.h>
#include "options.h"
#ifndef API_5MS
#include "cnst.h"
#include "ivas_cnst.h"
#include "rom_com.h"
@@ -755,3 +756,4 @@ ivas_error ivas_dec(
    pop_wmops();
    return error;
}
#endif
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -77,13 +77,13 @@ struct JB4_DATAUNIT
    int16_t partialCopyOffset;
    int16_t nextCoderType;
};

#ifndef API_5MS
typedef enum
{
    JBM_RENDERER_NONE,
    JBM_RENDERER_IVAS,
} JBM_RENDERER_TYPE;

#endif
typedef struct JB4_DATAUNIT *JB4_DATAUNIT_HANDLE;


+2 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@

#include <stdint.h>
#include "options.h"
#ifndef API_5MS
#include "prot.h"
#include "ivas_prot.h"
#ifdef DEBUGGING
@@ -267,3 +268,4 @@ uint16_t pcmdsp_fifo_nReadableSamplesPerChannel(
{
    return h->size;
}
#endif
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@

#include <stdint.h>
#include "options.h"

#ifndef API_5MS

/** Ringbuffer (FIFO) with fixed capacity for audio samples. */
struct PCMDSP_FIFO
@@ -81,5 +81,5 @@ int16_t pcmdsp_fifo_write_zero( PCMDSP_FIFO_HANDLE h, uint16_t nSamplesPerChanne
int16_t pcmdsp_fifo_read( PCMDSP_FIFO_HANDLE h, uint16_t nSamplesPerChannel, uint8_t *samples );

uint16_t pcmdsp_fifo_nReadableSamplesPerChannel( const PCMDSP_FIFO_HANDLE h );

#endif
#endif /* JBM_PCMDSP_FIFO_H */
Loading