[USBAUDIO] Fix compilation issues

This commit is contained in:
Oleg Dubinskiy 2019-08-01 23:37:35 +03:00 committed by Mark Jansen
parent d1a2983c00
commit 47303268e1
2 changed files with 1 additions and 3 deletions

View file

@ -326,7 +326,6 @@ CountTopologyComponents(
PUSB_AUDIO_CONTROL_INPUT_TERMINAL_DESCRIPTOR InputTerminalDescriptor; PUSB_AUDIO_CONTROL_INPUT_TERMINAL_DESCRIPTOR InputTerminalDescriptor;
PUSB_AUDIO_CONTROL_FEATURE_UNIT_DESCRIPTOR FeatureUnitDescriptor; PUSB_AUDIO_CONTROL_FEATURE_UNIT_DESCRIPTOR FeatureUnitDescriptor;
PUSB_AUDIO_CONTROL_MIXER_UNIT_DESCRIPTOR MixerUnitDescriptor; PUSB_AUDIO_CONTROL_MIXER_UNIT_DESCRIPTOR MixerUnitDescriptor;
PUSB_AUDIO_CONTROL_SELECTOR_UNIT_DESCRIPTOR SelectorUnitDescriptor;
ULONG NodeCount = 0, Length, Index; ULONG NodeCount = 0, Length, Index;
ULONG DescriptorCount = 0; ULONG DescriptorCount = 0;
UCHAR Value; UCHAR Value;
@ -387,7 +386,6 @@ CountTopologyComponents(
} }
else if (InputTerminalDescriptor->bDescriptorSubtype == 0x05 /* SELECTOR_UNIT */) else if (InputTerminalDescriptor->bDescriptorSubtype == 0x05 /* SELECTOR_UNIT */)
{ {
SelectorUnitDescriptor = (PUSB_AUDIO_CONTROL_SELECTOR_UNIT_DESCRIPTOR)InputTerminalDescriptor;
DescriptorCount++; DescriptorCount++;
NodeCount++; NodeCount++;
} }

View file

@ -697,7 +697,7 @@ InitStreamPin(
ULONG ULONG
GetDataRangeIndexForFormat( GetDataRangeIndexForFormat(
IN PKSDATARANGE ConnectionFormat, IN PKSDATARANGE ConnectionFormat,
IN PKSDATARANGE * DataRanges, IN const PKSDATARANGE * DataRanges,
IN ULONG DataRangesCount) IN ULONG DataRangesCount)
{ {
ULONG Index; ULONG Index;