M17: added missing exports

pull/1370/head
f4exb 2022-07-31 05:15:58 +02:00
rodzic e29581a0b2
commit 50f3f71f55
4 zmienionych plików z 11 dodań i 4 usunięć

Wyświetl plik

@ -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;

Wyświetl plik

@ -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>;

Wyświetl plik

@ -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.

Wyświetl plik

@ -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_;