mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 08:30:21 +00:00
- Fix some broken stuff involving DPRINT. Thought I had tested this, sorry for build break!
svn path=/trunk/; revision=69188
This commit is contained in:
parent
656e59a392
commit
b1114c9e93
3 changed files with 5 additions and 6 deletions
|
@ -2361,9 +2361,11 @@ KspCreatePin(
|
|||
|
||||
if (IsEqualGUIDAligned(&Descriptor->PinDescriptor.DataRanges[Index]->SubFormat, &KSDATAFORMAT_SUBTYPE_BDA_MPEG2_TRANSPORT))
|
||||
{
|
||||
#if !defined(NDEBUG)
|
||||
PKS_DATARANGE_BDA_TRANSPORT Transport = (PKS_DATARANGE_BDA_TRANSPORT)&Descriptor->PinDescriptor.DataRanges[Index];
|
||||
DPRINT("KSDATAFORMAT_SUBTYPE_BDA_MPEG2_TRANSPORT AvgTimePerFrame %I64u ulcbPhyiscalFrame %lu ulcbPhyiscalFrameAlignment %lu ulcbPhyiscalPacket %lu\n", Transport->BdaTransportInfo.AvgTimePerFrame, Transport->BdaTransportInfo.ulcbPhyiscalFrame,
|
||||
Transport->BdaTransportInfo.ulcbPhyiscalFrameAlignment, Transport->BdaTransportInfo.ulcbPhyiscalPacket);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
if (!FrameSize)
|
||||
|
|
|
@ -1026,7 +1026,6 @@ ScsiPortInitialize(IN PVOID Argument1,
|
|||
ULONG Result;
|
||||
NTSTATUS Status;
|
||||
ULONG MaxBus;
|
||||
ULONG BusNumber = 0;
|
||||
PCI_SLOT_NUMBER SlotNumber;
|
||||
|
||||
PDEVICE_OBJECT PortDeviceObject;
|
||||
|
@ -1683,7 +1682,7 @@ CreatePortConfig:
|
|||
if (!Again)
|
||||
ConfigInfo.BusNumber++;
|
||||
|
||||
DPRINT("Bus: %lu MaxBus: %lu\n", BusNumber, MaxBus);
|
||||
DPRINT("Bus: %lu MaxBus: %lu\n", ConfigInfo.BusNumber, MaxBus);
|
||||
|
||||
DeviceFound = TRUE;
|
||||
}
|
||||
|
|
|
@ -48,7 +48,6 @@ WdmAudControlDeviceType(
|
|||
IN PWDMAUD_CLIENT ClientInfo)
|
||||
{
|
||||
ULONG Result = 0;
|
||||
NTSTATUS Status = STATUS_SUCCESS;
|
||||
|
||||
if (DeviceInfo->DeviceType == MIXER_DEVICE_TYPE)
|
||||
{
|
||||
|
@ -75,7 +74,7 @@ WdmAudControlDeviceType(
|
|||
/* store result count */
|
||||
DeviceInfo->DeviceCount = Result;
|
||||
|
||||
DPRINT("WdmAudControlDeviceType Status %x Devices %u\n", Status, DeviceInfo->DeviceCount);
|
||||
DPRINT("WdmAudControlDeviceType Devices %u\n", DeviceInfo->DeviceCount);
|
||||
return SetIrpIoStatus(Irp, STATUS_SUCCESS, sizeof(WDMAUD_DEVICE_INFO));
|
||||
}
|
||||
|
||||
|
@ -389,7 +388,6 @@ IoCompletion (
|
|||
PVOID Ctx)
|
||||
{
|
||||
PKSSTREAM_HEADER Header;
|
||||
ULONG Length = 0;
|
||||
PMDL Mdl, NextMdl;
|
||||
PWDMAUD_COMPLETION_CONTEXT Context = (PWDMAUD_COMPLETION_CONTEXT)Ctx;
|
||||
|
||||
|
@ -419,7 +417,7 @@ IoCompletion (
|
|||
|
||||
|
||||
|
||||
DPRINT("IoCompletion Irp %p IoStatus %lx Information %lx Length %lu\n", Irp, Irp->IoStatus.Status, Irp->IoStatus.Information, Length);
|
||||
DPRINT("IoCompletion Irp %p IoStatus %lx Information %lx\n", Irp, Irp->IoStatus.Status, Irp->IoStatus.Information);
|
||||
|
||||
if (!NT_SUCCESS(Irp->IoStatus.Status))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue