Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
MemorySoundArchive.h
Go to the documentation of this file.
1#ifndef NW4HBM_SND_MEMORY_SOUND_ARCHIVE_H
2#define NW4HBM_SND_MEMORY_SOUND_ARCHIVE_H
3
4#include <revolution/types.h>
5#include "../ut/FileStream.h"
6#include "SoundArchive.h"
7#include "SoundArchiveFile.h"
8
9
10namespace nw4hbm {
11 namespace snd {
13 private:
14 class MemoryFileStream;
15
16 public:
18
19 /* 0x08 */ virtual ~MemorySoundArchive();
20 /* 0x0C */ virtual const void* detail_GetFileAddress(u32 id) const;
21 /* 0x10 */ virtual const void* detail_GetWaveDataFileAddress(u32 id) const;
22 /* 0x14 */ virtual int detail_GetRequiredStreamBufferSize() const;
23 /* 0x18 */ virtual ut::FileStream* OpenStream(void* buffer, int size, u32 offset,
24 u32 length) const;
25 /* 0x1C */ virtual ut::FileStream* OpenExtStream(void* buffer, int size,
26 const char* extPath, u32 offset,
27 u32 length) const;
28
29 bool Setup(const void* buffer);
30 void Shutdown();
31
32 private:
33 /* 0x108 */ const void* mData;
35 };
36 } // namespace snd
37} // namespace nw4hbm
38
39#endif
static s32 offset
Definition WUD.c:1669
Definition MemorySoundArchive.h:12
virtual int detail_GetRequiredStreamBufferSize() const
virtual ut::FileStream * OpenStream(void *buffer, int size, u32 offset, u32 length) const
bool Setup(const void *buffer)
const void * mData
Definition MemorySoundArchive.h:33
virtual const void * detail_GetFileAddress(u32 id) const
detail::SoundArchiveFileReader mFileReader
Definition MemorySoundArchive.h:34
virtual const void * detail_GetWaveDataFileAddress(u32 id) const
virtual ut::FileStream * OpenExtStream(void *buffer, int size, const char *extPath, u32 offset, u32 length) const
Definition SoundArchive.h:23
Definition SoundArchiveFile.h:199
Definition FileStream.h:9
static OSTime buffer
Definition ai.c:24
unsigned int size
Definition __os.h:106
unsigned long u32
Definition types.h:12
Definition HBMAnmController.h:6