解决重复切换State的时候会导致重复播放对应Segment的问题。
修复FadeIn读取了FadeOut参数的问题。 增加Initial Delay功能。 重构AudioScheduler.ConfigureSource() -> SetupSource(), RegisterActiveSound(), StartPlayBack()。 移动长音频相关功能至LongAudio文件夹。
This commit is contained in:
@@ -57,6 +57,13 @@ namespace OCES.Audio
|
||||
Bass,
|
||||
}
|
||||
|
||||
public enum ActiveSoundState
|
||||
{
|
||||
Pending, // 已进入调度,但还没真正播放
|
||||
Playing, // 已经开始播放
|
||||
Finished,
|
||||
}
|
||||
|
||||
public interface IBinarySerializable
|
||||
{
|
||||
void DeSerialize(BinaryReader reader);
|
||||
|
||||
Reference in New Issue
Block a user