aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/UIni.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-05-08 22:46:29 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-05-08 22:46:29 +0000
commit69cd34b1a50914fad7e5befaa848a6a2c537b4ac (patch)
tree2af1f9f588faa82c445026c212250f9cf38d26a2 /src/base/UIni.pas
parent4ae6069e48c8b30610cec32c7508e2a7400d4d35 (diff)
downloadusdx-69cd34b1a50914fad7e5befaa848a6a2c537b4ac.tar.gz
usdx-69cd34b1a50914fad7e5befaa848a6a2c537b4ac.tar.xz
usdx-69cd34b1a50914fad7e5befaa848a6a2c537b4ac.zip
validate microphone settings when leaving the record options and when USDX is started:
- check if a user is assigned to multiple devices. If this is the case either do not leave the record options (if we already are there) or enter the record options (if USDX was started) - the check is performed by calling TAudioInputProcessor.ValidateSettings() git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2346 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/base/UIni.pas')
-rw-r--r--src/base/UIni.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/UIni.pas b/src/base/UIni.pas
index ec229c54..a4c85a3b 100644
--- a/src/base/UIni.pas
+++ b/src/base/UIni.pas
@@ -632,7 +632,7 @@ begin
if (DeviceIndex >= 0) then
begin
if not IniFile.ValueExists('Record', Format('DeviceName[%d]', [DeviceIndex])) then
- break;
+ Continue;
// resize list
SetLength(InputDeviceConfig, Length(InputDeviceConfig)+1);