2017-02-07 12:59:30 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
2017-02-07 12:52:19 +08:00
|
|
|
|
|
|
|
|
|
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 OffsetOptions(),
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-11-03 12:26:49 +08:00
|
|
|
|
}
|