forked from cgvr/DeltaVR
fix FishNetworking problems from merging
This commit is contained in:
@@ -13,6 +13,7 @@ public class VoiceTranscriptionBox : MonoBehaviour
|
||||
|
||||
public WhisperManager whisper;
|
||||
public MicrophoneRecord microphoneRecord;
|
||||
public string microphoneDevice;
|
||||
public TextMeshProUGUI outputText;
|
||||
|
||||
private WhisperStream stream;
|
||||
@@ -25,6 +26,8 @@ public class VoiceTranscriptionBox : MonoBehaviour
|
||||
meshRenderer = GetComponent<MeshRenderer>();
|
||||
|
||||
Debug.Log("Mic devices: " + string.Join(", ", Microphone.devices));
|
||||
Debug.Log("Using mic device: " + microphoneDevice);
|
||||
microphoneRecord.SelectedMicDevice = microphoneDevice;
|
||||
|
||||
// This causes about 1 sec long freeze, has to be done once at the start of the game
|
||||
microphoneRecord.StartRecord();
|
||||
|
||||
Reference in New Issue
Block a user