From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/Plugins/Input/in_dshow/Main.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Src/Plugins/Input/in_dshow/Main.h (limited to 'Src/Plugins/Input/in_dshow/Main.h') diff --git a/Src/Plugins/Input/in_dshow/Main.h b/Src/Plugins/Input/in_dshow/Main.h new file mode 100644 index 00000000..7bc6c8d6 --- /dev/null +++ b/Src/Plugins/Input/in_dshow/Main.h @@ -0,0 +1,37 @@ +#pragma once + +extern class CWAAudioRenderer *nullfilter; + +#include +#include +#include + +typedef struct tagVIDEOINFOHEADER2 { + RECT rcSource; + RECT rcTarget; + DWORD dwBitRate; + DWORD dwBitErrorRate; + REFERENCE_TIME AvgTimePerFrame; + DWORD dwInterlaceFlags; + DWORD dwCopyProtectFlags; + DWORD dwPictAspectRatioX; + DWORD dwPictAspectRatioY; + DWORD dwReserved1; + DWORD dwReserved2; + BITMAPINFOHEADER bmiHeader; +} VIDEOINFOHEADER2; +#include + +extern IGraphBuilder *pGraphBuilder; +extern IMediaControl *pMediaControl; + +extern bool has_audio; +extern int audio_bps, audio_srate, audio_nch; +extern int m_float, m_src_bps; +extern int m_is_capture; +extern HWND m_notif_hwnd; +extern int m_bitrate; +#include "../Winamp/in2.h" +extern In_Module mod; // the output module (filled in near the bottom of this file) + +void releaseObjects(); -- cgit