2021-03-28 22:49:05 +02:00
|
|
|
#ifndef Z2SOUNDINFO_H
|
|
|
|
|
#define Z2SOUNDINFO_H
|
|
|
|
|
|
2023-07-12 10:59:33 +03:00
|
|
|
#include "JSystem/JAudio2/JAISoundInfo.h"
|
2023-09-15 05:20:09 -07:00
|
|
|
#include "JSystem/JAudio2/JAIStreamDataMgr.h"
|
|
|
|
|
#include "JSystem/JAudio2/JAUSoundInfo.h"
|
2021-03-28 22:49:05 +02:00
|
|
|
|
2023-09-15 05:20:09 -07:00
|
|
|
class Z2SoundInfo : public JAISoundInfo, public JAUSoundInfo, public JAIStreamDataMgr, public JASGlobalInstance<Z2SoundInfo> {
|
|
|
|
|
public:
|
|
|
|
|
Z2SoundInfo() : JAISoundInfo(true), JAUSoundInfo(true), JASGlobalInstance<Z2SoundInfo>(true) {}
|
2024-01-13 15:41:29 +02:00
|
|
|
/* 802BB448 */ virtual u16 getAudibleSw(JAISoundID) const;
|
2023-09-15 05:20:09 -07:00
|
|
|
/* 802BB00C */ virtual u16 getBgmSeqResourceID(JAISoundID) const;
|
|
|
|
|
/* 802BBA88 */ virtual s32 getStreamFileEntry(JAISoundID);
|
2024-01-30 19:08:37 -05:00
|
|
|
/* 802BB090 */ virtual int getSoundType(JAISoundID) const;
|
2023-09-15 05:20:09 -07:00
|
|
|
/* 802BB0D8 */ virtual int getCategory(JAISoundID) const;
|
|
|
|
|
/* 802BB0E0 */ virtual u32 getPriority(JAISoundID) const;
|
|
|
|
|
/* 802BB6DC */ virtual void getSeInfo(JAISoundID, JAISe*) const;
|
|
|
|
|
/* 802BB8B4 */ virtual void getSeqInfo(JAISoundID, JAISeq*) const;
|
|
|
|
|
/* 802BB8E0 */ virtual void getStreamInfo(JAISoundID, JAIStream*) const;
|
2024-10-16 22:41:21 +03:00
|
|
|
/* 802BBBE0 */ virtual ~Z2SoundInfo() {}
|
2023-09-15 05:20:09 -07:00
|
|
|
|
2024-01-13 15:41:29 +02:00
|
|
|
/* 802BB158 */ JAUAudibleParam getAudibleSwFull(JAISoundID);
|
2023-09-15 05:20:09 -07:00
|
|
|
/* 802BBA10 */ const char* getStreamFilePath(JAISoundID);
|
|
|
|
|
/* 802BBAC8 */ int getSwBit(JAISoundID) const;
|
|
|
|
|
/* 802BBB48 */ void getSoundInfo_(JAISoundID, JAISound*) const;
|
2021-09-30 07:13:49 -07:00
|
|
|
};
|
|
|
|
|
|
2024-01-13 15:41:29 +02:00
|
|
|
|
2023-08-30 02:43:28 +03:00
|
|
|
inline Z2SoundInfo* Z2GetSoundInfo() {
|
|
|
|
|
return JASGlobalInstance<Z2SoundInfo>::getInstance();
|
|
|
|
|
}
|
|
|
|
|
|
2021-03-28 22:49:05 +02:00
|
|
|
#endif /* Z2SOUNDINFO_H */
|