mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 14:31:17 +12:00
parent
2d42c885da
commit
60074c440d
2 changed files with 11 additions and 4 deletions
|
@ -226,6 +226,11 @@ std::vector<DirectSoundAPI::DeviceDescriptionPtr> DirectSoundAPI::GetDevices()
|
|||
return TRUE;
|
||||
}, &result);
|
||||
|
||||
//Exclude default primary sound device if no other sound devices are available
|
||||
if (result.size() == 1 && result.at(0).get()->GetIdentifier() == L"default") {
|
||||
result.clear();
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue