Merge branch 'master' into IAX

This commit is contained in:
Jonathan Naylor
2024-07-15 13:56:48 +01:00
2 changed files with 11 additions and 4 deletions

View File

@@ -79,6 +79,13 @@ bool CFMRAWNetwork::open()
LogMessage("Opening FM RAW network connection");
#if !defined(HAS_SRC)
if (m_sampleRate != MMDVM_SAMPLERATE) {
LogError("The resampler needed for non-native sample rates has not been included");
return false;
}
#endif
if (!m_squelchFile.empty()) {
m_fp = ::fopen(m_squelchFile.c_str(), "wb");
if (m_fp == NULL) {