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