mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 06:23:20 +08:00
a39d28efe2
Remove certain options when not running on Windows
22 lines
594 B
C#
22 lines
594 B
C#
using osu.Framework;
|
|
using osu.Framework.Graphics;
|
|
using osu.Game.Graphics;
|
|
|
|
namespace osu.Game.Overlays.Options.Audio
|
|
{
|
|
public class AudioSection : OptionsSection
|
|
{
|
|
public override string Header => "Audio";
|
|
public override FontAwesome Icon => FontAwesome.fa_headphones;
|
|
|
|
public AudioSection()
|
|
{
|
|
Children = new Drawable[]
|
|
{
|
|
new AudioDevicesOptions { Alpha = RuntimeInfo.IsWindows ? 1 : 0 },
|
|
new VolumeOptions(),
|
|
new OffsetAdjustmentOptions(),
|
|
};
|
|
}
|
|
}
|
|
} |