summaryrefslogtreecommitdiffstats
path: root/libtoolame-dab/options.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-15 02:44:20 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-15 02:44:20 +0100
commit22f1fce330059ef8a383cf327a023d6a9da5ad3e (patch)
tree6893f158dcaaaa1b9f1317923c32a841ba31f768 /libtoolame-dab/options.h
parent891bb2592944aa2be2d81e1583e73e632e70537f (diff)
downloadODR-AudioEnc-22f1fce330059ef8a383cf327a023d6a9da5ad3e.tar.gz
ODR-AudioEnc-22f1fce330059ef8a383cf327a023d6a9da5ad3e.tar.bz2
ODR-AudioEnc-22f1fce330059ef8a383cf327a023d6a9da5ad3e.zip
Include toolame-dab as library
Diffstat (limited to 'libtoolame-dab/options.h')
-rw-r--r--libtoolame-dab/options.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/libtoolame-dab/options.h b/libtoolame-dab/options.h
new file mode 100644
index 0000000..899a6f1
--- /dev/null
+++ b/libtoolame-dab/options.h
@@ -0,0 +1,30 @@
+#ifndef OPTIONS_H
+#define OPTIONS_H
+
+#define INPUT_SELECT_JACK 1
+#define INPUT_SELECT_WAV 2
+#define INPUT_SELECT_VLC 3
+
+typedef struct
+{
+ int usepsy; /* TRUE by default, use the psy model */
+ int usepadbit; /* TRUE by default, use a padding bit */
+ int quickmode; /* FALSE calculate psy model for every frame */
+ int quickcount; /* 10 when quickmode = TRUE, calculate psymodel every 10th frame */
+ int downmix; /* FALSE downmix from stereo to mono */
+ int byteswap; /* FALSE swap the bytes */
+ int channelswap; /* FALSE swap the channels */
+ int dab; /* FALSE DAB extensions */
+ int vbr; /* FALSE switch for VBR mode */
+ float vbrlevel; /* 0 level of VBR . higher is better */
+ float athlevel; /* 0 extra argument to the ATH equation -
+ used for VBR in LAME */
+ int verbosity; /* 2 by default. 0 is no output at all */
+ int input_select; /* 1=use JACK input, 2=use wav input, 3=use VLC input */
+ int show_level; /* 1=show the sox-like audio level measurement */
+}
+options;
+
+options glopts;
+#endif
+