Jazz2::AssetPacker::Wav64Audio struct

Audio to be written as a .wav64, always as 16-bit samples.

Public variables

SmallVector<std::int16_t, 0> Samples
Interleaved samples, Frames times Channels.
std::int32_t Frames
std::int32_t Channels
std::int32_t BitsPerSample
Sample size of the source data, 8 or 16 - only an uncompressed file keeps 8-bit samples.
std::int32_t SampleRate
bool Looping
std::int32_t LoopOffset
First frame of the loop.
std::int32_t LoopEnd
Frame the loop ends at (exclusive), 0 for the end of the audio.
SmallVector<std::int32_t, 0> SkipPoints
Frames playback can be started from besides the beginning (VADPCM only).
std::uint8_t AttackFrames
Compressed frames kept in RAM for a fast note-on (VADPCM only, used by .xm64 samples).
bool Resident
Whether the whole waveform is preloaded instead of streamed (VADPCM only).