www.pudn.com > audiocapture.zip > GenWav.h, change:2001-04-18,size:627b


//--------------------------------------------------------------------------- 
#ifndef GenWavH 
#define GenWavH 
 
#include <vfw.h> 
 
class TGenWav 
{ 
  protected: 
    HRESULT       hr; 
    PAVIFILE      m_HFile; 
    PAVISTREAM    m_AudioStream; 
    PAVISTREAM    m_AudioStreamComp; 
    AVISTREAMINFO m_InfoStream; 
    WAVEFORMATEX  m_WaveFormat; 
    WORD          m_Indice; 
  public: 
    TGenWav(char *Nombre,DWORD FrecMuestreo=8000,WORD Resolucion=8); 
    ~TGenWav(); 
    bool AddAudioBlock(BYTE * Block, WORD Size); 
}; 
 
//--------------------------------------------------------------------------- 
#endif