2008-02-23 14:50:55 +00:00
|
|
|
#ifndef MPLAYER_DS_AUDIODECODER_H
|
|
|
|
#define MPLAYER_DS_AUDIODECODER_H
|
2001-08-16 00:50:02 +00:00
|
|
|
|
2008-01-20 17:16:39 +00:00
|
|
|
typedef struct DS_AudioDecoder DS_AudioDecoder;
|
2001-11-21 23:42:06 +00:00
|
|
|
|
2001-12-10 21:53:13 +00:00
|
|
|
//DS_AudioDecoder * DS_AudioDecoder_Create(const CodecInfo * info, const WAVEFORMATEX* wf);
|
|
|
|
DS_AudioDecoder * DS_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* wf);
|
2001-11-21 23:42:06 +00:00
|
|
|
|
|
|
|
void DS_AudioDecoder_Destroy(DS_AudioDecoder *this);
|
|
|
|
|
2002-01-02 17:11:09 +00:00
|
|
|
int DS_AudioDecoder_Convert(DS_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);
|
2001-11-21 23:42:06 +00:00
|
|
|
|
|
|
|
int DS_AudioDecoder_GetSrcSize(DS_AudioDecoder *this, int dest_size);
|
|
|
|
|
2008-02-23 14:50:55 +00:00
|
|
|
#endif /* MPLAYER_DS_AUDIODECODER_H */
|