diff options
| author | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:28 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:28 +0200 |
| commit | 69344560ea394c06ca94acac46a2e4c3e8b7b229 (patch) | |
| tree | ebc98370a697a9bbd6b973a14fa5113c475c6db7 /Modulator/Modulator.hpp | |
| parent | 3e9d10a67671d0bd5c7b8c3ca8088f1818322eff (diff) | |
| parent | 059831534c7e884f0a607ed86b582fd00d821731 (diff) | |
Update upstream source from tag 'upstream/3.2.0_rc1+dfsg'
Update to upstream version '3.2.0~rc1+dfsg'
with Debian dir dbff457fd2c3616d5c77b863c7bfb2186ed86047
Diffstat (limited to 'Modulator/Modulator.hpp')
| -rw-r--r-- | Modulator/Modulator.hpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Modulator/Modulator.hpp b/Modulator/Modulator.hpp index 272e0a33..024c4d5c 100644 --- a/Modulator/Modulator.hpp +++ b/Modulator/Modulator.hpp @@ -3,8 +3,11 @@ #include <QAudio> #include <QPointer> +#include <QVector> #include "Audio/AudioDevice.hpp" +#include "Audio/TxRequest.hpp" +#include "Audio/TxPlaybackEvidence.hpp" class SoundOutput; @@ -35,14 +38,15 @@ public: void set_nsym(int n) {m_symbolsLength=n;} void set_ms0(qint64 ms) {m_ms0=ms;} - Q_SLOT void start (QString mode, unsigned symbolsLength, double framesPerSymbol, double frequency, - double toneSpacing, SoundOutput *, Channel = Mono, - bool synchronize = true, bool fastMode = false, - double dBSNR = 99., double TRperiod=60.0); + Q_SLOT void start (TxEvidence::TxRequest request, SoundOutput *); Q_SLOT void stop (bool quick = false); Q_SLOT void tune (bool newState = true); Q_SLOT void setFrequency (double newFrequency) {m_frequency = newFrequency;} Q_SIGNAL void stateChanged (ModulatorState) const; + Q_SIGNAL void txSourceCommitted (TxEvidence::TxStartSnapshot snapshot) const; + Q_SIGNAL void constrainedStartDecided (qint64 sessionId, qint64 generation, + qint64 windowOpenMs, bool accepted, + qint64 actualStartMs) const; protected: qint64 readData (char * data, qint64 maxSize) override; @@ -82,12 +86,14 @@ private: unsigned m_frameRate; ModulatorState m_state; + QString m_mode; bool m_tuning; bool m_addNoise; bool m_bFastMode; bool m_cwLevel; + QVector<int> m_cwId; unsigned m_ic; unsigned m_icmin; unsigned m_icmax; |
