namespace DereTore.Exchange.Audio.HCA {
public struct AudioParams {
///
/// 0 = play as if it is a normal sequential audio.
///
public uint SimulatedLoopCount { get; set; }
///
///
///
/// When applied to an HCA audio with a loop range, must be set to false.
/// Otherwise an invalid wave header will be generated.
///
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();
}
}