can not get DeviceCaps by Microphone.
the source code : Application.RequestUserAuthorization(UserAuthorization.WebCam | UserAuthorization.Microphone); if (Application.HasUserAuthorization(UserAuthorization.WebCam | UserAuthorization.Microphone)) { print("have got"); } micArray = Microphone.devices; foreach (string deviceStr in micArray)
{
Debug.Log("device name = " + deviceStr);
} int min=0,max=0; Microphone.GetDeviceCaps("micro (Conexant 20671 SmartAudio HD)",out min,out max); print (min+" "+max);
i can get the device name: device name = micro (Conexant 20671 SmartAudio HD) but the function GetDeviceCaps: return 0 0. i can not figure this problem out.
plz help me.
Your answer
Follow this Question
Related Questions
Why do the Prepare OS for Recording option and OpenMic Disable bluetooth audio playback. 1 Answer
Live Ingame sound doesn't work with headphones 0 Answers
Call for Unity geniuses: Multiple Simultaneous Live Microphones Inputs 1 Answer
Microphone audio input/output real time - Voice Changer 0 Answers
Trying to use derive pitch and db from realtime microphone input 0 Answers