OpenRA.Platforms.Default.OpenAlSoundEngine.AvailableDevices C# (CSharp) Method

AvailableDevices() public method

public AvailableDevices ( ) : SoundDevice[]
return SoundDevice[]
        public SoundDevice[] AvailableDevices()
        {
            var defaultDevices = new[]
            {
                new SoundDevice(null, "Default Output"),
            };

            var physicalDevices = PhysicalDevices().Select(d => new SoundDevice(d, d));
            return defaultDevices.Concat(physicalDevices).ToArray();
        }