osu/osu.Game/Audio/SampleInfo.cs

25 lines
616 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;
namespace osu.Game.Audio
{
/// <summary>
/// Describes a gameplay sample.
/// </summary>
public class SampleInfo : ISampleInfo
{
private readonly string[] sampleNames;
public SampleInfo(params string[] sampleNames)
{
this.sampleNames = sampleNames;
}
public IEnumerable<string> LookupNames => sampleNames;
public int Volume { get; } = 100;
}
}