diff options
author | Michał Cichoń <michcic@gmail.com> | 2012-06-26 20:35:30 +0200 |
---|---|---|
committer | Michał Cichoń <michcic@gmail.com> | 2012-06-26 20:35:30 +0200 |
commit | cc2160de5cc05dc3aa77f3a34358e66f6193c8c9 (patch) | |
tree | b93dd2dbdf7ea5ca4d6647c58dbe504824ac419f /faad2/src/aacDECdrop/decode.h | |
parent | a9c5f408fdc10f9fd1da6e5cf6f6376f1f591e10 (diff) | |
download | pianobar-windows-build-cc2160de5cc05dc3aa77f3a34358e66f6193c8c9.tar.gz pianobar-windows-build-cc2160de5cc05dc3aa77f3a34358e66f6193c8c9.tar.bz2 pianobar-windows-build-cc2160de5cc05dc3aa77f3a34358e66f6193c8c9.zip |
Add support for AAC.
Diffstat (limited to 'faad2/src/aacDECdrop/decode.h')
-rw-r--r-- | faad2/src/aacDECdrop/decode.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/faad2/src/aacDECdrop/decode.h b/faad2/src/aacDECdrop/decode.h new file mode 100644 index 0000000..fda27a0 --- /dev/null +++ b/faad2/src/aacDECdrop/decode.h @@ -0,0 +1,55 @@ +/*
+ * function: Header file for aacDECdrop
+ *
+ * This program is distributed under the GNU General Public License, version 2.
+ * A copy of this license is included with this source.
+ *
+ * Copyright (C) 2002 John Edwards
+ */
+
+#ifndef __DECODE_H__
+#define __DECODE_H__
+
+#include <stdio.h>
+
+typedef void (*progress_func)(long totalsamples, long samples);
+typedef void (*error_func)(char *errormessage);
+
+typedef struct
+{
+ progress_func progress_update;
+ error_func error;
+ int decode_mode;
+ int output_format;
+ int file_type;
+ int object_type;
+ char *filename;
+} aac_dec_opt;
+
+
+int aac_decode(aac_dec_opt *opt);
+
+/*
+ * Put this here for convenience
+ */
+
+typedef struct {
+ char TitleFormat[32];
+ int window_x;
+ int window_y;
+ int always_on_top;
+ int logerr;
+ int decode_mode;
+ int outputFormat;
+ int fileType;
+ int object_type;
+} SettingsAAC;
+
+/*
+ * GLOBALS
+ */
+
+extern SettingsAAC iniSettings;
+
+
+#endif /* __DECODE_H__ */
|