mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +01:00
Fix mic thread usage
This commit is contained in:
parent
82dedb1fbb
commit
0c051a83a7
@ -96,7 +96,7 @@ void mic_context::operator()()
|
||||
{
|
||||
std::lock_guard lock(mutex);
|
||||
|
||||
if (mic_list.empty())
|
||||
if (std::none_of(mic_list.begin(), mic_list.end(), [](const microphone_device& dev) { return dev.is_registered(); }))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user