add simple live mode

This commit is contained in:
左右看
2023-07-09 16:12:39 +08:00
parent f0c76b12b2
commit c7f254a025
9 changed files with 1336 additions and 56 deletions
+8 -2
View File
@@ -66,6 +66,8 @@ public class UmaViewerAudio
float _999_count = 0;
bool _no999 = false;
for (int i = 0; i < liveVocal.Count; i++)
{
string partName = ((PartForm)i).ToString();
@@ -97,11 +99,15 @@ public class UmaViewerAudio
{
_999_count += 1;
}
}
}
else
{
_no999 = true;
}
}
}
if (_999_count == liveVocal.Count)
if ((_999_count == liveVocal.Count && liveVocal.Count != 0) || _no999)
{
useMixer = true;
}