54 ulong waveDataFileSize;
55 char const *extFilePath;
70 char const *extFilePath;
90 int playableSoundCount;
101 bool releasePriorityFixFlag;
109 u16 allocChannelCount;
118 bool releasePriorityFixFlag;
136 int strmChannelCount;
158 virtual ~SoundArchive();
162 virtual void const *detail_GetFileAddress(ulong fileId)
const = 0;
163 virtual void const *detail_GetWaveDataFileAddress(ulong fileId)
const = 0;
164 virtual int detail_GetRequiredStreamBufferSize()
const = 0;
165 virtual ut::FileStream *OpenStream(
void *buffer,
int size, ulong begin,
166 ulong length)
const = 0;
168 char const *extFilePath,
169 ulong begin, ulong length)
const = 0;
175 ulong GetPlayerCount()
const;
176 ulong GetGroupCount()
const;
177 bool IsAvailable()
const;
178 SoundType GetSoundType(ulong soundId)
const;
180 const char* GetSoundLabelString(ulong
id)
const;
181 ulong ConvertLabelStringToSoundId(
char const *label)
const;
182 ulong ConvertLabelStringToPlayerId(
const char* pLabel)
const;
183 ulong ConvertLabelStringToGroupId(
const char* pLabel)
const;
184 ulong ConvertLabelStringToBankId(
const char* pLabel)
const;
185 ulong GetSoundUserParam(ulong
id)
const;
187 bool ReadSoundInfo(ulong soundId,
SoundInfo *info)
const;
188 bool ReadSeqSoundInfo(ulong soundId,
SeqSoundInfo *info)
const;
189 bool detail_ReadStrmSoundInfo(ulong soundId,
StrmSoundInfo *info)
const;
190 bool detail_ReadWaveSoundInfo(ulong soundId,
WaveSoundInfo *info)
const;
192 bool ReadPlayerInfo(ulong playerId,
PlayerInfo *info)
const;
196 bool ReadBankInfo(ulong bankId,
BankInfo *info)
const;
198 bool detail_ReadGroupInfo(ulong groupId,
GroupInfo *info)
const;
199 bool detail_ReadGroupItemInfo(ulong groupId, ulong index,
202 ulong detail_GetFileCount()
const;
203 bool detail_ReadFileInfo(ulong fileId,
FileInfo *info)
const;
204 bool detail_ReadFilePos(ulong fileId, ulong index,
FilePos *info)
const;
209 int bufferSize)
const;
210 ut::FileStream* detail_OpenGroupWaveDataStream(ulong
id,
void* pBuffer,
211 int bufferSize)
const;
213 void SetExternalFileRoot(
const char* pExtFileRoot);
217 char const *extFilePath, ulong begin,
222 static int const FILE_PATH_MAX = 255;
223 static ulong
const INVALID_ID = -1;
229 char mExtFileRoot[FILE_PATH_MAX + 1];