Author: janderwald
Date: Fri Sep 23 22:14:21 2016
New Revision: 72783
URL:
http://svn.reactos.org/svn/reactos?rev=72783&view=rev
Log:
[USBAUDIO]
- fix build with gcc
Modified:
trunk/reactos/drivers/usb/usbaudio/filter.c
Modified: trunk/reactos/drivers/usb/usbaudio/filter.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbaudio/filte…
==============================================================================
--- trunk/reactos/drivers/usb/usbaudio/filter.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbaudio/filter.c [iso-8859-1] Fri Sep 23 22:14:21 2016
@@ -45,13 +45,15 @@
KSDATARANGE BridgePinAudioFormat[] =
{
{
- sizeof(KSDATAFORMAT),
- 0,
- 0,
- 0,
- {STATIC_KSDATAFORMAT_TYPE_AUDIO},
- {STATIC_KSDATAFORMAT_SUBTYPE_ANALOG},
- {STATIC_KSDATAFORMAT_SPECIFIER_NONE}
+ {
+ sizeof(KSDATAFORMAT),
+ 0,
+ 0,
+ 0,
+ {STATIC_KSDATAFORMAT_TYPE_AUDIO},
+ {STATIC_KSDATAFORMAT_SUBTYPE_ANALOG},
+ {STATIC_KSDATAFORMAT_SPECIFIER_NONE}
+ }
}
};
@@ -458,7 +460,6 @@
PKSDEVICE Device)
{
KSFILTER_DESCRIPTOR FilterDescriptor;
- PDEVICE_EXTENSION DeviceExtension;
PKSCOMPONENTID ComponentId;
NTSTATUS Status;
@@ -509,7 +510,6 @@
}
/* lets create the filter */
- DeviceExtension = Device->Context;
Status = KsCreateFilterFactory(Device->FunctionalDeviceObject,
&FilterDescriptor, ReferenceString, NULL, KSCREATE_ITEM_FREEONSTOP, NULL, NULL,
NULL);
DPRINT1("KsCreateFilterFactory: %x\n", Status);