KSOBJECT_HEADER ObjectHeader;
PKSOBJECT_CREATE_ITEM CreateItem;
- DPRINT1("DispatchCreateSysAudio entered\n");
+ DPRINT("DispatchCreateSysAudio entered\n");
/* allocate create item */
CreateItem = ExAllocatePool(NonPagedPool, sizeof(KSOBJECT_CREATE_ITEM));
/* allocate object header */
Status = KsAllocateObjectHeader(&ObjectHeader, 1, CreateItem, Irp, &DispatchTable);
- DPRINT1("KsAllocateObjectHeader result %x\n", Status);
+ DPRINT("KsAllocateObjectHeader result %x\n", Status);
/* complete the irp */
Irp->IoStatus.Information = 0;
Irp->IoStatus.Status = Status;
PSYSAUDIODEVEXT DeviceExtension;
PLIST_ENTRY Entry;
- DPRINT1("SysAudio_Shutdown called\n");
+ DPRINT("SysAudio_Shutdown called\n");
DeviceExtension = (PSYSAUDIODEVEXT)DeviceObject->DeviceExtension;
Entry = RemoveHeadList(&DeviceExtension->KsAudioDeviceList);
DeviceEntry = (PKSAUDIO_DEVICE_ENTRY)CONTAINING_RECORD(Entry, KSAUDIO_DEVICE_ENTRY, Entry);
- DPRINT1("Freeing item %wZ\n", &DeviceEntry->DeviceName);
+ DPRINT("Freeing item %wZ\n", &DeviceEntry->DeviceName);
/* dereference audio device file object */
ObDereferenceObject(DeviceEntry->FileObject);
if (!NT_SUCCESS(Status))
{
IoDeleteDevice(DeviceObject);
- DPRINT("Failed to create sysaudio symlink!\n");
+ DPRINT1("Failed to create sysaudio symlink!\n");
return Status;
}
}
DispatchContext->AudioEntry = DeviceEntry;
- DPRINT1("RealPinHandle %p\n", RealPinHandle);
+ DPRINT("RealPinHandle %p\n", RealPinHandle);
/* Do we need to transform the audio stream */
if (OutputFormat != NULL)