1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-04 15:50:10 +01:00

Performance improvements

This commit is contained in:
Daniel Winzen
2015-04-23 16:07:25 +02:00
parent 293ebe1ab0
commit 759ff8cd0d
26 changed files with 123 additions and 123 deletions

View File

@@ -310,7 +310,7 @@ void DeviceToolBar::UpdatePrefs()
}
}
long oldChannels = 1, newChannels;
long oldChannels, newChannels;
oldChannels = mInputChannels->GetSelection() + 1;
gPrefs->Read(wxT("/AudioIO/RecordChannels"), &newChannels, 0);
if (newChannels > 0 && oldChannels != newChannels)