1
0

Main.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #pragma once
  2. extern class CWAAudioRenderer *nullfilter;
  3. #include <windows.h>
  4. #include <streams.h>
  5. #include <strsafe.h>
  6. typedef struct tagVIDEOINFOHEADER2 {
  7. RECT rcSource;
  8. RECT rcTarget;
  9. DWORD dwBitRate;
  10. DWORD dwBitErrorRate;
  11. REFERENCE_TIME AvgTimePerFrame;
  12. DWORD dwInterlaceFlags;
  13. DWORD dwCopyProtectFlags;
  14. DWORD dwPictAspectRatioX;
  15. DWORD dwPictAspectRatioY;
  16. DWORD dwReserved1;
  17. DWORD dwReserved2;
  18. BITMAPINFOHEADER bmiHeader;
  19. } VIDEOINFOHEADER2;
  20. #include <AtlBase.h>
  21. extern IGraphBuilder *pGraphBuilder;
  22. extern IMediaControl *pMediaControl;
  23. extern bool has_audio;
  24. extern int audio_bps, audio_srate, audio_nch;
  25. extern int m_float, m_src_bps;
  26. extern int m_is_capture;
  27. extern HWND m_notif_hwnd;
  28. extern int m_bitrate;
  29. #include "../Winamp/in2.h"
  30. extern In_Module mod; // the output module (filled in near the bottom of this file)
  31. void releaseObjects();