summaryrefslogtreecommitdiffstats
path: root/src/OutputUHD.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-02-12 10:20:54 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-02-12 10:20:54 +0100
commit277d29a529c37a8fe59883291e43db8ff8831b22 (patch)
treed8590184bfd382e98fa8448ddb32a170671cecc8 /src/OutputUHD.h
parent958e286699348c1c2110155efd2a1682fb6a1ac4 (diff)
downloaddabmod-277d29a529c37a8fe59883291e43db8ff8831b22.tar.gz
dabmod-277d29a529c37a8fe59883291e43db8ff8831b22.tar.bz2
dabmod-277d29a529c37a8fe59883291e43db8ff8831b22.zip
indentation
Diffstat (limited to 'src/OutputUHD.h')
-rw-r--r--src/OutputUHD.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/OutputUHD.h b/src/OutputUHD.h
index d002e98..c5d561b 100644
--- a/src/OutputUHD.h
+++ b/src/OutputUHD.h
@@ -171,7 +171,7 @@ struct OutputUHDConfig {
double txgain;
bool enableSync;
bool muteNoTimestamps;
- unsigned dabMode;
+ unsigned dabMode;
/* allowed values : auto, int, sma, mimo */
std::string refclk_src;
@@ -232,12 +232,13 @@ class OutputUHD: public ModOutput, public RemoteControllable {
bool myMuting;
private:
- // methods
- void SetDelayBuffer(unsigned int dabMode);
+ // Resize the internal delay buffer according to the dabMode and
+ // the sample rate.
+ void SetDelayBuffer(unsigned int dabMode);
// data
int myStaticDelayUs; // static delay in microseconds
- int myTFDurationMs; // TF duration in milliseconds
+ int myTFDurationMs; // TF duration in milliseconds
std::vector<complexf> myDelayBuf;
size_t lastLen;
};