Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
DvdSoundArchive.h
Go to the documentation of this file.
1#ifndef NW4HBM_SND_DVD_SOUND_ARCHIVE_H
2#define NW4HBM_SND_DVD_SOUND_ARCHIVE_H
3
4#include "snd_types.h"
5
6#include "SoundArchive.h"
7#include "SoundArchiveFile.h"
8
9#include "../ut/FileStream.h"
10
11#include <revolution/dvd.h>
12
13namespace nw4hbm {
14 namespace snd {
16 private:
17 class DvdFileStream;
18
19 public:
21
22 /* 0x08 */ virtual ~DvdSoundArchive();
23 /* 0x0C */ virtual const void* detail_GetFileAddress(u32 id) const { return NULL; }
24 /* 0x10 */ virtual const void* detail_GetWaveDataFileAddress(u32 id) const {
25 return NULL;
26 }
27 /* 0x14 */ virtual int detail_GetRequiredStreamBufferSize() const;
28 /* 0x18 */ virtual ut::FileStream* OpenStream(void* buffer, int size, u32 offset,
29 u32 length) const;
30 /* 0x1C */ virtual ut::FileStream* OpenExtStream(void* buffer, int size,
31 const char* extPath, u32 offset,
32 u32 length) const;
33
34 bool Open(s32 entrynum);
35 bool Open(const char* path);
36
37 void Close();
38
39 bool LoadHeader(void* buffer, u32 size);
41
44
45 private:
47
48 private:
51 /* 0x188 */ bool mOpen;
52 };
53 } // namespace snd
54} // namespace nw4hbm
55
56#endif
static s32 offset
Definition WUD.c:1669
Definition DvdSoundArchive.h:15
bool LoadHeader(void *buffer, u32 size)
virtual ut::FileStream * OpenStream(void *buffer, int size, u32 offset, u32 length) const
virtual const void * detail_GetFileAddress(u32 id) const
Definition DvdSoundArchive.h:23
detail::SoundArchiveFileReader mFileReader
Definition DvdSoundArchive.h:49
bool Open(const char *path)
bool mOpen
Definition DvdSoundArchive.h:51
DVDFileInfo mFileInfo
Definition DvdSoundArchive.h:50
u32 GetHeaderSize() const
Definition DvdSoundArchive.h:42
virtual const void * detail_GetWaveDataFileAddress(u32 id) const
Definition DvdSoundArchive.h:24
u32 GetLabelStringDataSize() const
Definition DvdSoundArchive.h:43
bool Open(s32 entrynum)
virtual ut::FileStream * OpenExtStream(void *buffer, int size, const char *extPath, u32 offset, u32 length) const
bool LoadLabelStringData(void *buffer, u32 size)
virtual int detail_GetRequiredStreamBufferSize() const
Definition SoundArchive.h:23
Definition SoundArchiveFile.h:199
u32 GetInfoChunkSize() const
Definition SoundArchiveFile.h:251
u32 GetLabelStringChunkSize() const
Definition SoundArchiveFile.h:248
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
signed long s32
Definition types.h:11
Definition HBMAnmController.h:6
Definition dvd.h:105
Definition d_a_npc_ks.cpp:47