add live select pannel

This commit is contained in:
CroakFang
2023-01-20 07:13:54 +08:00
parent 3b18268252
commit a4dc2516e3
1543 changed files with 107369 additions and 9227 deletions
@@ -0,0 +1,28 @@
namespace DereTore.Exchange.Audio.HCA {
public struct AudioParams {
/// <summary>
/// 0 = play as if it is a normal sequential audio.
/// </summary>
public uint SimulatedLoopCount { get; set; }
/// <summary>
/// </summary>
/// <remarks>
/// When applied to an HCA audio with a loop range, <see cref="OutputWaveHeader"/> must be set to <code>false</code>.
/// Otherwise an invalid wave header will be generated.
/// </remarks>
public bool InfiniteLoop { get; set; }
public bool OutputWaveHeader { get; set; }
public static AudioParams CreateDefault() {
return new AudioParams {
InfiniteLoop = false,
SimulatedLoopCount = 0,
OutputWaveHeader = true
};
}
public static readonly AudioParams Default = CreateDefault();
}
}