mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
SoundControlPoint -> SampleControlPoint
This commit is contained in:
@ -17,13 +17,13 @@ namespace osu.Game.Audio
|
||||
public const string HIT_NORMAL = @"hitnormal";
|
||||
public const string HIT_CLAP = @"hitclap";
|
||||
|
||||
public static SampleInfo FromSoundPoint(SoundControlPoint soundPoint, string sampleName = HIT_NORMAL)
|
||||
public static SampleInfo FromSoundPoint(SampleControlPoint samplePoint, string sampleName = HIT_NORMAL)
|
||||
{
|
||||
return new SampleInfo
|
||||
{
|
||||
Bank = soundPoint.SampleBank,
|
||||
Bank = samplePoint.SampleBank,
|
||||
Name = sampleName,
|
||||
Volume = soundPoint.SampleVolume,
|
||||
Volume = samplePoint.SampleVolume,
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user