mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 23:47:29 +08:00
26 lines
790 B
C#
26 lines
790 B
C#
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
|
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using osu.Framework;
|
|
using osu.Framework.Graphics;
|
|
using osu.Game.Graphics;
|
|
using osu.Game.Overlays.Options.Sections.Audio;
|
|
|
|
namespace osu.Game.Overlays.Options.Sections
|
|
{
|
|
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(),
|
|
};
|
|
}
|
|
}
|
|
} |