2016-12-06 17:56:20 +08:00
|
|
|
|
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
2017-01-31 17:37:11 +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
|
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";
|
2016-11-08 07:04:49 +08:00
|
|
|
|
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[]
|
|
|
|
|
{
|
2016-11-11 10:54:01 +08:00
|
|
|
|
new AudioDevicesOptions { Alpha = RuntimeInfo.IsWindows ? 1 : 0 },
|
2016-11-03 12:26:49 +08:00
|
|
|
|
new VolumeOptions(),
|
2017-01-31 18:23:52 +08:00
|
|
|
|
new OffsetOptions(),
|
2016-11-03 12:26:49 +08:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|