Mercurial > mplayer.hg
diff loader/dmo/DMO_AudioDecoder.h @ 8325:5d5d1b3ec737
DMO Audio support (ugly, needs cleanup)
author | arpi |
---|---|
date | Sun, 01 Dec 2002 16:38:56 +0000 |
parents | |
children | de09fcf0b4f1 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/loader/dmo/DMO_AudioDecoder.h Sun Dec 01 16:38:56 2002 +0000 @@ -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