Author: janderwald
Date: Sat Jul 11 17:52:36 2009
New Revision: 41886
URL: http://svn.reactos.org/svn/reactos?rev=41886&view=rev
Log:
[KMIXER]
- Set KSCREATE_ITEM_WILDCARD flag to receive all requests in one handler
--
Kmixer is now back accessible
Modified:
trunk/reactos/drivers/wdm/audio/filters/kmixer/filter.c
Modified: trunk/reactos/drivers/wdm/audio/filters/kmixer/filter.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/filters/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/filters/kmixer/filter.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/filters/kmixer/filter.c [iso-8859-1] Sat Jul 11 17:52:36 2009
@@ -201,7 +201,7 @@
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 @@
/* 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,