mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-29 05:24:18 -04:00
Make AudioDeviceInfo singleton, remove the ones in AudioDeviceManager
This commit is contained in:
@@ -91,7 +91,7 @@ bool AudioOutputDevice::start(int deviceIndex, int sampleRate)
|
||||
}
|
||||
else
|
||||
{
|
||||
QList<AudioDeviceInfo> devicesInfo = AudioDeviceInfo::availableOutputDevices();
|
||||
auto &devicesInfo = AudioDeviceInfo::availableOutputDevices();
|
||||
|
||||
if (deviceIndex < devicesInfo.size())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user