1 #ifndef MPLAYER_DMO_AUDIODECODER_H
2 #define MPLAYER_DMO_AUDIODECODER_H
4 #include "loader/com.h"
5 #include "loader/wine/mmreg.h"
7 typedef struct DMO_AudioDecoder DMO_AudioDecoder
;
9 //DMO_AudioDecoder * DMO_AudioDecoder_Create(const CodecInfo * info, const WAVEFORMATEX* wf);
10 DMO_AudioDecoder
* DMO_AudioDecoder_Open(char* dllname
, GUID
* guid
, WAVEFORMATEX
* wf
,int out_channels
);
12 void DMO_AudioDecoder_Destroy(DMO_AudioDecoder
*this);
14 int DMO_AudioDecoder_Convert(DMO_AudioDecoder
*this, const void* in_data
, unsigned int in_size
,
15 void* out_data
, unsigned int out_size
,
16 unsigned int* size_read
, unsigned int* size_written
);
18 int DMO_AudioDecoder_GetSrcSize(DMO_AudioDecoder
*this, int dest_size
);
20 #endif /* MPLAYER_DMO_AUDIODECODER_H */