///
/// GTA audio sharp namespace
///
namespace GTAAudioSharp
{
///
/// GTA audio audio clip data structure
///
public struct GTAAudioAudioClipData
{
///
/// Sound buffer offset
///
public readonly uint SoundBufferOffset;
///
/// Loop offset
///
public readonly uint LoopOffset;
///
/// Sample rate
///
public readonly ushort SampleRate;
///
/// Sound headroom
///
public readonly ushort SoundHeadroom;
///
/// Length
///
public readonly uint Length;
///
/// Constructor
///
/// Sound buffer offset
/// Loop offset
/// Sample rate
/// Sound headroom
/// Length
internal GTAAudioAudioClipData(uint soundBufferOffset, uint loopOffset, ushort sampleRate, ushort soundHeadroom, uint length)
{
SoundBufferOffset = soundBufferOffset;
LoopOffset = loopOffset;
SampleRate = sampleRate;
SoundHeadroom = soundHeadroom;
Length = length;
}
}
}