Skip to content

Commit

Permalink
fix: Correct output of sound system info
Browse files Browse the repository at this point in the history
  • Loading branch information
twpol committed Jul 1, 2023
1 parent 2232f9c commit 1605667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ORTS.Common/SystemInfo.cs
Expand Up @@ -97,7 +97,7 @@ static void WriteEnvironment(TextWriter output)
{
foreach (ManagementObject sound in new ManagementClass("Win32_SoundDevice").GetInstances())
{
Console.WriteLine("Sound = {0}{1}", (string)sound["Description"], GetPnPDeviceDrivers(sound));
output.WriteLine("Sound = {0}{1}", (string)sound["Description"], GetPnPDeviceDrivers(sound));
}
}
catch (Exception error)
Expand Down

0 comments on commit 1605667

Please sign in to comment.