mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-12 04:35:41 +08:00
@@ -90,8 +90,6 @@ namespace swift::sound
|
||||
if (supportedDevices.isEmpty()) { return {}; }
|
||||
|
||||
QAudioDevice deviceWithLowestLatency = supportedDevices.at(0);
|
||||
deviceWithLowestLatency =
|
||||
device.isInputDevice() ? QMediaDevices::defaultAudioInput() : QMediaDevices::defaultAudioOutput();
|
||||
|
||||
if (supportedDevices.size() > 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user