26 #ifndef AUDIO_SOUNDFONT_VGMSAMP_H 27 #define AUDIO_SOUNDFONT_VGMSAMP_H 29 #include "audio/soundfont/common.h" 30 #include "common/scummsys.h" 31 #include "common/str.h" 32 #include "audio/soundfont/vgmitem.h" 38 WT_UNDEFINED, WT_PCM8, WT_PCM16
45 uint32 dataOffset = 0, uint32 dataLength = 0, uint8 channels = 1,
49 virtual double GetCompressionRatio();
51 virtual void ConvertToStdWave(uint8 *buf) {};
53 inline void SetLoopStatus(
int loopStat) { _loop.loopStatus = loopStat; }
54 inline void SetLoopOffset(uint32 loopStart) { _loop.loopStart = loopStart; }
55 inline void SetLoopLength(uint32 theLoopLength) { _loop.loopLength = theLoopLength; }
64 uint32 _ulUncompressedSize;
66 bool _bPSXLoopInfoPrioritizing;
86 virtual bool GetHeaderInfo() {
return true; }
87 virtual bool GetSampleInfo() {
return true; }
94 uint32 _sampDataOffset;
100 #endif // AUDIO_SOUNDFONT_VGMSAMP_H
Definition: vgminstrset.h:45