aboutsummaryrefslogtreecommitdiffstats
path: root/doc/example.ini
diff options
context:
space:
mode:
Diffstat (limited to 'doc/example.ini')
-rw-r--r--doc/example.ini13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/example.ini b/doc/example.ini
index 3c81c04..43adacb 100644
--- a/doc/example.ini
+++ b/doc/example.ini
@@ -113,11 +113,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]