return null if there are no record devices in CPortAudioRecord.cs
This commit is contained in:
1 parent
ad2fb1ddc5
commit
0e1a6d7e06
1 file changed
+3
@@ -245,6 +245,9 @@ namespace Vocaluxe.Lib.Sound
|
||||
if (!_initialized)
|
||||
return null;
|
||||
|
||||
if (_Devices.Count == 0)
|
||||
return null;
|
||||
|
||||
return _Devices.ToArray();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user