diff options
author | Mohamed Tarek <mt@rockbox.org> | 2010-08-07 17:55:02 +0000 |
---|---|---|
committer | Mohamed Tarek <mt@rockbox.org> | 2010-08-07 17:55:02 +0000 |
commit | 4ff2cf4f0c96908f28c5037521251e0c809130bb (patch) | |
tree | a7aaacd8ad380bd842bef4ef1cf3c1861a62fa70 /apps/codecs/libasf/asf.h | |
parent | eb369699c6b7258df92169d0e1721aa5b2c108d8 (diff) | |
download | rockbox-4ff2cf4f0c96908f28c5037521251e0c809130bb.tar.gz rockbox-4ff2cf4f0c96908f28c5037521251e0c809130bb.zip |
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/asf.h')
-rw-r--r-- | apps/codecs/libasf/asf.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
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 | #define ASF_CODEC_ID_WMAPRO 0x162 |
10 | #define ASF_CODEC_ID_WMAVOICE 0x00A | ||
10 | 11 | ||
11 | enum asf_error_e { | 12 | enum asf_error_e { |
12 | ASF_ERROR_INTERNAL = -1, /* incorrect input to API calls */ | 13 | ASF_ERROR_INTERNAL = -1, /* incorrect input to API calls */ |
@@ -33,7 +34,7 @@ struct asf_waveformatex_s { | |||
33 | uint16_t bitspersample; | 34 | uint16_t bitspersample; |
34 | uint16_t datalen; | 35 | uint16_t datalen; |
35 | uint16_t numpackets; | 36 | uint16_t numpackets; |
36 | uint8_t data[18]; | 37 | uint8_t data[46]; |
37 | }; | 38 | }; |
38 | typedef struct asf_waveformatex_s asf_waveformatex_t; | 39 | typedef struct asf_waveformatex_s asf_waveformatex_t; |
39 | 40 | ||