diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-12-01 16:38:56 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-12-01 16:38:56 +0000 |
commit | ba86dd3f1f8a5f4f36fdb280e813e21b090dde2e (patch) | |
tree | bd7ea3c0370bb49d9d60de89d054af1837b82d5e /loader/dmo/DMO_AudioDecoder.h | |
parent | 43d65169a8805de64b7d62e6d8a79637abddc6da (diff) | |
download | mpv-ba86dd3f1f8a5f4f36fdb280e813e21b090dde2e.tar.bz2 mpv-ba86dd3f1f8a5f4f36fdb280e813e21b090dde2e.tar.xz |
DMO Audio support (ugly, needs cleanup)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8326 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/dmo/DMO_AudioDecoder.h')
-rw-r--r-- | loader/dmo/DMO_AudioDecoder.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/loader/dmo/DMO_AudioDecoder.h b/loader/dmo/DMO_AudioDecoder.h new file mode 100644 index 0000000000..ed571f4658 --- /dev/null +++ b/loader/dmo/DMO_AudioDecoder.h @@ -0,0 +1,17 @@ +#ifndef AVIFILE_DMO_AUDIODECODER_H +#define AVIFILE_DMO_AUDIODECODER_H + +typedef struct _DMO_AudioDecoder DMO_AudioDecoder; + +//DMO_AudioDecoder * DMO_AudioDecoder_Create(const CodecInfo * info, const WAVEFORMATEX* wf); +DMO_AudioDecoder * DMO_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* wf,int out_channels); + +void DMO_AudioDecoder_Destroy(DMO_AudioDecoder *this); + +int DMO_AudioDecoder_Convert(DMO_AudioDecoder *this, const void* in_data, unsigned int in_size, + void* out_data, unsigned int out_size, + unsigned int* size_read, unsigned int* size_written); + +int DMO_AudioDecoder_GetSrcSize(DMO_AudioDecoder *this, int dest_size); + +#endif // AVIFILE_DMO_AUDIODECODER_H |