Skip to content

Commit

Permalink
Removing Unused variable from SimpleAudioSample (#710)
Browse files Browse the repository at this point in the history
There was a variable (MicArray_180_Degrees) being initialized but not used which was causing a warning and a subsequent failure when building the driver in the Windows Driver Kit TP process. This was fixed by removing the variable's initialization. Validated by building the driver and making sure it still installs and works correctly.
  • Loading branch information
judzmura authored Apr 6, 2022
1 parent 5d1c0dc commit 9e1a643
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion audio/simpleaudiosample/Source/Filters/micarraytopo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,6 @@ Return Value:
if (PropertyRequest->Verb & KSPROPERTY_TYPE_GET)
{
PKSAUDIO_MIC_ARRAY_GEOMETRY pMAG = (PKSAUDIO_MIC_ARRAY_GEOMETRY)PropertyRequest->Value;
const SHORT MicArray_180_Degrees = 31416; // 10000 * pi
const SHORT MicArray_45_Degrees = 7854; // 10000 * pi / 4

// fill in mic array geometry fields
Expand Down

0 comments on commit 9e1a643

Please sign in to comment.