summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmavoice/wmavoice.h
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/libwmavoice/wmavoice.h
parenteb369699c6b7258df92169d0e1721aa5b2c108d8 (diff)
downloadrockbox-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/libwmavoice/wmavoice.h')
-rw-r--r--apps/codecs/libwmavoice/wmavoice.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/codecs/libwmavoice/wmavoice.h b/apps/codecs/libwmavoice/wmavoice.h
new file mode 100644
index 0000000000..33ec72b4e2
--- /dev/null
+++ b/apps/codecs/libwmavoice/wmavoice.h
@@ -0,0 +1,7 @@
1#include "avcodec.h"
2
3#define ERROR_WMAPRO_IN_WMAVOICE -0x162
4
5av_cold int wmavoice_decode_init(AVCodecContext *ctx);
6int wmavoice_decode_packet(AVCodecContext *ctx, void *data,
7 int *data_size, AVPacket *avpkt);