Skip to content

Commit 1605667

Browse files
committed
fix: Correct output of sound system info
1 parent 2232f9c commit 1605667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/ORTS.Common/SystemInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ static void WriteEnvironment(TextWriter output)
9797
{
9898
foreach (ManagementObject sound in new ManagementClass("Win32_SoundDevice").GetInstances())
9999
{
100-
Console.WriteLine("Sound = {0}{1}", (string)sound["Description"], GetPnPDeviceDrivers(sound));
100+
output.WriteLine("Sound = {0}{1}", (string)sound["Description"], GetPnPDeviceDrivers(sound));
101101
}
102102
}
103103
catch (Exception error)

0 commit comments

Comments
 (0)