From 4ff2cf4f0c96908f28c5037521251e0c809130bb Mon Sep 17 00:00:00 2001 From: Mohamed Tarek Date: Sat, 7 Aug 2010 17:55:02 +0000 Subject: 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 --- apps/codecs/libasf/asf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/codecs/libasf/asf.h') diff --git a/apps/codecs/libasf/asf.h b/apps/codecs/libasf/asf.h index b0adb7dfc7..a7d384cf3d 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; -- cgit v1.2.3