📄 audiopin.h
字号:
/*+++ *******************************************************************\
*
* Copyright and Disclaimer:
*
* ---------------------------------------------------------------
* This software is provided "AS IS" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of noninfringement, merchantability and/or
* fitness for a particular purpose.
* ---------------------------------------------------------------
*
* Copyright (c) 2008 Conexant Systems, Inc.
* All rights reserved.
*
\******************************************************************* ---*/
#ifndef _AUDIOPIN_H
#define _AUDIOPIN_H
#include "BasePin.h"
class AudioPin : public BasePin
{
public:
static NTSTATUS dispatchCreate(PKSPIN p_ks_pin, PIRP p_irp);
static NTSTATUS AudioPin::static_IntersectHandler(
PKSFILTER p_filter,
PIRP p_irp,
PKSP_PIN p_pin_instance,
PKSDATARANGE p_caller_data_range, //data range to verify.
PKSDATARANGE p_descriptor_data, //Our data range
ULONG buffer_size,
PVOID p_data,
PULONG p_data_size);
virtual void fillFrameInfo(PKSSTREAM_HEADER p_strm_hdr, FIELD_TYPE field_type);
virtual PIN_TYPES getPinType();
protected:
virtual NTSTATUS setState(KSSTATE to_state, KSSTATE from_state);
private:
AudioPin(PKSPIN p_ks_pin, NTSTATUS &status);
};
extern const KSPIN_DISPATCH g_audio_pin_dispatch;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -