summaryrefslogtreecommitdiff
path: root/libavcodec/dca.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-07-31 20:09:23 +0200
committerDiego Biurrun <diego@biurrun.de>2012-08-01 00:17:17 +0200
commit9e4bca16f89bc12c58b58f4611d580a30d5f9638 (patch)
tree79a83fbc3226c5739fb2931f1dce0a566c36fa4f /libavcodec/dca.c
parent13a79cf84e073d0ca8489047660352eee216d059 (diff)
dca: Move tables used outside of dcadec.c to a separate file.
Diffstat (limited to 'libavcodec/dca.c')
-rw-r--r--libavcodec/dca.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c
new file mode 100644
index 0000000000..4194f58aa9
--- /dev/null
+++ b/libavcodec/dca.c
@@ -0,0 +1,29 @@
+/*
+ * DCA compatible decoder data
+ *
+ * This file is part of Libav.
+ *
+ * Libav is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * Libav 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with Libav; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include <stdint.h>
+
+#include "dca.h"
+
+const uint32_t ff_dca_sample_rates[16] =
+{
+ 0, 8000, 16000, 32000, 0, 0, 11025, 22050, 44100, 0, 0,
+ 12000, 24000, 48000, 96000, 192000
+};