mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-24 09:35:40 +08:00
Merge branch 'mqtt' into mqtt_plus
This commit is contained in:
10
FMNetwork.h
10
FMNetwork.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020,2021,2023 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2020,2021,2023,2024 by Jonathan Naylor G4KLX
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -16,7 +16,7 @@
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#ifndef FMNetwork_H
|
||||
#if !defined(FMNetwork_H)
|
||||
#define FMNetwork_H
|
||||
|
||||
#include "RingBuffer.h"
|
||||
@@ -25,7 +25,9 @@
|
||||
|
||||
#if defined(USE_FM)
|
||||
|
||||
#if defined(HAS_SRC)
|
||||
#include <samplerate.h>
|
||||
#endif
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
@@ -68,9 +70,11 @@ private:
|
||||
bool m_enabled;
|
||||
CRingBuffer<unsigned char> m_buffer;
|
||||
unsigned int m_seqNo;
|
||||
#if defined(HAS_SRC)
|
||||
SRC_STATE* m_resampler;
|
||||
#endif
|
||||
int m_error;
|
||||
int m_fd;
|
||||
FILE* m_fp;
|
||||
|
||||
bool writeUSRPStart();
|
||||
bool writeRawStart();
|
||||
|
||||
Reference in New Issue
Block a user