Merge branch 'master' into IAX

This commit is contained in:
Jonathan Naylor
2024-07-03 11:55:00 +01:00
24 changed files with 245 additions and 60 deletions

View File

@@ -23,7 +23,9 @@
#include "RingBuffer.h"
#include "UDPSocket.h"
#if defined(HAS_SRC)
#include <samplerate.h>
#endif
#include <cstdint>
#include <string>
@@ -60,9 +62,11 @@ private:
bool m_debug;
bool m_enabled;
CRingBuffer<unsigned char> m_buffer;
#if defined(HAS_SRC)
SRC_STATE* m_resampler;
int m_error;
int m_fd;
#endif
FILE* m_fp;
};
#endif