📄 xbar.cpp
字号:
//==========================================================================;
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
//
// Copyright (c) 1992 - 1996 Microsoft Corporation. All Rights Reserved.
//
//==========================================================================;
#ifdef __cplusplus
extern "C" {
#endif
#include "strmini.h"
#include "ksmedia.h"
#ifdef __cplusplus
}
#endif
#include "capmain.h"
#include "capdebug.h"
#include "device.h"
#include "xbar.h"
BOOL CrossBar::TestRoute(ULONG InPin, ULONG OutPin)
{
if ((InputPins [InPin].PinType == KS_PhysConn_Video_Tuner ||
InputPins [InPin].PinType == KS_PhysConn_Video_Composite ||
InputPins [InPin].PinType == KS_PhysConn_Video_SVideo) &&
(OutputPins [OutPin].PinType == KS_PhysConn_Video_VideoDecoder)) {
return TRUE;
}
else
return FALSE;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -