summaryrefslogtreecommitdiffstats
path: root/src/input/Edi.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-12-20 10:45:01 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-12-20 10:45:01 +0100
commit950c6f3a5a0605f5ba5b7ead31cd3c189d92cddf (patch)
treeadc620e95ee68530b605ce37182432301dd9d308 /src/input/Edi.h
parent66c2acf2606877d00e056c1d1228b32d0a15c5bc (diff)
downloaddabmux-950c6f3a5a0605f5ba5b7ead31cd3c189d92cddf.tar.gz
dabmux-950c6f3a5a0605f5ba5b7ead31cd3c189d92cddf.tar.bz2
dabmux-950c6f3a5a0605f5ba5b7ead31cd3c189d92cddf.zip
Initialise EDI buffer_size and prebuffering to reasonable values
Diffstat (limited to 'src/input/Edi.h')
-rw-r--r--src/input/Edi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/Edi.h b/src/input/Edi.h
index a3b1d4d..ca465bd 100644
--- a/src/input/Edi.h
+++ b/src/input/Edi.h
@@ -47,13 +47,13 @@ struct dab_input_edi_config_t
*
* Each element corresponds to one frame, i.e. 24ms
*/
- size_t buffer_size;
+ size_t buffer_size = 100;
/* The amount of prebuffering to do before we start streaming
*
* Same units as buffer_size
*/
- size_t prebuffering;
+ size_t prebuffering = 30;
};
/*