From 76d872ed01e57ab6139d1c3ccab9029b1f445a74 Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Sat, 11 Jul 2009 13:52:36 +0000 Subject: [PATCH] [KMIXER] - Set KSCREATE_ITEM_WILDCARD flag to receive all requests in one handler -- Kmixer is now back accessible svn path=/trunk/; revision=41886 --- reactos/drivers/wdm/audio/filters/kmixer/filter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/drivers/wdm/audio/filters/kmixer/filter.c b/reactos/drivers/wdm/audio/filters/kmixer/filter.c index a71e8fceea9..c54dc40a0ea 100644 --- a/reactos/drivers/wdm/audio/filters/kmixer/filter.c +++ b/reactos/drivers/wdm/audio/filters/kmixer/filter.c @@ -201,7 +201,7 @@ DispatchCreateKMix( if (Buffer) { /* is the request for a new pin */ - if (!wcsstr(KS_NAME_PIN, Buffer)) + if (wcsstr(Buffer, KS_NAME_PIN)) { Status = CreatePin(Irp); @@ -254,6 +254,7 @@ KMixAllocateDeviceHeader( /* initialize create item struct */ RtlZeroMemory(CreateItem, sizeof(KSOBJECT_CREATE_ITEM)); CreateItem->Create = DispatchCreateKMix; + CreateItem->Flags = KSCREATE_ITEM_WILDCARD; RtlInitUnicodeString(&CreateItem->ObjectClass, L"KMixer"); Status = KsAllocateDeviceHeader(&DeviceExtension->KsDeviceHeader,