| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <basis/seadTypes.h> |
| 4 | |
| 5 | namespace al { |
| 6 | class IUseAudioKeeper; |
| 7 | class IUseMessageSystem; |
| 8 | |
| 9 | class TalkMessageVoicePlayer { |
| 10 | public: |
| 11 | TalkMessageVoicePlayer(); |
| 12 | |
| 13 | void start(const IUseMessageSystem*, const IUseAudioKeeper*, const char16*, s32); |
| 14 | void stop(); |
| 15 | void update(); |
| 16 | f32 calcVoicePitch(s32) const; |
| 17 | bool isPlaying() const; |
| 18 | |
| 19 | void set_420(bool value) { _420 = value; } |
| 20 | |
| 21 | private: |
| 22 | unsigned char padding1[0x420]; |
| 23 | bool _420; |
| 24 | unsigned char padding2[0x1f]; |
| 25 | }; |
| 26 | |
| 27 | static_assert(sizeof(TalkMessageVoicePlayer) == 0x440); |
| 28 | |
| 29 | } // namespace al |
| 30 |