[vlc-commits] DShow: adding AMTuner enums when doc was available

Jean-Baptiste Kempf git at videolan.org
Tue Feb 22 23:40:32 CET 2011


vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Feb 22 23:25:23 2011 +0100| [9a05e27267f4f7982351e5b109084e89b795abca] | committer: Jean-Baptiste Kempf

DShow: adding AMTuner enums when doc was available

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=9a05e27267f4f7982351e5b109084e89b795abca
---

 modules/access/dshow/common.h |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/modules/access/dshow/common.h b/modules/access/dshow/common.h
index 6a3f2b5..1f7bffb 100644
--- a/modules/access/dshow/common.h
+++ b/modules/access/dshow/common.h
@@ -97,3 +97,25 @@ struct access_sys_t
     int            i_chroma;
     bool           b_chroma; /* Force a specific chroma on the dshow input */
 };
+
+/* http://msdn.microsoft.com/en-us/library/dd373441%28v=vs.85%29.aspx */
+typedef enum tagAMTunerModeType {
+    AMTUNER_MODE_DEFAULT    = 0x0000,
+    AMTUNER_MODE_TV         = 0x0001,
+    AMTUNER_MODE_FM_RADIO   = 0x0002,
+    AMTUNER_MODE_AM_RADIO   = 0x0004,
+    AMTUNER_MODE_DSS        = 0x0008 
+} AMTunerModeType;
+
+typedef enum tagAMTunerSubChannel {
+    AMTUNER_SUBCHAN_NO_TUNE = -2,
+    AMTUNER_SUBCHAN_DEFAULT = -1
+} AMTunerSubChannel;
+
+/* http://msdn.microsoft.com/en-us/library/dd407232%28v=vs.85%29.aspx */
+typedef enum tagTunerInputType {
+    TunerInputCable = 0,
+    TunerInputAntenna = TunerInputCable + 1
+} TunerInputType;
+
+#define AMPROPERTY_PIN_CATEGORY 0



More information about the vlc-commits mailing list