|
|
|
@@ -336,10 +336,10 @@ void AudioDeviceManager::insertDefaultDeviceNames (AudioDeviceSetup& setup) cons |
|
|
|
{
|
|
|
|
if (auto* type = getCurrentDeviceTypeObject())
|
|
|
|
{
|
|
|
|
if (setup.outputDeviceName.isEmpty())
|
|
|
|
if (numOutputChansNeeded > 0 && setup.outputDeviceName.isEmpty())
|
|
|
|
setup.outputDeviceName = type->getDeviceNames (false) [type->getDefaultDeviceIndex (false)];
|
|
|
|
|
|
|
|
if (setup.inputDeviceName.isEmpty())
|
|
|
|
if (numInputChansNeeded > 0 && setup.inputDeviceName.isEmpty())
|
|
|
|
setup.inputDeviceName = type->getDeviceNames (true) [type->getDefaultDeviceIndex (true)];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|