summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
authorMohamed Tarek <mt@rockbox.org>2010-05-09 21:42:09 +0000
committerMohamed Tarek <mt@rockbox.org>2010-05-09 21:42:09 +0000
commitcd4d80aeba3c65cb30b520f1aad1e6008e9535b5 (patch)
tree94e437c5c75df6ed2b36cfc3ddaa9d9aa635c9a8 /apps/codecs
parent6a96037d09c99041bae87ae7c7a5189adafd7408 (diff)
downloadrockbox-cd4d80aeba3c65cb30b520f1aad1e6008e9535b5.zip
rockbox-cd4d80aeba3c65cb30b520f1aad1e6008e9535b5.tar.gz
rockbox-cd4d80aeba3c65cb30b520f1aad1e6008e9535b5.tar.bz2
rockbox-cd4d80aeba3c65cb30b520f1aad1e6008e9535b5.tar.xz
nomsg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25922 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/SOURCES1
-rw-r--r--apps/codecs/codecs.make1
-rw-r--r--apps/codecs/libasf/asf.h5
-rw-r--r--apps/codecs/wmapro.c33
4 files changed, 38 insertions, 2 deletions
diff --git a/apps/codecs/SOURCES b/apps/codecs/SOURCES
index 8970567..e2ee53e 100644
--- a/apps/codecs/SOURCES
+++ b/apps/codecs/SOURCES
@@ -16,6 +16,7 @@ atrac3_rm.c
atrac3_oma.c
mpc.c
wma.c
+wmapro.c
sid.c
ape.c
nsf.c
diff --git a/apps/codecs/codecs.make b/apps/codecs/codecs.make
index fa5eae6..7a83e5d 100644
--- a/apps/codecs/codecs.make
+++ b/apps/codecs/codecs.make
@@ -82,6 +82,7 @@ $(CODECDIR)/shorten.codec : $(CODECDIR)/libffmpegFLAC.a
$(CODECDIR)/ape-pre.map : $(CODECDIR)/libdemac-pre.a
$(CODECDIR)/ape.codec : $(CODECDIR)/libdemac.a
$(CODECDIR)/wma.codec : $(CODECDIR)/libwma.a $(CODECDIR)/libasf.a
+$(CODECDIR)/wmapro.codec : $(CODECDIR)/libwma.a $(CODECDIR)/libasf.a
$(CODECDIR)/wavpack_enc.codec: $(CODECDIR)/libwavpack.a
$(CODECDIR)/asap.codec : $(CODECDIR)/libasap.a
$(CODECDIR)/cook.codec : $(CODECDIR)/libcook.a $(CODECDIR)/librm.a
diff --git a/apps/codecs/libasf/asf.h b/apps/codecs/libasf/asf.h
index 0976765..c15bf4e 100644
--- a/apps/codecs/libasf/asf.h
+++ b/apps/codecs/libasf/asf.h
@@ -4,8 +4,9 @@
#include <inttypes.h>
/* ASF codec IDs */
-#define ASF_CODEC_ID_WMAV1 0x160
-#define ASF_CODEC_ID_WMAV2 0x161
+#define ASF_CODEC_ID_WMAV1 0x160
+#define ASF_CODEC_ID_WMAV2 0x161
+#define ASF_CODEC_ID_WMAPRO 0x162
enum asf_error_e {
ASF_ERROR_INTERNAL = -1, /* incorrect input to API calls */
diff --git a/apps/codecs/wmapro.c b/apps/codecs/wmapro.c
new file mode 100644
index 0000000..e15a610
--- /dev/null
+++ b/apps/codecs/wmapro.c
@@ -0,0 +1,33 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2010 Mohamed Tarek
+ *
+ * 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 software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+#include "codeclib.h"
+
+CODEC_HEADER
+
+/* this is the codec entry point */
+enum codec_status codec_main(void)
+{
+ DEBUGF("WMA: WMA Professional has not been implemented yet\n");
+
+ return CODEC_ERROR;
+}
+