aboutsummaryrefslogtreecommitdiffstats
path: root/src/media/UAudioInput_Portaudio.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/media/UAudioInput_Portaudio.pas')
-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;