aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-02-24 19:38:05 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-02-24 19:38:05 +0000
commit5ae777e92dd891a0aa8010caf584e708cd508b88 (patch)
tree96851543436f24b4ca3abbcd41b356e22c50113c /src
parentf22fb5843becc1824bf2ea66bfd1b0626546c8a2 (diff)
downloadusdx-5ae777e92dd891a0aa8010caf584e708cd508b88.tar.gz
usdx-5ae777e92dd891a0aa8010caf584e708cd508b88.tar.xz
usdx-5ae777e92dd891a0aa8010caf584e708cd508b88.zip
unifiy the name of portaudio inputs
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2153 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--src/media/UAudioInput_Portaudio.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media/UAudioInput_Portaudio.pas b/src/media/UAudioInput_Portaudio.pas
index 31d2882b..e278e69a 100644
--- a/src/media/UAudioInput_Portaudio.pas
+++ b/src/media/UAudioInput_Portaudio.pas
@@ -330,7 +330,7 @@ begin
// retrieve device-name
deviceName := deviceInfo^.name;
- paDevice.Name := deviceName;
+ paDevice.Name := UnifyDeviceName(deviceName, deviceIndex);
paDevice.PaDeviceIndex := deviceIndex;
sampleRate := deviceInfo^.defaultSampleRate;