aboutsummaryrefslogtreecommitdiffstats
path: root/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'options.h')
-rw-r--r--options.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/options.h b/options.h
new file mode 100644
index 0000000..733ecaa
--- /dev/null
+++ b/options.h
@@ -0,0 +1,23 @@
+#ifndef OPTIONS_H
+#define OPTIONS_H
+
+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 */
+}
+options;
+
+options glopts;
+#endif