可能的性能优化

This commit is contained in:
2026-03-20 18:48:11 +08:00
parent 41e38311f0
commit 27d57a28a9
7 changed files with 90 additions and 67 deletions
@@ -1,65 +0,0 @@
using System.IO;
namespace OCES.Audio
{
/// <summary>
/// 替换策略类型
/// </summary>
public enum KillMode : byte
{
Oldest, // 打断最早开始的
Newest, // 打断最新开始的
}
/// <summary>
/// 混音分组
/// </summary>
public enum MixingType : byte
{
Sfx = 0,
Music,
Voice,
}
/// <summary>
/// 声音容器类型
/// </summary>
public enum ContainerType : byte{
Random = 0,
Sequence,
Blend,
}
public enum BlendCrossFadeType : byte
{
Exponential = 0,
Linear,
Logarithmic,
}
public enum AlignMode : byte
{
Immediate,
Beat,
Bar,
}
/// <summary>
/// 游戏状态
/// </summary>
public enum GameState
{
Home,
Game,
Win,
Lose,
Guitar,
Bass,
}
public interface IBinarySerializable
{
void DeSerialize(BinaryReader reader);
void Serialize(BinaryWriter writer);
}
}
@@ -1,3 +0,0 @@
fileFormatVersion: 2
guid: 0e257121504141e794758c8e3832b1d4
timeCreated: 1773130192