Fix crash and wrong device names in the DirectSound record backend (#890)
Co-authored-by: Florian Ostertag <flokuep@users.noreply.github.com>
This commit is contained in:
1 parent
3a9ea3f67b
commit
c1476b1eb2
1 file changed
+1
-1
@@ -42,7 +42,7 @@ namespace Vocaluxe.Lib.Sound.Record.DirectSound
|
||||
{
|
||||
using (var ds = new DirectSoundCapture(dev.DriverGuid))
|
||||
{
|
||||
var device = new CRecordDevice(_Devices.Count, dev.DriverGuid.ToString(), dev.Description, ds.Capabilities.Channels);
|
||||
var device = new CRecordDevice(_Devices.Count, dev.Description, dev.DriverGuid.ToString(), ds.Capabilities.Channels);
|
||||
|
||||
_Devices.Add(device);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user