1545
|
1 #ifndef AVIFILE_DSHOW_H
|
|
2 #define AVIFILE_DSHOW_H
|
|
3
|
|
4 #include <libwin32.h>
|
|
5 #include "DS_Filter.h"
|
|
6
|
|
7 class DS_AudioDecoder : public IAudioDecoder
|
|
8 {
|
|
9 public:
|
|
10 DS_AudioDecoder(const CodecInfo& info, const WAVEFORMATEX*);
|
|
11 virtual ~DS_AudioDecoder();
|
|
12 virtual int Convert(const void*, size_t, void*, size_t, size_t*, size_t*);
|
|
13 virtual int GetSrcSize(int);
|
|
14 protected:
|
|
15 AM_MEDIA_TYPE m_sOurType, m_sDestType;
|
|
16 DS_Filter* m_pDS_Filter;
|
|
17 char* m_sVhdr;
|
|
18 char* m_sVhdr2;
|
|
19 };
|
|
20
|
|
21 #endif
|