mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Check input as well as output devices names when checking if current audio device is still available in AudioDeviceManager::audioDeviceListChanged()
This commit is contained in:
parent
8209053244
commit
9fda031414
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ void AudioDeviceManager::audioDeviceListChanged()
|
|||
{
|
||||
for (auto* dt : availableDeviceTypes)
|
||||
if (currentAudioDevice->getTypeName() == dt->getTypeName())
|
||||
for (auto& dn : dt->getDeviceNames())
|
||||
for (auto& dn : dt->getDeviceNames (true))
|
||||
if (currentAudioDevice->getName() == dn)
|
||||
return true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue