bug fixes
This commit is contained in:
@@ -92,7 +92,10 @@ void loadAudioDevices(AudioData& audioData, std::vector<AudioDevice>& deviceList
|
||||
audioDevice.isDefaultCommunication = wcscmp(defaultCommunicationId, deviceId) == 0;
|
||||
}
|
||||
|
||||
deviceList.push_back(std::move(audioDevice));
|
||||
if (audioDevice.isInitialized)
|
||||
{
|
||||
deviceList.push_back(std::move(audioDevice));
|
||||
}
|
||||
}
|
||||
|
||||
CoTaskMemFree(deviceId);
|
||||
|
||||
Reference in New Issue
Block a user