aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/Input/in_wmvdrm/config.h
diff options
context:
space:
mode:
authorJean-Francois Mauguit <jfmauguit@mac.com>2024-09-24 09:03:25 -0400
committerGitHub <noreply@github.com>2024-09-24 09:03:25 -0400
commitbab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Plugins/Input/in_wmvdrm/config.h
parent4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff)
parent20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff)
downloadwinamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/Plugins/Input/in_wmvdrm/config.h')
-rw-r--r--Src/Plugins/Input/in_wmvdrm/config.h50
1 files changed, 50 insertions, 0 deletions
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