Commit b30693b5 authored by sagnowski's avatar sagnowski
Browse files

Use new preprocessor switch also in unit tests

parent 073c31e4
Loading
Loading
Loading
Loading
+32 −32
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ the United Nations Convention on Contracts on the International Sales of Goods.
#endif

#ifdef SPLIT_REND_WITH_HEAD_ROT
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
#define MAX_SAMPLES_PER_CHANNEL 960 / 4
#else
#define MAX_SAMPLES_PER_CHANNEL 960
@@ -95,7 +95,7 @@ static int encodeAndDecodeOneStereoFrame( LC3PLUS_CONFIG config, uint32_t bps )
    uint8_t *bitstream_out = malloc( bitstreamSizePerIvasFrame );
    memset( bitstream_out, 0, bitstreamSizePerIvasFrame );

#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    int perChannelBitrate = lc3plus_enc_get_real_bitrate(encHandle->handles[0]);
    int perLc3plusFrameDataBlockOctets = encHandle->num_ftds * perChannelBitrate / 8 / (1000*1000/config.lc3plus_frame_duration_us);
    int targetOctets =  bps / 8 / (1000*1000/config.isar_frame_duration_us);
@@ -193,7 +193,7 @@ static int encodeAndDecodeOneStereoFrame( LC3PLUS_CONFIG config, uint32_t bps )
static int openCloseEncoder( void )
{
    ivas_error err;
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 5 * 1000, .isar_frame_duration_us = 5000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 20000, .channels = 1, .samplerate = 48000 };
@@ -214,7 +214,7 @@ static int openCloseEncoder( void )
static int tryOpenEncoderWithInvalidBitrate( void )
{
    ivas_error err;
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 5 * 1000, .isar_frame_duration_us = 5000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 20000, .channels = 1, .samplerate = 48000 };
@@ -258,7 +258,7 @@ static int tryOpenEncoderWithInvalidBitrate( void )
static int tryOpenEncoderWithInvalidFrameDuration( void )
{
    ivas_error err;
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 5 * 1000, .isar_frame_duration_us = 5000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 20000, .channels = 1, .samplerate = 48000 };
@@ -279,7 +279,7 @@ static int tryOpenEncoderWithInvalidFrameDuration( void )
static int tryOpenEncoderWithInvalidSampleRate( void )
{
    ivas_error err;
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 5 * 1000, .isar_frame_duration_us = 5000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 20000, .channels = 1, .samplerate = 48000 };
@@ -323,7 +323,7 @@ static int tryCallEncoderApiWithInvalidParams( void )
        return 1;
    }
    ISAR_LC3PLUS_ENC_Close( &invalidEncHandle );
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    if ( IVAS_ERR_UNEXPECTED_NULL_POINTER != ISAR_LC3PLUS_ENC_Encode( invalidEncHandle, invalidPcm_in, invalidBitstream_out, bsSize ) )
#else
    if ( IVAS_ERR_UNEXPECTED_NULL_POINTER != ISAR_LC3PLUS_ENC_Encode( invalidEncHandle, invalidPcm_in, invalidBitstream_out ) )
@@ -331,7 +331,7 @@ static int tryCallEncoderApiWithInvalidParams( void )
    {
        return 1;
    }
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    if ( IVAS_ERR_UNEXPECTED_NULL_POINTER != ISAR_LC3PLUS_ENC_Encode( invalidEncHandle, pcm_in, invalidBitstream_out, bsSize ) || IVAS_ERR_UNEXPECTED_NULL_POINTER != ISAR_LC3PLUS_ENC_Encode( invalidEncHandle, invalidPcm_in, bitstream_out, bsSize ) || IVAS_ERR_UNEXPECTED_NULL_POINTER != ISAR_LC3PLUS_ENC_Encode( invalidEncHandle, pcm_in, bitstream_out, bsSize ) )
#else
    if ( IVAS_ERR_UNEXPECTED_NULL_POINTER != ISAR_LC3PLUS_ENC_Encode( invalidEncHandle, pcm_in, invalidBitstream_out ) || IVAS_ERR_UNEXPECTED_NULL_POINTER != ISAR_LC3PLUS_ENC_Encode( invalidEncHandle, invalidPcm_in, bitstream_out ) || IVAS_ERR_UNEXPECTED_NULL_POINTER != ISAR_LC3PLUS_ENC_Encode( invalidEncHandle, pcm_in, bitstream_out ) )
@@ -381,7 +381,7 @@ static int tryCallDecoderApiWithInvalidParams( void )
static int openCloseDecoderWithCaching( void )
{
    ivas_error err;
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 5 * 1000, .isar_frame_duration_us = 5000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 20000, .channels = 1, .samplerate = 48000 };
@@ -404,7 +404,7 @@ static int openCloseDecoderWithCaching( void )
static int openCloseDecoderWithoutCaching( void )
{
    ivas_error err;
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 5 * 1000, .isar_frame_duration_us = 5000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 20000, .channels = 1, .samplerate = 48000 };
@@ -428,7 +428,7 @@ static int openCloseDecoderWithoutCaching( void )
static int tryOpenDecoderWithInvalidFrameDuration( void )
{
    ivas_error err;
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 5 * 1000, .isar_frame_duration_us = 5000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 20000, .channels = 1, .samplerate = 48000 };
@@ -452,7 +452,7 @@ static int tryOpenDecoderWithInvalidFrameDuration( void )
static int tryOpenDecoderWithInvalidSampleRate( void )
{
    ivas_error err;
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 5 * 1000, .isar_frame_duration_us = 5000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 20000, .channels = 1, .samplerate = 48000 };
@@ -476,7 +476,7 @@ static int tryOpenDecoderWithInvalidSampleRate( void )
static int encodeOneFrame( void )
{
    ivas_error err;
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 5 * 1000, .isar_frame_duration_us = 5000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 20000, .channels = 1, .samplerate = 48000 };
@@ -501,7 +501,7 @@ static int encodeOneFrame( void )
        return err;
    uint8_t *bitstream_out = malloc( bitstreamSizePerIvasFrame );
    memset( bitstream_out, 0, bitstreamSizePerIvasFrame );
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    err = ISAR_LC3PLUS_ENC_Encode( encHandle, pcm, bitstream_out, bitstreamSizePerIvasFrame );
#else
    err = ISAR_LC3PLUS_ENC_Encode( encHandle, pcm, bitstream_out );
@@ -518,7 +518,7 @@ static int encodeOneFrame( void )
static int encodeAndDecodeOneMonoFrame( void )
{
    ivas_error err;
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 5 * 1000, .isar_frame_duration_us = 5000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 20000, .channels = 1, .samplerate = 48000 };
@@ -546,7 +546,7 @@ static int encodeAndDecodeOneMonoFrame( void )

    uint8_t *bitstream_out = malloc( bitstreamSizePerIvasFrame );
    memset( bitstream_out, 0, bitstreamSizePerIvasFrame );
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    err = ISAR_LC3PLUS_ENC_Encode( encHandle, pcm_in, bitstream_out, bitstreamSizePerIvasFrame );
#else
    err = ISAR_LC3PLUS_ENC_Encode( encHandle, pcm_in, bitstream_out );
@@ -593,7 +593,7 @@ static int encodeAndDecodeOneMonoFrame( void )

static int encodeAndDecodeOneStereoFrameIvas20msLc3plus10ms_48kHz( void )
{
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 20 * 1000, .channels = 2, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 20 * 1000, .channels = 2, .samplerate = 48000 };
@@ -615,7 +615,7 @@ static int encodeAndDecodeOneStereoFrameIvas20msLc3plus10ms_16kHz( void )

static int encodeAndDecodeOneStereoFrameIvas5msLc3plus5ms_48kHz( void )
{
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 5 * 1000, .isar_frame_duration_us = 5 * 1000, .channels = 2, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 5 * 1000, .isar_frame_duration_us = 5 * 1000, .channels = 2, .samplerate = 48000 };
@@ -625,7 +625,7 @@ static int encodeAndDecodeOneStereoFrameIvas5msLc3plus5ms_48kHz( void )

static int encodeAndDecodeOneStereoFrameIvas10msLc3plus10ms_48kHz( void )
{
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 2, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 5 * 1000, .isar_frame_duration_us = 5 * 1000, .channels = 2, .samplerate = 48000 };
@@ -635,7 +635,7 @@ static int encodeAndDecodeOneStereoFrameIvas10msLc3plus10ms_48kHz( void )

static int encodeAndDecodeOneMonoFrameIvas20msLc3plus10ms_48kHz( void )
{
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 20 * 1000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 20 * 1000, .channels = 1, .samplerate = 48000 };
@@ -645,7 +645,7 @@ static int encodeAndDecodeOneMonoFrameIvas20msLc3plus10ms_48kHz( void )

static int encodeAndDecodeOneMonoFrameIvas5msLc3plus5ms_48kHz( void )
{
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 5 * 1000, .isar_frame_duration_us = 5 * 1000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 5 * 1000, .isar_frame_duration_us = 5 * 1000, .channels = 1, .samplerate = 48000 };
@@ -655,7 +655,7 @@ static int encodeAndDecodeOneMonoFrameIvas5msLc3plus5ms_48kHz( void )

static int encodeAndDecodeOneStereoFrameIvas20msLc3plus2_5ms_48kHz( void )
{
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 2.5 * 1000, .isar_frame_duration_us = 20 * 1000, .channels = 2, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 2.5 * 1000, .isar_frame_duration_us = 20 * 1000, .channels = 2, .samplerate = 48000 };
@@ -666,7 +666,7 @@ static int encodeAndDecodeOneStereoFrameIvas20msLc3plus2_5ms_48kHz( void )

static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_80kbpsPerChannel( void )
{
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 2, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 2, .samplerate = 48000 };
@@ -676,7 +676,7 @@ static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_80kbpsPerChannel(

static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_96kbpsPerChannel( void )
{
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 2, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 2, .samplerate = 48000 };
@@ -686,7 +686,7 @@ static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_96kbpsPerChannel(

static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_124kbpsPerChannel( void )
{
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 2, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 2, .samplerate = 48000 };
@@ -697,7 +697,7 @@ static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_124kbpsPerChannel
#ifdef LC3PLUS_VBR
static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_800kbpsPerChannel( void )
{
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 2, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 2, .samplerate = 48000 };
@@ -708,7 +708,7 @@ static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_800kbpsPerChannel

static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_204800bpsPerChannel( void )
{
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 2, .samplerate = 48000 };
@@ -718,7 +718,7 @@ static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_204800bpsPerChann

static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_205600bpsPerChannel( void )
{
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 2, .samplerate = 48000 };
@@ -728,7 +728,7 @@ static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_205600bpsPerChann

static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_206400bpsPerChannel( void )
{
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 2, .samplerate = 48000 };
@@ -738,7 +738,7 @@ static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_206400bpsPerChann

static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_207200bpsPerChannel( void )
{
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 1, .samplerate = 48000, .high_res_mode_enabled = 0 };
#else
    LC3PLUS_CONFIG config = { .lc3plus_frame_duration_us = 10 * 1000, .isar_frame_duration_us = 10 * 1000, .channels = 2, .samplerate = 48000 };
@@ -746,7 +746,7 @@ static int encodeAndDecodeOneStereoFrameIvas10msLc3_10ms_48kHz_207200bpsPerChann
    return encodeAndDecodeOneStereoFrame( config, config.channels * 207200 );
}

#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
#include "ivas_lc3plus_unit_test_payload_format.c"
#endif

@@ -845,7 +845,7 @@ int main(
    if ( ret != 0 )
        return 1;
    /* end configs around the FDL threshold */
#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS
    ret = run_all_payload_tests();
    if ( ret != 0 )
        return 1;
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ the United Nations Convention on Contracts on the International Sales of Goods.
#include "isar_lc3plus_common.h"
#include "options.h"

#ifdef LC3PLUS_RTP_PAYLOAD_FORMAT
#ifdef ISAR_BITSTREAM_UPDATE_LC3PLUS

/* included by ivas_lc3plus_unit_test.c */