forked from cgvr/DeltaVR
fixed microphone not detecting after merge
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -24,8 +24,7 @@ public class VoiceTranscriptionBox : MonoBehaviour
|
|||||||
{
|
{
|
||||||
meshRenderer = GetComponent<MeshRenderer>();
|
meshRenderer = GetComponent<MeshRenderer>();
|
||||||
|
|
||||||
var micDevices = Microphone.devices;
|
Debug.Log("Mic devices: " + string.Join(", ", Microphone.devices));
|
||||||
Debug.Log("Mic devices: " + string.Join(", ", micDevices));
|
|
||||||
|
|
||||||
// This causes about 1 sec long freeze, has to be done once at the start of the game
|
// This causes about 1 sec long freeze, has to be done once at the start of the game
|
||||||
microphoneRecord.StartRecord();
|
microphoneRecord.StartRecord();
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user