summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-12-25 16:17:29 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-12-25 16:17:29 +0100
commitb9b0b1ff957d72407cd2b6a28a18c34a3038b159 (patch)
treeaec8ce32091ec66810d0c52725fa136f1b445d58
parent289ca8255ec7341530327a4b118372276cc3147e (diff)
downloaddabmod-b9b0b1ff957d72407cd2b6a28a18c34a3038b159.tar.gz
dabmod-b9b0b1ff957d72407cd2b6a28a18c34a3038b159.tar.bz2
dabmod-b9b0b1ff957d72407cd2b6a28a18c34a3038b159.zip
Update example.ini with s8 format
-rw-r--r--doc/example.ini13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/example.ini b/doc/example.ini
index e1ce252..ada7a03 100644
--- a/doc/example.ini
+++ b/doc/example.ini
@@ -90,11 +90,22 @@ filtertapsfile=simple_taps.txt
output=uhd
[fileoutput]
-; The file output writes I/Q float values (i.e. complex float)
+; Two output formats are supported: In the default mode,
+; the file output writes I/Q float values (i.e. complex float)
; to the file. The I and Q samples can take values up to
; 100000 in absolute magnitude with gainmode FIX.
; With gainmode VAR, they should never exceed 50000.
; With gainmode MAX, thet are limited to 32767.
+;format=complexf
+;
+; When the format is set to s8, the output writes I/Q 8-bit
+; signed integers, where the magnitude is multiplied by 128/50000
+; effectively mapping the gainmode VAR range of -50000 -- 50000
+; to -128 -- 128. For other gainmodes, use the digital_gain setting
+; to make sure you don't create clipping.
+;format=s8
+
+; The output file:
filename=/dev/stdout
[uhdoutput]