[USBAUDIO] Fix compilation issues

This commit is contained in:
Oleg Dubinskiy
2019-08-03 14:55:57 +02:00
committed by Mark Jansen
parent d1a2983c00
commit 47303268e1
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -326,7 +326,6 @@ CountTopologyComponents(
PUSB_AUDIO_CONTROL_INPUT_TERMINAL_DESCRIPTOR InputTerminalDescriptor;
PUSB_AUDIO_CONTROL_FEATURE_UNIT_DESCRIPTOR FeatureUnitDescriptor;
PUSB_AUDIO_CONTROL_MIXER_UNIT_DESCRIPTOR MixerUnitDescriptor;
PUSB_AUDIO_CONTROL_SELECTOR_UNIT_DESCRIPTOR SelectorUnitDescriptor;
ULONG NodeCount = 0, Length, Index;
ULONG DescriptorCount = 0;
UCHAR Value;
@@ -387,7 +386,6 @@ CountTopologyComponents(
}
else if (InputTerminalDescriptor->bDescriptorSubtype == 0x05 /* SELECTOR_UNIT */)
{
SelectorUnitDescriptor = (PUSB_AUDIO_CONTROL_SELECTOR_UNIT_DESCRIPTOR)InputTerminalDescriptor;
DescriptorCount++;
NodeCount++;
}
+1 -1
View File
@@ -697,7 +697,7 @@ InitStreamPin(
ULONG
GetDataRangeIndexForFormat(
IN PKSDATARANGE ConnectionFormat,
IN PKSDATARANGE * DataRanges,
IN const PKSDATARANGE * DataRanges,
IN ULONG DataRangesCount)
{
ULONG Index;