wavecpud.h
来自「WinCE 3.0 BSP, 包含Inter SA1110, Intel_815」· C头文件 代码 · 共 50 行
H
50 行
/*
Copyright(c) 2000 Microsoft
Module Name:
WaveCPUDp.h
*/
#ifndef __WAVECPUDP_H_
#define __WAVECPUDP_H_
class DmaObject;
extern DmaObject * CreateDmaObject(BOOL bRecord);
class DmaObject {
public:
DmaObject();
virtual ~DmaObject();
virtual BOOL EnableDma()=0;
virtual BOOL DisableDma()=0;
virtual BOOL ArmDma(BOOL bFirstBuffer,DWORD dwPhyAddr)=0;
virtual BOOL StartDma(BOOL bGenInterrupt=TRUE)=0;
virtual BOOL ReStartDma()=0;
virtual BOOL StopDma()=0;
virtual BOOL SetGlobalAddr(BOOL bFirst)=0;
virtual DWORD GetDmaPhyAddr(BOOL bFirst)=0;
virtual DWORD GetDmaSourceReg()=0;
virtual DWORD GetDmaCountReg()=0;
virtual DWORD GetAudioDmaPageSize()=0;
virtual PVOID GetDmaVirtualAddr()=0;
// Global Address
DWORD GetGlobalPlayAddress();
DWORD SetGlobalPlayAddress(DWORD dwPhysicalAddr);
USHORT GetGlobalOutInt();
VOID ResetGlobalOutInt(BOOL bDecrement);
DWORD GetGlobalRecAddress();
DWORD SetGlobalRecAddress(DWORD dwPhysicalAddr);
USHORT GetGlobalInInt();
VOID ResetGlobalInInt(BOOL bDecrement);
private:
PVOID pDriverGlobals;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?