view loader/dshow/DS_AudioDecoder.h @ 1835:fcf2cf04bdf3

added WAVEFORMATEXTENSIBLE and new WAVE FORMAT TAGS
author arpi
date Sun, 02 Sep 2001 15:12:46 +0000
parents da26060c81ef
children 4b3f3f850896
line wrap: on
line source

#ifndef AVIFILE_DSHOW_H
#define AVIFILE_DSHOW_H

#include <libwin32.h>
#include "DS_Filter.h"

class DS_AudioDecoder : public IAudioDecoder
{
public:
    DS_AudioDecoder(const CodecInfo& info, const WAVEFORMATEX*);
    virtual ~DS_AudioDecoder();
    virtual int Convert(const void*, size_t, void*, size_t, size_t*, size_t*);
    virtual int GetSrcSize(int);
protected:
    AM_MEDIA_TYPE m_sOurType, m_sDestType;
    DS_Filter* m_pDS_Filter;
    char* m_sVhdr;
    char* m_sVhdr2;
};

#endif