mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-17 08:01:12 +02:00
bug 11: fix bad index typo. may fix bug 11 issues on win 7.
This commit is contained in:
@@ -286,7 +286,7 @@ void DeviceToolBar::UpdatePrefs()
|
||||
if (outMaps[i].hostString == hostName &&
|
||||
MakeDeviceSourceString(&outMaps[i]) == mOutput->GetString(0)) {
|
||||
// use the default. It should exist but check just in case, falling back on the 0 index.
|
||||
DeviceSourceMap *defaultMap = DeviceManager::Instance()->GetDefaultOutputDevice(inMaps[i].hostIndex);
|
||||
DeviceSourceMap *defaultMap = DeviceManager::Instance()->GetDefaultOutputDevice(outMaps[i].hostIndex);
|
||||
if (defaultMap) {
|
||||
mOutput->SetStringSelection(MakeDeviceSourceString(defaultMap));
|
||||
SetDevices(NULL, defaultMap);
|
||||
|
Reference in New Issue
Block a user