mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 15:42:54 +08:00
34 lines
958 B
C#
34 lines
958 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using osu.Framework.Graphics;
|
|
using osu.Framework.Graphics.Sprites;
|
|
using osu.Game.Overlays.Settings.Sections.Audio;
|
|
|
|
namespace osu.Game.Overlays.Settings.Sections
|
|
{
|
|
public class AudioSection : SettingsSection
|
|
{
|
|
public override string Header => "Audio";
|
|
|
|
public override Drawable CreateIcon() => new SpriteIcon
|
|
{
|
|
Icon = FontAwesome.Solid.VolumeUp
|
|
};
|
|
|
|
public override IEnumerable<string> FilterTerms => base.FilterTerms.Concat(new[] { "sound" });
|
|
|
|
public AudioSection()
|
|
{
|
|
Children = new Drawable[]
|
|
{
|
|
new AudioDevicesSettings(),
|
|
new VolumeSettings(),
|
|
new OffsetSettings(),
|
|
};
|
|
}
|
|
}
|
|
}
|