1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-18 21:02:54 +08:00
osu-lazer/osu.Game/Overlays/Options/Audio/AudioSection.cs

22 lines
594 B
C#
Raw Normal View History

using osu.Framework;
using osu.Framework.Graphics;
using osu.Game.Graphics;
2016-11-03 12:26:49 +08:00
2016-11-08 10:24:41 +08:00
namespace osu.Game.Overlays.Options.Audio
2016-11-03 12:26:49 +08:00
{
2016-11-08 10:24:41 +08:00
public class AudioSection : OptionsSection
2016-11-03 12:26:49 +08:00
{
2016-11-09 12:16:04 +08:00
public override string Header => "Audio";
public override FontAwesome Icon => FontAwesome.fa_headphones;
2016-11-09 11:38:40 +08:00
2016-11-08 10:24:41 +08:00
public AudioSection()
2016-11-03 12:26:49 +08:00
{
Children = new Drawable[]
{
new AudioDevicesOptions { Alpha = RuntimeInfo.IsWindows ? 1 : 0 },
2016-11-03 12:26:49 +08:00
new VolumeOptions(),
new OffsetAdjustmentOptions(),
};
}
}
}