Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
fcddcb4a
Commit
fcddcb4a
authored
Feb 22, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DShow: declare the IAMTunerNotification interface
parent
3759bee8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
6 deletions
+21
-6
modules/access/dshow/common.h
modules/access/dshow/common.h
+21
-6
No files found.
modules/access/dshow/common.h
View file @
fcddcb4a
...
@@ -229,7 +229,7 @@ typedef enum tagAMTunerModeType {
...
@@ -229,7 +229,7 @@ typedef enum tagAMTunerModeType {
AMTUNER_MODE_TV
=
0x0001
,
AMTUNER_MODE_TV
=
0x0001
,
AMTUNER_MODE_FM_RADIO
=
0x0002
,
AMTUNER_MODE_FM_RADIO
=
0x0002
,
AMTUNER_MODE_AM_RADIO
=
0x0004
,
AMTUNER_MODE_AM_RADIO
=
0x0004
,
AMTUNER_MODE_DSS
=
0x0008
AMTUNER_MODE_DSS
=
0x0008
}
AMTunerModeType
;
}
AMTunerModeType
;
#define AMPROPERTY_PIN_CATEGORY 0
#define AMPROPERTY_PIN_CATEGORY 0
...
@@ -244,6 +244,10 @@ typedef enum tagTunerInputType {
...
@@ -244,6 +244,10 @@ typedef enum tagTunerInputType {
TunerInputAntenna
=
TunerInputCable
+
1
TunerInputAntenna
=
TunerInputCable
+
1
}
TunerInputType
;
}
TunerInputType
;
typedef
enum
tagAMTunerEventType
{
AMTUNER_EVENT_CHANGED
=
0x1
}
AMTunerEventType
;
/* http://msdn.microsoft.com/en-us/library/dd377421%28v=vs.85%29.aspx */
/* http://msdn.microsoft.com/en-us/library/dd377421%28v=vs.85%29.aspx */
typedef
enum
tagPhysicalConnectorType
{
typedef
enum
tagPhysicalConnectorType
{
PhysConn_Video_Tuner
=
1
,
PhysConn_Video_Tuner
=
1
,
...
@@ -270,7 +274,7 @@ typedef enum tagPhysicalConnectorType {
...
@@ -270,7 +274,7 @@ typedef enum tagPhysicalConnectorType {
PhysConn_Audio_AUX
,
PhysConn_Audio_AUX
,
PhysConn_Audio_1394
,
PhysConn_Audio_1394
,
PhysConn_Audio_USB
,
PhysConn_Audio_USB
,
PhysConn_Audio_AudioDecoder
PhysConn_Audio_AudioDecoder
}
PhysicalConnectorType
;
}
PhysicalConnectorType
;
/* http://msdn.microsoft.com/en-us/library/dd407352%28v=vs.85%29.aspx */
/* http://msdn.microsoft.com/en-us/library/dd407352%28v=vs.85%29.aspx */
...
@@ -339,6 +343,17 @@ DECLARE_INTERFACE_(IAMCrossbar, IUnknown)
...
@@ -339,6 +343,17 @@ DECLARE_INTERFACE_(IAMCrossbar, IUnknown)
STDMETHOD
(
get_CrossbarPinInfo
)
(
THIS_
BOOL
,
long
,
long
*
,
long
*
);
STDMETHOD
(
get_CrossbarPinInfo
)
(
THIS_
BOOL
,
long
,
long
*
,
long
*
);
};
};
/* http://msdn.microsoft.com/en-us/library/dd375945%28v=vs.85%29.aspx */
#undef INTERFACE
#define INTERFACE IAMTunerNotification
DECLARE_INTERFACE_
(
IAMTunerNotification
,
IUnknown
)
{
STDMETHOD
(
QueryInterface
)
(
THIS_
REFIID
,
PVOID
*
)
PURE
;
STDMETHOD_
(
ULONG
,
AddRef
)
(
THIS
);
STDMETHOD_
(
ULONG
,
Release
)
(
THIS
);
STDMETHOD
(
OnEvent
)
(
THIS_
AMTunerEventType
);
};
/* http://msdn.microsoft.com/en-us/library/dd375971%28v=vs.85%29.aspx */
/* http://msdn.microsoft.com/en-us/library/dd375971%28v=vs.85%29.aspx */
#undef INTERFACE
#undef INTERFACE
#define INTERFACE IAMTVTuner
#define INTERFACE IAMTVTuner
...
@@ -360,8 +375,8 @@ DECLARE_INTERFACE_(IAMTVTuner, IUnknown)
...
@@ -360,8 +375,8 @@ DECLARE_INTERFACE_(IAMTVTuner, IUnknown)
STDMETHOD
(
put_Mode
)
(
THIS_
AMTunerModeType
);
STDMETHOD
(
put_Mode
)
(
THIS_
AMTunerModeType
);
STDMETHOD
(
get_Mode
)
(
THIS_
AMTunerModeType
*
);
STDMETHOD
(
get_Mode
)
(
THIS_
AMTunerModeType
*
);
STDMETHOD
(
GetAvailableModes
)
(
THIS_
long
*
);
STDMETHOD
(
GetAvailableModes
)
(
THIS_
long
*
);
// STDMETHOD(RegisterNotificationCallBack) (THIS_ LPAMTUNERNOTIFICATION
, long);
STDMETHOD
(
RegisterNotificationCallBack
)
(
THIS_
IAMTunerNotification
*
,
long
);
// STDMETHOD(UnRegisterNotificationCallBack) (THIS_ LPAMTUNERNOTIFICATION
);
STDMETHOD
(
UnRegisterNotificationCallBack
)
(
THIS_
IAMTunerNotification
*
);
STDMETHOD
(
get_AvailableTVFormats
)
(
THIS_
long
*
);
STDMETHOD
(
get_AvailableTVFormats
)
(
THIS_
long
*
);
STDMETHOD
(
get_TVFormat
)
(
THIS_
long
*
);
STDMETHOD
(
get_TVFormat
)
(
THIS_
long
*
);
STDMETHOD
(
AutoTune
)
(
THIS_
long
,
long
*
);
STDMETHOD
(
AutoTune
)
(
THIS_
long
,
long
*
);
...
@@ -387,7 +402,7 @@ DECLARE_INTERFACE_(IAMTVAudio, IUnknown)
...
@@ -387,7 +402,7 @@ DECLARE_INTERFACE_(IAMTVAudio, IUnknown)
STDMETHOD
(
GetAvailableTVAudioModes
)
(
THIS_
long
*
);
STDMETHOD
(
GetAvailableTVAudioModes
)
(
THIS_
long
*
);
STDMETHOD
(
get_TVAudioMode
)
(
THIS_
long
*
);
STDMETHOD
(
get_TVAudioMode
)
(
THIS_
long
*
);
STDMETHOD
(
put_TVAudioMode
)
(
THIS_
long
);
STDMETHOD
(
put_TVAudioMode
)
(
THIS_
long
);
// STDMETHOD(RegisterNotificationCallBack) (THIS_ LPAMTUNERNOTIFICATION
, long);
STDMETHOD
(
RegisterNotificationCallBack
)
(
THIS_
IAMTunerNotification
*
,
long
);
// STDMETHOD(UnRegisterNotificationCallBack) (THIS_ LPAMTUNERNOTIFICATION
);
STDMETHOD
(
UnRegisterNotificationCallBack
)
(
THIS_
IAMTunerNotification
*
);
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment