11#define STR_MODULENAME "AC97 RT Stream: "
16#if (NTDDI_VERSION >= NTDDI_VISTA)
29#pragma code_seg("PAGE")
53 (*RTStream)->AddRef ();
71 DOUT (
DBG_PRINT, (
"[CAC97MiniportWaveRTStream::~CAC97MiniportWaveRTStream]"));
164 DOUT (
DBG_ERROR, (
"Failed to map the page for the BD list!"));
240 DOUT (
DBG_WARNING, (
"[AllocateAudioBuffer] Can not allocate RT buffer."));
257 *userModeBuffer = audioBufferMdl;
318 hwLatency->FifoSize = 32;
319 hwLatency->ChipsetDelay = 0;
320 hwLatency->CodecDelay = 4;
388 UCHAR nCurrentIndex = 0;
~CAC97MiniportWaveRTStream()
NTSTATUS Init(IN CAC97MiniportWaveRT *Miniport_, IN PPORTWAVERTSTREAM PortStream, IN ULONG Channel, IN BOOLEAN Capture, IN PKSDATAFORMAT DataFormat)
NTSTATUS Init(IN CMiniport *Miniport_, IN PUNKNOWN PortStream, IN WavePins Pin_, IN BOOLEAN Capture_, IN PKSDATAFORMAT DataFormat_, OUT PSERVICEGROUP *ServiceGroup_)
int GetBuffPos(DWORD *buffPos)
void InterruptServiceRoutine()
#define DOUT(lvl, strings)
#define ExAllocatePoolWithTag(hernya, size, tag)
#define _Use_decl_annotations_
#define UNREFERENCED_PARAMETER(P)
PHYSICAL_ADDRESS NTAPI MmGetPhysicalAddress(IN PVOID Address)
IPortWaveRTStream * PPORTWAVERTSTREAM
NTSTATUS CreateAC97MiniportWaveRTStream(OUT CAC97MiniportWaveRTStream **RTStream)
const int MAX_BDL_ENTRIES
#define STATUS_UNSUCCESSFUL
#define STATUS_INSUFFICIENT_RESOURCES
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_In_ WDFDEVICE _In_ PVOID _In_opt_ PMDL Mdl
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG PoolTag
#define DBG_PRINT(ppi, ch, level)
enum _MEMORY_CACHING_TYPE MEMORY_CACHING_TYPE