- rename config.h to engine_config.h to avoid possible problems with include directories order

This commit is contained in:
2023-11-26 16:32:32 +03:00
parent 8ec6245496
commit 677faa0615
27 changed files with 33 additions and 29 deletions

View File

@@ -1,7 +1,7 @@
#ifndef MT_AMRCODEC_H
#define MT_AMRCODEC_H
#include "../config.h"
#include "../engine_config.h"
#include <map>
#include "MT_Codec.h"
#include "../helper/HL_Pointer.h"

View File

@@ -5,7 +5,7 @@
#define NOMINMAX
#include "../config.h"
#include "../engine_config.h"
#include "MT_AudioCodec.h"
#include "MT_CodecList.h"
#include "../helper/HL_Exception.h"

View File

@@ -6,7 +6,7 @@
#ifndef __AUDIO_CODEC_H
#define __AUDIO_CODEC_H
#include "../config.h"
#include "../engine_config.h"
#include <map>
#include "MT_Codec.h"
#include "../audio/Audio_Resampler.h"

View File

@@ -5,7 +5,7 @@
#define NOMINMAX
#include "../config.h"
#include "../engine_config.h"
#include "MT_AudioReceiver.h"
#include "MT_AudioCodec.h"
#include "MT_CngHelper.h"

View File

@@ -6,7 +6,7 @@
#ifndef __MT_AUDIOSTREAM_H
#define __MT_AUDIOSTREAM_H
#include "../config.h"
#include "../engine_config.h"
#include "MT_Stream.h"
#include "MT_NativeRtpSender.h"
#include "MT_SingleAudioStream.h"

View File

@@ -1,4 +1,4 @@
#include "../config.h"
#include "../engine_config.h"
#include "MT_CngHelper.h"
#include <stdlib.h>

View File

@@ -5,7 +5,7 @@
#include <algorithm>
#include <list>
#include "../config.h"
#include "../engine_config.h"
#include "MT_CodecList.h"
#include "MT_AudioCodec.h"

View File

@@ -6,7 +6,7 @@
#ifndef __MT_CODEC_LIST_H
#define __MT_CODEC_LIST_H
#include "../config.h"
#include "../engine_config.h"
#if defined(USE_RESIP_INTEGRATION)
# include "resiprocate/resip/stack/SdpContents.hxx"

View File

@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "../config.h"
#include "../engine_config.h"
#include "MT_Dtmf.h"

View File

@@ -6,7 +6,7 @@
#ifndef MT_DTMF
#define MT_DTMF
#include "../config.h"
#include "../engine_config.h"
#include <vector>
#include <string>
#include "../helper/HL_ByteBuffer.h"

View File

@@ -1,5 +1,7 @@
#pragma once
#ifndef __MT_EVS_CODEC_H
#define __MT_EVS_CODEC_H
#include "../engine_config.h"
#include <set>
#include <map>
#include <memory>
@@ -10,7 +12,6 @@
#include <assert.h>
#include <sstream>
#include "config.h"
#include "MT_Codec.h"
#include "libevs/lib_com/prot.h"
@@ -40,7 +41,7 @@ public:
public:
EVSFactory(StreamParameters& sp);
const char* name() { return MT_EVS_CODECNAME; };
const char* name() { return MT_EVS_CODECNAME; }
int samplerate();
int payloadType();
PCodec create();
@@ -51,7 +52,7 @@ public:
EVSCodec(const StreamParameters& sp);
~EVSCodec() override;
const char* name() override { return MT_EVS_CODECNAME; } ;
const char* name() override { return MT_EVS_CODECNAME; }
int samplerate() override;
int pcmLength() override;
int frameTime() override;
@@ -68,3 +69,5 @@ private:
};
} // End of namespace
#endif

View File

@@ -6,7 +6,7 @@
#ifndef __MT_NATIVE_RTP_SENDER_H
#define __MT_NATIVE_RTP_SENDER_H
#include "../config.h"
#include "../engine_config.h"
#include "jrtplib/src/rtpexternaltransmitter.h"
#include "srtp/include/srtp.h"
#include "../helper/HL_NetworkSocket.h"

View File

@@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "../config.h"
#include "../engine_config.h"
#include "MT_WebRtc.h"
#include "../helper/HL_Exception.h"