1
0
forked from cgvr/DeltaVR

fix FishNetworking problems from merging

This commit is contained in:
2026-01-10 11:53:56 +02:00
parent e4d61a6648
commit 46b1c7e1de
11 changed files with 494 additions and 91 deletions

View File

@@ -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();