mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-10-31 15:07:12 -04:00
M17: added missing exports
This commit is contained in:
parent
e29581a0b2
commit
50f3f71f55
@ -8,6 +8,8 @@
|
|||||||
#include <numeric>
|
#include <numeric>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
|
#include "export.h"
|
||||||
|
|
||||||
namespace modemm17
|
namespace modemm17
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -37,7 +39,7 @@ namespace modemm17
|
|||||||
* @inv sample_index_ is in the interval [0, SAMPLES_PER_SYMBOL).
|
* @inv sample_index_ is in the interval [0, SAMPLES_PER_SYMBOL).
|
||||||
* @inv clock_ is in the interval [0.9995, 1.0005]
|
* @inv clock_ is in the interval [0.9995, 1.0005]
|
||||||
*/
|
*/
|
||||||
class ClockRecovery
|
class MODEMM17_API ClockRecovery
|
||||||
{
|
{
|
||||||
std::vector<float> estimates_;
|
std::vector<float> estimates_;
|
||||||
size_t sample_count_ = 0;
|
size_t sample_count_ = 0;
|
||||||
|
@ -8,10 +8,12 @@
|
|||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
#include "export.h"
|
||||||
|
|
||||||
namespace modemm17
|
namespace modemm17
|
||||||
{
|
{
|
||||||
|
|
||||||
struct LinkSetupFrame
|
struct MODEMM17_API LinkSetupFrame
|
||||||
{
|
{
|
||||||
using call_t = std::array<char,10>; // NUL-terminated C-string.
|
using call_t = std::array<char,10>; // NUL-terminated C-string.
|
||||||
using encoded_call_t = std::array<uint8_t, 6>;
|
using encoded_call_t = std::array<uint8_t, 6>;
|
||||||
|
@ -21,6 +21,8 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
#include "export.h"
|
||||||
|
|
||||||
namespace modemm17
|
namespace modemm17
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -29,7 +31,7 @@ namespace modemm17
|
|||||||
* It is used to produce the various symbol sequences but modulation is handled at
|
* It is used to produce the various symbol sequences but modulation is handled at
|
||||||
* upper level.
|
* upper level.
|
||||||
*/
|
*/
|
||||||
struct M17Modulator
|
struct MODEMM17_API M17Modulator
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using symbols_t = std::array<int8_t, 192>; // One frame of symbols.
|
using symbols_t = std::array<int8_t, 192>; // One frame of symbols.
|
||||||
|
@ -6,10 +6,11 @@
|
|||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
|
||||||
|
#include "export.h"
|
||||||
namespace modemm17
|
namespace modemm17
|
||||||
{
|
{
|
||||||
|
|
||||||
struct M17Randomizer
|
struct MODEMM17_API M17Randomizer
|
||||||
{
|
{
|
||||||
std::array<int8_t, 368> dc_;
|
std::array<int8_t, 368> dc_;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user