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_wmvdrm/config.h | 50 ++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Src/Plugins/Input/in_wmvdrm/config.h (limited to 'Src/Plugins/Input/in_wmvdrm/config.h') diff --git a/Src/Plugins/Input/in_wmvdrm/config.h b/Src/Plugins/Input/in_wmvdrm/config.h new file mode 100644 index 00000000..09920677 --- /dev/null +++ b/Src/Plugins/Input/in_wmvdrm/config.h @@ -0,0 +1,50 @@ +#ifndef NULLSOFT_CONFIGH +#define NULLSOFT_CONFIGH +#include "dsound.h" +#ifdef WM_DEFINE_CONFIG +#define DEFVAL(x) =x +#define CFGEXTERN +#else +#define DEFVAL(x) +#define CFGEXTERN extern +#endif + +#define CFG(type, name, defval) CFGEXTERN type config_##name DEFVAL(defval); CFGEXTERN type default_##name DEFVAL(defval); + +CFG(bool, lowmemory, true); +CFG(bool, clock, true); + +CFG(bool, video_dedicated_thread, true); +CFG(bool, video_early, false); +CFG(int, video_early_pad, 500); +CFG(bool, video_outoforder, true); +CFG(bool, video_catchup, true); +CFG(int, video_jitter, 5); +CFG(int, video_drop_threshold, 15); +CFG(size_t, video_cache_frames, 16); +CFG(bool, video_notifylate, true); +CFG(bool, video_framedropoffset, false); +//CFG(bool, video_flip, false); + +CFG(bool, audio_outoforder, false); +CFG(bool, audio_dedicated_thread, true); +CFG(int, audio_early_pad, 0); +CFG(bool, audio_early, false); +CFG(size_t, audio_cache_frames, 12); +CFG(DWORD, audio_num_channels, DSSPEAKER_5POINT1); + +CFG(bool, no_silent, false); +CFG(bool, untrusted_ok, false); + +CFG(bool, http_metadata, false); +CFG(size_t, buffer_time, 5000); + +CFG(int, col1, -1); +CFG(int, col2, -1); + +extern bool config_no_video; + +CFG(bool, extra_asx_extensions, false); +void ReadConfig(), WriteConfig(), DefaultConfig(); + +#endif \ No newline at end of file -- cgit