Skip to content

Commit 8ecb54f

Browse files
committed
clean up
1 parent 35e87a7 commit 8ecb54f

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

Assets/MixedRealityToolkit-SDK/Features/Input/MixedRealityInputManager.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,13 +1620,11 @@ public void RaiseManipulationCanceled(IMixedRealityInputSource source, Handednes
16201620
/// <inheritdoc />
16211621
public void RaiseSpeechCommandRecognized(IMixedRealityInputSource source, MixedRealityInputAction inputAction, RecognitionConfidenceLevel confidence, TimeSpan phraseDuration, DateTime phraseStartTime, string text)
16221622
{
1623-
#if UNITY_WSA || UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN
16241623
// Create input event
16251624
speechEventData.Initialize(source, inputAction, confidence, phraseDuration, phraseStartTime, text);
16261625

16271626
// Pass handler through HandleEvent to perform modal/fallback logic
16281627
HandleEvent(speechEventData, OnSpeechKeywordRecognizedEventHandler);
1629-
#endif
16301628
}
16311629

16321630
#endregion Speech Keyword Events

Assets/MixedRealityToolkit/_Core/Devices/VoiceInput/WindowsDictationInputDeviceManager.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ public async Task<AudioClip> StopRecordingAsync()
229229
await new WaitUntil(() => PhraseRecognitionSystem.Status == SpeechSystemStatus.Running);
230230

231231
isTransitioning = false;
232-
#endif
233232
return dictationAudioClip;
234233
}
235234

0 commit comments

Comments
 (0)