summaryrefslogtreecommitdiff
path: root/apps/codecs/libasf
diff options
context:
space:
mode:
authorMohamed Tarek <mt@rockbox.org>2010-08-07 17:55:02 +0000
committerMohamed Tarek <mt@rockbox.org>2010-08-07 17:55:02 +0000
commit4ff2cf4f0c96908f28c5037521251e0c809130bb (patch)
treea7aaacd8ad380bd842bef4ef1cf3c1861a62fa70 /apps/codecs/libasf
parenteb369699c6b7258df92169d0e1721aa5b2c108d8 (diff)
downloadrockbox-4ff2cf4f0c96908f28c5037521251e0c809130bb.zip
rockbox-4ff2cf4f0c96908f28c5037521251e0c809130bb.tar.gz
rockbox-4ff2cf4f0c96908f28c5037521251e0c809130bb.tar.bz2
rockbox-4ff2cf4f0c96908f28c5037521251e0c809130bb.tar.xz
WMA Voice now plays and seeks in the sim. The code is still in floating point, and is not added to the main build. There's still a bug with the decoder in the current state that it outputs a fewer number of samples than ffmpeg's.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27744 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libasf')
-rw-r--r--apps/codecs/libasf/asf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/libasf/asf.h b/apps/codecs/libasf/asf.h
index b0adb7d..a7d384c 100644
--- a/apps/codecs/libasf/asf.h
+++ b/apps/codecs/libasf/asf.h
@@ -7,6 +7,7 @@
#define ASF_CODEC_ID_WMAV1 0x160
#define ASF_CODEC_ID_WMAV2 0x161
#define ASF_CODEC_ID_WMAPRO 0x162
+#define ASF_CODEC_ID_WMAVOICE 0x00A
enum asf_error_e {
ASF_ERROR_INTERNAL = -1, /* incorrect input to API calls */
@@ -33,7 +34,7 @@ struct asf_waveformatex_s {
uint16_t bitspersample;
uint16_t datalen;
uint16_t numpackets;
- uint8_t data[18];
+ uint8_t data[46];
};
typedef struct asf_waveformatex_s asf_waveformatex_t;