Allowed passing null string as microphone for lip sync in OpenSeeVRMDriver.
This commit is contained in:
parent
1d662f723f
commit
e915f87887
1 changed files with 1 additions and 2 deletions
|
|
@ -1203,8 +1203,7 @@ public class OpenSeeVRMDriver : MonoBehaviour {
|
|||
freq = maxFreq;
|
||||
|
||||
lastMic = mic;
|
||||
if (mic != null)
|
||||
Microphone.GetDeviceCaps(lastMic, out minFreq, out maxFreq);
|
||||
Microphone.GetDeviceCaps(lastMic, out minFreq, out maxFreq);
|
||||
if (maxFreq > 0)
|
||||
freq = maxFreq;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue