[vlc-commits] DShow: adding AMTuner enums when doc was available
Jean-Baptiste Kempf
git at videolan.org
Tue Feb 22 22:44:16 CET 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Feb 22 00:21:22 2011 +0100| [f166efddf8ed437f671900aec26b4afdd99ab73c] | committer: Jean-Baptiste Kempf
DShow: adding AMTuner enums when doc was available
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f166efddf8ed437f671900aec26b4afdd99ab73c
---
modules/access/dshow/common.h | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/modules/access/dshow/common.h b/modules/access/dshow/common.h
index 573db27..a7faa7a 100644
--- a/modules/access/dshow/common.h
+++ b/modules/access/dshow/common.h
@@ -218,3 +218,24 @@ typedef struct {
ULONG Standard; // KS_AnalogVideo_*
} KSPROPERTY_TUNER_STANDARD_S, *PKSPROPERTY_TUNER_STANDARD_S;
+/* 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