mirror of
https://github.com/zeldaret/ss
synced 2026-05-31 09:21:42 -04:00
31 lines
581 B
C++
31 lines
581 B
C++
#ifndef NW4R_SND_WAVE_FILE_H
|
|
#define NW4R_SND_WAVE_FILE_H
|
|
#include "common.h"
|
|
#include "snd_Util.h"
|
|
#include "ut_binaryFileFormat.h"
|
|
|
|
namespace nw4r {
|
|
namespace snd {
|
|
namespace detail {
|
|
struct WaveData {
|
|
char UNK_0x0[0x2];
|
|
u8 BYTE_0x2;
|
|
char UNK_0x4[0x90];
|
|
};
|
|
|
|
struct WaveFile {
|
|
struct WaveInfo {};
|
|
|
|
typedef Util::DataRef<WaveInfo, void, void, void> Region;
|
|
};
|
|
|
|
struct WaveFileReader {
|
|
WaveFileReader(const WaveFile::WaveInfo *);
|
|
bool ReadWaveParam(WaveData *, const void *) const;
|
|
};
|
|
} // namespace detail
|
|
} // namespace snd
|
|
} // namespace nw4r
|
|
|
|
#endif
|