summaryrefslogtreecommitdiff
path: root/plugins/aac/aac_parser.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-06-13 20:13:34 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-06-13 20:13:34 +0200
commit9eca6a34eab9a38ab3c44f7f4ccd1a6439080a34 (patch)
tree3404afacc6e3a726e1f54f9701ccc23df2cacf9f /plugins/aac/aac_parser.h
parentf7d5d195e8f5442adf0284bdb1c1f612a484761b (diff)
aac plugin WIP
Diffstat (limited to 'plugins/aac/aac_parser.h')
-rw-r--r--plugins/aac/aac_parser.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/aac/aac_parser.h b/plugins/aac/aac_parser.h
new file mode 100644
index 00000000..4f872d4b
--- /dev/null
+++ b/plugins/aac/aac_parser.h
@@ -0,0 +1,30 @@
+/*
+ DeaDBeeF - ultimate music player for GNU/Linux systems with X11
+ Copyright (C) 2009-2010 Alexey Yakovenko <waker@users.sourceforge.net>
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
+
+#ifndef __AAC_PARSER_H
+#define __AAC_PARSER_H
+
+#include <stdint.h>
+
+#define ADTS_HEADER_SIZE 7
+
+int
+aac_sync(const uint8_t *buf, int *channels, int *sample_rate, int *bit_rate, int *samples);
+
+#endif