Photon Voice v2.53

Static Public Member Functions | Properties | List of all members
UnityMicrophone Class Reference

A wrapper around UnityEngine.Microphone to be able to safely use Microphone and compile for WebGL. More...

Static Public Member Functions

static void End (string deviceName)
 
static void GetDeviceCaps (string deviceName, out int minFreq, out int maxFreq)
 
static int GetPosition (string deviceName)
 
static bool IsRecording (string deviceName)
 
static AudioClip Start (string deviceName, bool loop, int lengthSec, int frequency)
 
static string CheckDevice (Voice.ILogger logger, string logPref, string device, int suggestedFrequency, out int frequency)
 

Properties

static string[] devices [get]
 

Detailed Description

A wrapper around UnityEngine.Microphone to be able to safely use Microphone and compile for WebGL.