1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 23:55:13 -05:00

M17: added missing exports

This commit is contained in:
f4exb 2022-07-31 05:15:58 +02:00
parent e29581a0b2
commit 50f3f71f55
4 changed files with 11 additions and 4 deletions

View File

@ -8,6 +8,8 @@
#include <numeric>
#include <cassert>
#include "export.h"
namespace modemm17
{
@ -37,7 +39,7 @@ namespace modemm17
* @inv sample_index_ is in the interval [0, SAMPLES_PER_SYMBOL).
* @inv clock_ is in the interval [0.9995, 1.0005]
*/
class ClockRecovery
class MODEMM17_API ClockRecovery
{
std::vector<float> estimates_;
size_t sample_count_ = 0;

View File

@ -8,10 +8,12 @@
#include <stdexcept>
#include <algorithm>
#include "export.h"
namespace modemm17
{
struct LinkSetupFrame
struct MODEMM17_API LinkSetupFrame
{
using call_t = std::array<char,10>; // NUL-terminated C-string.
using encoded_call_t = std::array<uint8_t, 6>;

View File

@ -21,6 +21,8 @@
#include <iostream>
#include <memory>
#include "export.h"
namespace modemm17
{
@ -29,7 +31,7 @@ namespace modemm17
* It is used to produce the various symbol sequences but modulation is handled at
* upper level.
*/
struct M17Modulator
struct MODEMM17_API M17Modulator
{
public:
using symbols_t = std::array<int8_t, 192>; // One frame of symbols.

View File

@ -6,10 +6,11 @@
#include <cstdint>
#include <cstddef>
#include "export.h"
namespace modemm17
{
struct M17Randomizer
struct MODEMM17_API M17Randomizer
{
std::array<int8_t, 368> dc_;