diff options
Diffstat (limited to 'apps/codecs')
-rw-r--r-- | apps/codecs/SOURCES | 1 | ||||
-rw-r--r-- | apps/codecs/codecs.make | 1 | ||||
-rw-r--r-- | apps/codecs/libasf/asf.h | 5 | ||||
-rw-r--r-- | apps/codecs/wmapro.c | 33 |
4 files changed, 38 insertions, 2 deletions
diff --git a/apps/codecs/SOURCES b/apps/codecs/SOURCES index 8970567b65..e2ee53e7ee 100644 --- a/apps/codecs/SOURCES +++ b/apps/codecs/SOURCES | |||
@@ -16,6 +16,7 @@ atrac3_rm.c | |||
16 | atrac3_oma.c | 16 | atrac3_oma.c |
17 | mpc.c | 17 | mpc.c |
18 | wma.c | 18 | wma.c |
19 | wmapro.c | ||
19 | sid.c | 20 | sid.c |
20 | ape.c | 21 | ape.c |
21 | nsf.c | 22 | nsf.c |
diff --git a/apps/codecs/codecs.make b/apps/codecs/codecs.make index fa5eae67c5..7a83e5d1da 100644 --- a/apps/codecs/codecs.make +++ b/apps/codecs/codecs.make | |||
@@ -82,6 +82,7 @@ $(CODECDIR)/shorten.codec : $(CODECDIR)/libffmpegFLAC.a | |||
82 | $(CODECDIR)/ape-pre.map : $(CODECDIR)/libdemac-pre.a | 82 | $(CODECDIR)/ape-pre.map : $(CODECDIR)/libdemac-pre.a |
83 | $(CODECDIR)/ape.codec : $(CODECDIR)/libdemac.a | 83 | $(CODECDIR)/ape.codec : $(CODECDIR)/libdemac.a |
84 | $(CODECDIR)/wma.codec : $(CODECDIR)/libwma.a $(CODECDIR)/libasf.a | 84 | $(CODECDIR)/wma.codec : $(CODECDIR)/libwma.a $(CODECDIR)/libasf.a |
85 | $(CODECDIR)/wmapro.codec : $(CODECDIR)/libwma.a $(CODECDIR)/libasf.a | ||
85 | $(CODECDIR)/wavpack_enc.codec: $(CODECDIR)/libwavpack.a | 86 | $(CODECDIR)/wavpack_enc.codec: $(CODECDIR)/libwavpack.a |
86 | $(CODECDIR)/asap.codec : $(CODECDIR)/libasap.a | 87 | $(CODECDIR)/asap.codec : $(CODECDIR)/libasap.a |
87 | $(CODECDIR)/cook.codec : $(CODECDIR)/libcook.a $(CODECDIR)/librm.a | 88 | $(CODECDIR)/cook.codec : $(CODECDIR)/libcook.a $(CODECDIR)/librm.a |
diff --git a/apps/codecs/libasf/asf.h b/apps/codecs/libasf/asf.h index 09767650a3..c15bf4edec 100644 --- a/apps/codecs/libasf/asf.h +++ b/apps/codecs/libasf/asf.h | |||
@@ -4,8 +4,9 @@ | |||
4 | #include <inttypes.h> | 4 | #include <inttypes.h> |
5 | 5 | ||
6 | /* ASF codec IDs */ | 6 | /* ASF codec IDs */ |
7 | #define ASF_CODEC_ID_WMAV1 0x160 | 7 | #define ASF_CODEC_ID_WMAV1 0x160 |
8 | #define ASF_CODEC_ID_WMAV2 0x161 | 8 | #define ASF_CODEC_ID_WMAV2 0x161 |
9 | #define ASF_CODEC_ID_WMAPRO 0x162 | ||
9 | 10 | ||
10 | enum asf_error_e { | 11 | enum asf_error_e { |
11 | ASF_ERROR_INTERNAL = -1, /* incorrect input to API calls */ | 12 | 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 0000000000..e15a610679 --- /dev/null +++ b/apps/codecs/wmapro.c | |||
@@ -0,0 +1,33 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2010 Mohamed Tarek | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or | ||
13 | * modify it under the terms of the GNU General Public License | ||
14 | * as published by the Free Software Foundation; either version 2 | ||
15 | * of the License, or (at your option) any later version. | ||
16 | * | ||
17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
18 | * KIND, either express or implied. | ||
19 | * | ||
20 | ****************************************************************************/ | ||
21 | |||
22 | #include "codeclib.h" | ||
23 | |||
24 | CODEC_HEADER | ||
25 | |||
26 | /* this is the codec entry point */ | ||
27 | enum codec_status codec_main(void) | ||
28 | { | ||
29 | DEBUGF("WMA: WMA Professional has not been implemented yet\n"); | ||
30 | |||
31 | return CODEC_ERROR; | ||
32 | } | ||
33 | |||